matemat/templates/userlist.html

23 lines
551 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block header %}
<h1>Welcome</h1>
{{ super() }}
{% endblock %}
{% block main %}
{% for user in users %}
<div class="thumblist-item">
<a href="/touchkey?uid={{ user.id }}&username={{ user.name }}">
<span class="thumblist-title">{{ user.name }}</span><br/>
<div class="imgcontainer">
<img src="/img/thumbnails/users/{{ user.id }}.png" alt="Avatar of {{ user.name }}" />
</div>
</a>
</div>
{% endfor %}
<br/>
<a href="/login">Password-based login</a>
{{ super() }}
{% endblock %}