s3lph
67e2a813d5
feat: split user settings and admin settings fix: list user tokens in admin user settings feat!: remove osk, osk should be provided by kiosk browser
27 lines
792 B
HTML
27 lines
792 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block main %}
|
|
|
|
<div class="row itemlist">
|
|
{% for user in users %}
|
|
{# Show an item per user, consisting of the username, and the avatar, linking to the touchkey login #}
|
|
<div class="col-sm-1 g-4">
|
|
<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>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
{{ super() }}
|
|
|
|
{% endblock %}
|
|
|
|
{% block eanwebsocket %}
|
|
document.location = "/?ean=" + e.data;
|
|
{% endblock %}
|