mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
34 lines
1.1 KiB
Django/Jinja
34 lines
1.1 KiB
Django/Jinja
{% 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>
|
|
<ul class="pagination paginationTop"></ul>
|
|
{{ table }}
|
|
<ul class="pagination paginationBottom"></ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
var options = {page: 10,
|
|
pagination: [{
|
|
name: "paginationTop",
|
|
paginationClass: "paginationTop",
|
|
}, {
|
|
paginationClass: "paginationBottom",
|
|
}],
|
|
valueNames: ['username', 'email', 'role', 'confirmed', 'id']};
|
|
var userList = new List('user-list', options);
|
|
</script>
|
|
{% endblock %}
|