Adds login and logout and some buttons.

This commit is contained in:
nikolark committed 2012-01-05 22:54:51 +01:00
1 parent 96bacb586d
commit 59bf27b5ab
8 files changed
+94 -19

No files matched your search

+1 -17
View File
@@ -4,21 +4,5 @@
{%endblock%}
{%block content%}
<section id="register">
<div id="user">
Selg til:
{% for user in users %}
  <button id="{{ user }}">{{ user }}</button>
{% endfor %}
</div>
<div id="products">
Vi selger:<br />
{% for product in products %}
  <button id="{{ product.id }}">+ {{ product.name }}</button>
  <button id="{{ product.id }}">- {{ product.name }}</button>
{% endfor %}
</div>
<div id="total">Totalt: <span class="total_text"></span></div>
  <button id="submit">Kjøp</button>
</section>
<a href="/register/">Kasse</a>
{%endblock%}