aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates/server/user_list.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/templates/server/user_list.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/server/templates/server/user_list.html b/server/templates/server/user_list.html
new file mode 100644
index 0000000..daf7303
--- /dev/null
+++ b/server/templates/server/user_list.html
@@ -0,0 +1,36 @@
+{% extends 'registration/base.html' %}
+
+{% block title %}Admin - Lista Utenti{% endblock %}
+
+{% block nav %}
+<nav>
+ <div class="nav-wrapper">
+ <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a>
+ <a href="{% url 'server'%}" class="breadcrumb">Admin</a>
+ <a href="#!" class="breadcrumb">Lista Utenti</a>
+ <ul class="right hide-on-med-and-down">
+ <li>{{ user.username}}</li>
+ <li><a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i></a></li>
+ </ul>
+ </div>
+</nav>
+{% endblock %}
+
+{% block content %}
+<table>
+ <tr>
+ <th>Username</th>
+ <th>Nome</th>
+ <th>Cognome</th>
+ <th>Codice</th>
+ <th>Stato</th>
+ </tr>
+ {% for user in users %}
+ <tr>
+ {% for att in user %}
+ <td>{{att}}</td>
+ {% endfor %}
+ </tr>
+ {% endfor %}
+</table>
+{% endblock %} \ No newline at end of file