2019-10-24 11:13:34 +00:00
|
|
|
{% extends "full_width.html.j2" %}
|
2019-07-09 13:41:16 +00:00
|
|
|
|
|
|
|
{% block page_content %}
|
|
|
|
<div class="col s12">
|
2019-09-09 13:02:17 +00:00
|
|
|
<div class="card">
|
2019-07-09 13:41:16 +00:00
|
|
|
<div class="card-content">
|
|
|
|
<span class="card-title">User list</span>
|
2019-08-08 14:06:41 +00:00
|
|
|
<div id="users">
|
|
|
|
<div class="input-field">
|
|
|
|
<i class="material-icons prefix">search</i>
|
|
|
|
<input id="search-corpus" class="search" type="text"></input>
|
|
|
|
<label for="search-corpus">Search users</label>
|
|
|
|
</div>
|
|
|
|
{{ table }}
|
|
|
|
<ul class="pagination"></ul>
|
|
|
|
</div>
|
2019-07-09 13:41:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-08-08 14:06:41 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
var options = {
|
2019-09-09 13:02:17 +00:00
|
|
|
valueNames: ['username', 'email', 'role', 'confirmed', 'id'],
|
|
|
|
page: 10,
|
2019-08-08 14:06:41 +00:00
|
|
|
pagination: true
|
|
|
|
};
|
|
|
|
var userList = new List('users', options);
|
|
|
|
</script>
|
2019-07-09 13:41:16 +00:00
|
|
|
{% endblock %}
|