2021-05-28 13:51:23 +00:00
|
|
|
{% extends "base.html.j2" %}
|
|
|
|
{% from "admin/_breadcrumbs.html.j2" import breadcrumbs with context %}
|
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>
|
|
|
|
|
2021-12-02 10:16:06 +00:00
|
|
|
<div class="col s12 nopaque-ressource-list no-autoinit" data-ressource-type="User" id="users">
|
2020-10-23 08:17:14 +00:00
|
|
|
<div class="card">
|
2021-01-13 10:57:46 +00:00
|
|
|
<div class="card-content">
|
2020-10-23 08:17:14 +00:00
|
|
|
<div class="input-field">
|
|
|
|
<i class="material-icons prefix">search</i>
|
|
|
|
<input id="search-user" class="search" type="text"></input>
|
|
|
|
<label for="search-user">Search user</label>
|
|
|
|
</div>
|
2021-12-02 10:16:06 +00:00
|
|
|
<table class="highlight">
|
2020-10-23 08:17:14 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2021-12-03 11:01:50 +00:00
|
|
|
<th>Id</th>
|
|
|
|
<th>Username</th>
|
|
|
|
<th>Email</th>
|
|
|
|
<th>Last seen</th>
|
|
|
|
<th>Role</th>
|
2021-01-13 10:57:46 +00:00
|
|
|
<th></th>
|
2020-10-23 08:17:14 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2020-11-04 13:54:27 +00:00
|
|
|
<tbody class="list"></tbody>
|
2020-10-23 08:17:14 +00:00
|
|
|
</table>
|
2021-01-13 10:57:46 +00:00
|
|
|
<ul class="pagination"></ul>
|
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>
|
2021-12-02 10:16:06 +00:00
|
|
|
let userList = new UserList(document.querySelector('#users'));
|
2021-11-30 15:22:16 +00:00
|
|
|
userList.init({{ dict_users|tojson }});
|
2020-10-23 08:17:14 +00:00
|
|
|
</script>
|
|
|
|
{% endblock scripts %}
|