{% extends "base.html" %}
{% block header %}
{# Show the username. #}
Welcome, {{ authuser.name }}
{{ super() }}
{% endblock %}
{% block main %}
{# Show the users current balance #}
Your balance: {{ authuser.balance|chf }}
{# Links to deposit two common amounts of cash. TODO: Will be replaced by a nicer UI later (#20) #}
Deposit CHF 1 Deposit CHF 10
{% for product in products %}
{# Show an item per product, consisting of the name, image, price and stock, triggering a purchase on click #}