nopaque/app/templates/admin/admin.html.j2

29 lines
750 B
Plaintext
Raw Normal View History

{% extends "full_width.html.j2" %}
{% block page_content %}
<div class="col s12">
2019-09-09 13:02:17 +00:00
<div class="card">
<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>
</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>
{% endblock %}