aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates/server/approve_user.html
diff options
context:
space:
mode:
Diffstat (limited to 'server/templates/server/approve_user.html')
-rw-r--r--server/templates/server/approve_user.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/server/templates/server/approve_user.html b/server/templates/server/approve_user.html
new file mode 100644
index 0000000..ae9dc8b
--- /dev/null
+++ b/server/templates/server/approve_user.html
@@ -0,0 +1,34 @@
+{% extends 'registration/base.html' %}
+
+{% block title %}Admin - Approva Utente{% 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">Approva Utente</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 %}
+<p>Inserire un codice per riga</p>
+<ul class="collection">
+{% for i in messages %}
+ <li class="collection-item">{{ i }}</li>
+{% endfor %}
+</ul>
+<form action="{% url 'uapprove'%}" method="post">
+ {% csrf_token %}
+ <textarea name="codes" class="materialize-textarea"></textarea>
+ <br><br>
+ <button type="submit" class="btn waves-effect waves-light">Invia
+ <i class="material-icons right">send</i>
+ </button>
+</form>
+{% endblock %} \ No newline at end of file