2021-05-28 13:51:23 +00:00
|
|
|
{% extends "base.html.j2" %}
|
2021-01-13 10:57:46 +00:00
|
|
|
|
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">
|
2021-01-13 10:57:46 +00:00
|
|
|
<div class="card-content">
|
2023-01-09 07:45:47 +00:00
|
|
|
<div class="admin-user-list no-autoinit" id="admin-user-list"></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() }}
|
2021-01-13 10:57:46 +00:00
|
|
|
<script>
|
2023-01-09 07:45:47 +00:00
|
|
|
let adminUserListElement = document.querySelector('#admin-user-list');
|
2023-10-11 14:20:17 +00:00
|
|
|
let adminUserList = new ResourceLists.AdminUserList(adminUserListElement);
|
2023-03-23 16:42:51 +00:00
|
|
|
adminUserList.add(
|
|
|
|
[
|
|
|
|
{% for user in users %}
|
2023-03-28 12:11:46 +00:00
|
|
|
{{ user.to_json_serializeable(backrefs=True)|tojson }},
|
2023-03-23 16:42:51 +00:00
|
|
|
{% endfor %}
|
|
|
|
]
|
|
|
|
);
|
2020-10-23 08:17:14 +00:00
|
|
|
</script>
|
|
|
|
{% endblock scripts %}
|