introduce db, some changes to UI

This commit is contained in:
Pavol Rusnak 2011-06-19 02:22:08 +02:00
parent 57f8f51b4f
commit e3c99305cc
17 changed files with 151 additions and 18 deletions

View file

@ -1,5 +1,13 @@
{% extends "base.html" %}
{% block title %}Welcome{% endblock %}
{% block content %}
welcome
{% for item in items %}
<div class="block">
<img src="/static/items/{{ item.code|safe }}.jpg"><br/>
{{ item.name|safe }}<br/>
<strong>{{ item.price }} Kc</strong>
</div>
{% endfor %}
{% endblock %}