nopaque/app/templates/admin/users.html.j2

29 lines
655 B
Plaintext
Raw Normal View History

{% extends "base.html.j2" %}
{% from "admin/_breadcrumbs.html.j2" import breadcrumbs with context %}
2020-10-23 08:17:14 +00:00
{% block page_content %}
<div class="container">
<div class="row">
<div class="col s12">
2020-10-23 08:26:36 +00:00
<h1 id="title">{{ title }}</h1>
2020-10-23 08:17:14 +00:00
</div>
2022-09-02 11:07:30 +00:00
<div class="col s12">
2020-10-23 08:17:14 +00:00
<div class="card">
<div class="card-content">
2022-09-02 11:07:30 +00:00
<div class="user-list no-autoinit"></div>
2020-10-23 08:17:14 +00:00
</div>
</div>
</div>
</div>
</div>
2021-12-01 13:15:20 +00:00
{% endblock page_content %}
2020-10-23 08:17:14 +00:00
{% block scripts %}
{{ super() }}
<script>
2022-09-02 11:07:30 +00:00
let userList = new UserList(document.querySelector('.user-list'));
2023-01-04 19:00:37 +00:00
userList.add({{ json_users|tojson }});
2020-10-23 08:17:14 +00:00
</script>
{% endblock scripts %}