22 lines
664 B
HTML
22 lines
664 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block main %}
|
|
{{ user|default("") }}
|
|
<ul>
|
|
{% if user is defined %}
|
|
{% for l in list %}
|
|
<li/> <b>{{ l.name }}</b>
|
|
{% if user.is_member %}
|
|
{{ l.price_member }}
|
|
{% else %}
|
|
{{ l.price_non_member }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% else %}
|
|
{% for l in list %}
|
|
<li/> <b><a href="/touchkey?username={{ l.name }}">{{ l.name }}</a></b>
|
|
{% endfor %}
|
|
<li/> <a href="/login">Password login</a>
|
|
{% endif %}
|
|
</ul>
|
|
{% endblock %}
|