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>
|
|
|
|
{{ table }}
|
|
|
|
<ul class="pagination paginationBottom"></ul>
|
2019-11-15 10:45:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
2020-01-17 13:31:14 +00:00
|
|
|
var options = {page: 10,
|
2020-06-10 12:25:57 +00:00
|
|
|
pagination: [
|
|
|
|
{
|
|
|
|
name: "paginationTop",
|
|
|
|
paginationClass: "paginationTop",
|
|
|
|
innerWindow: 8,
|
|
|
|
outerWindow: 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
paginationClass: "paginationBottom",
|
|
|
|
innerWindow: 8,
|
|
|
|
outerWindow: 1
|
|
|
|
}
|
|
|
|
],
|
2019-11-15 10:45:04 +00:00
|
|
|
valueNames: ['username', 'email', 'role', 'confirmed', 'id']};
|
2020-01-20 08:49:39 +00:00
|
|
|
var userList = new List('users', options);
|
2019-11-15 10:45:04 +00:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|