aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates/server/approve_user.html
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-06-20 15:55:28 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-06-20 15:55:28 +0200
commitccc5d1f1b2cb4b5e2a95b97bbd1a5760ce585f08 (patch)
tree6912e8d96bce8bdf7782c7877a7a0928560c7a1a /server/templates/server/approve_user.html
parentDocument support (diff)
downloadscout-subs-ccc5d1f1b2cb4b5e2a95b97bbd1a5760ce585f08.tar.gz
scout-subs-ccc5d1f1b2cb4b5e2a95b97bbd1a5760ce585f08.zip
Document custom field
Diffstat (limited to 'server/templates/server/approve_user.html')
-rw-r--r--server/templates/server/approve_user.html51
1 files changed, 34 insertions, 17 deletions
diff --git a/server/templates/server/approve_user.html b/server/templates/server/approve_user.html
index 126c0b9..9d4b36c 100644
--- a/server/templates/server/approve_user.html
+++ b/server/templates/server/approve_user.html
@@ -3,24 +3,41 @@
{% block title %}Admin - Approva Utente{% endblock %}
{% block nav %}
- <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a>
- <a href="{% url 'server'%}" class="breadcrumb hide-on-med-and-down">Admin</a>
- <a href="#!" class="breadcrumb hide-on-med-and-down">Approva Utente</a>
+ <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a>
+ <a href="{% url 'server'%}" class="breadcrumb hide-on-med-and-down">Admin</a>
+ <a href="{% url 'uapprove'%}" class="breadcrumb hide-on-med-and-down">Approva Utente</a>
{% 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>
+
+{% if not empty %}
+ <div class="row">
+ <div class="col l4 offset-l4 m8 offset-m2 s12">
+ <div class="card">
+ <ul class="collection">
+ {% for i in messages %}
+ <li class="collection-item">{{ i }}</li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+{% endif %}
+
+<div class="row">
+ <div class="col l4 offset-l4 m8 offset-m2 s12">
+ <div class="card">
+ <form id="form" action="{% url 'uapprove'%}" method="post">
+ {% csrf_token %}
+ <div class="card-content">
+ <p>Inserire un codice per riga</p>
+ <textarea name="codes" class="materialize-textarea"></textarea>
+ </div>
+ <div class="card-action">
+ <a href="#" onclick="document.getElementById('form').submit()">Invia</a>
+ </div>
+ </form>
+ </div>
+ </div>
+</div>
{% endblock %} \ No newline at end of file