2018-07-07 15:11:27 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block header %}
|
2018-07-23 00:19:41 +02:00
|
|
|
{# Show the setup name, as set in the config file, as page title. Don't escape HTML entities. #}
|
|
|
|
<h1>{{ setupname|safe }}</h1>
|
|
|
|
{{ super() }}
|
2018-07-07 15:11:27 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block main %}
|
2018-07-23 00:19:41 +02:00
|
|
|
|
|
|
|
{% for user in users %}
|
|
|
|
{# Show an item per user, consisting of the username, and the avatar, linking to the touchkey login #}
|
|
|
|
<div class="thumblist-item">
|
|
|
|
<a href="/touchkey?uid={{ user.id }}&username={{ user.name }}">
|
|
|
|
<span class="thumblist-title">{{ user.name }}</span><br/>
|
|
|
|
<div class="imgcontainer">
|
2023-03-25 22:51:57 +01:00
|
|
|
<img src="/static/upload/thumbnails/users/{{ user.id }}.png?cacheBuster={{ now }}" alt="Avatar of {{ user.name }}" draggable="false"/>
|
2018-07-23 00:19:41 +02:00
|
|
|
</div>
|
|
|
|
</a>
|
2018-07-11 15:32:07 +02:00
|
|
|
</div>
|
2018-07-23 00:19:41 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
{# Link to the password login #}
|
2023-12-22 19:57:51 +01:00
|
|
|
<div class="thumblist-item">
|
|
|
|
<a href="/login">Password login</a>
|
|
|
|
</div>
|
2022-07-17 00:12:16 +02:00
|
|
|
{% if signup %}
|
2023-12-22 19:57:51 +01:00
|
|
|
<div class="thumblist-item">
|
|
|
|
<a href="/signup">Create account</a>
|
|
|
|
</div>
|
2022-07-17 00:12:16 +02:00
|
|
|
{% endif %}
|
2018-07-23 00:19:41 +02:00
|
|
|
|
|
|
|
{{ super() }}
|
|
|
|
|
2018-07-07 15:11:27 +02:00
|
|
|
{% endblock %}
|