2020-02-07 14:21:59 +00:00
|
|
|
{% extends "nopaque.html.j2" %}
|
|
|
|
|
|
|
|
{% set full_width = True %}
|
2019-11-15 10:45:04 +00:00
|
|
|
|
|
|
|
{% block page_content %}
|
|
|
|
<div class="col s12">
|
2020-01-20 08:49:39 +00:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-content" id="users">
|
|
|
|
<span class="card-title">User list</span>
|
|
|
|
<div class="input-field">
|
|
|
|
<i class="material-icons prefix">search</i>
|
|
|
|
<input id="search-user" class="search" type="search"></input>
|
|
|
|
<label for="search-user">Search user</label>
|
2019-11-15 10:45:04 +00:00
|
|
|
</div>
|
2020-01-20 08:49:39 +00:00
|
|
|
<ul class="pagination paginationTop"></ul>
|
2020-07-07 14:06:09 +00:00
|
|
|
<table class="highlight responsive-table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="sort" data-sort="username">Username</th>
|
|
|
|
<th class="sort" data-sort="email">Email</th>
|
|
|
|
<th class="sort" data-sort="role_id">Role</th>
|
|
|
|
<th class="sort" data-sort="confirmed">Confirmed Status</th>
|
|
|
|
<th class="sort" data-sort="id">Id</th>
|
|
|
|
<th>{# Actions #}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody class="list">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-01-20 08:49:39 +00:00
|
|
|
<ul class="pagination paginationBottom"></ul>
|
2019-11-15 10:45:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-09-11 13:52:49 +00:00
|
|
|
<script type="module">
|
|
|
|
import {RessourceList} from '../../static/js/nopaque.lists.js';
|
|
|
|
let userList = new RessourceList('users', null, "User", RessourceList.options.extended);
|
|
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
|
|
userList._add({{ users|tojson|safe }});
|
|
|
|
});
|
2019-11-15 10:45:04 +00:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|