2018-07-07 15:11:27 +02:00
{% extends "base.html" %}
{% block main %}
2018-07-23 00:19:41 +02:00
2024-12-07 15:50:37 +01:00
< div class = "row itemlist" >
2018-07-23 00:19:41 +02:00
{% for user in users %}
2024-12-07 15:50:37 +01:00
{# Show an item per user, consisting of the username, and the avatar, linking to the touchkey login #}
2024-12-07 19:49:40 +01:00
< div class = "col-xl-1 col-md-2 col-sm-3 col-4 g-4 g-4" >
2024-12-07 15:50:37 +01:00
< a class = "card h-100 text-bg-light" href = "/touchkey?uid={{ user.id }}&username={{ user.name }}{% if buyproduct %}&buypid={{ buyproduct.id }}{% endif %}" >
< div class = "card-header" >
{{ user.name }}
< / div >
< img class = "card-img-bottom" src = "/static/upload/thumbnails/users/{{ user.id }}.png?cacheBuster={{ now }}" alt = "Avatar of {{ user.name }}" draggable = "false" / >
< / a >
< / div >
2018-07-23 00:19:41 +02:00
{% endfor %}
2024-12-07 15:50:37 +01:00
< / div >
2018-07-23 00:19:41 +02:00
2024-12-07 15:50:37 +01:00
< br / >
2018-07-23 00:19:41 +02:00
2024-12-07 15:50:37 +01:00
{{ super() }}
2018-07-23 00:19:41 +02:00
2024-11-25 23:29:30 +01:00
{% endblock %}
2024-11-23 09:48:53 +01:00
2024-11-25 23:29:30 +01:00
{% block eanwebsocket %}
2024-12-07 15:50:37 +01:00
document.location = "/?ean=" + e.data;
2018-07-07 15:11:27 +02:00
{% endblock %}