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

29 lines
743 B
Plaintext
Raw Normal View History

{% extends "base.html.j2" %}
{% block page_content %}
<div class="col s12">
<div class="card large">
<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 = {
valueNames: ['username', 'email', 'role', 'confirmed'],
page: 3,
pagination: true
};
var userList = new List('users', options);
</script>
{% endblock %}