2019-11-15 10:45:04 +00:00
|
|
|
{% extends "full_width.html.j2" %}
|
|
|
|
|
|
|
|
{% block page_content %}
|
|
|
|
<div class="col s12">
|
|
|
|
<div id="user-list">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-content">
|
|
|
|
<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="text"></input>
|
|
|
|
<label for="search-user">Search user</label>
|
|
|
|
</div>
|
2020-01-17 13:31:14 +00:00
|
|
|
<ul class="pagination paginationTop"></ul>
|
2019-11-15 10:45:04 +00:00
|
|
|
{{ table }}
|
2020-01-17 13:31:14 +00:00
|
|
|
<ul class="pagination paginationBottom"></ul>
|
2019-11-15 10:45:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
2020-01-17 13:31:14 +00:00
|
|
|
var options = {page: 10,
|
|
|
|
pagination: [{
|
|
|
|
name: "paginationTop",
|
|
|
|
paginationClass: "paginationTop",
|
|
|
|
}, {
|
|
|
|
paginationClass: "paginationBottom",
|
|
|
|
}],
|
2019-11-15 10:45:04 +00:00
|
|
|
valueNames: ['username', 'email', 'role', 'confirmed', 'id']};
|
|
|
|
var userList = new List('user-list', options);
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|