aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
Diffstat (limited to 'server/templates')
-rw-r--r--server/templates/server/doc_list.html20
-rw-r--r--server/templates/server/doc_type.html20
-rw-r--r--server/templates/server/index.html14
-rw-r--r--server/templates/server/user_list.html8
4 files changed, 22 insertions, 40 deletions
diff --git a/server/templates/server/doc_list.html b/server/templates/server/doc_list.html
index fb201d5..3953905 100644
--- a/server/templates/server/doc_list.html
+++ b/server/templates/server/doc_list.html
@@ -145,25 +145,19 @@
<br>
<br>
{% endif %}
- <ul class="collapsible">
+ <ul class="collection">
{% if doc.0.status == 'ok' or doc.0.status == 'archive' %}
- <li>
- <div class="collapsible-header">
- <i class="material-icons">confirmation_number</i>{{doc.0.code}}
- </div>
+ <li class="collection-item">
+ <i class="material-icons left">confirmation_number</i>{{doc.0.code}}
</li>
{% endif %}
{% if doc.0.document_type.custom_group %}
- <li>
- <div class="collapsible-header">
- <i class="material-icons">group_work</i>{{doc.0.group.name}}
- </div>
+ <li class="collection-item">
+ <i class="material-icons left">group_work</i>{{doc.0.group.name}}
</li>
{% endif %}
- <li>
- <div class="collapsible-header">
- <i class="material-icons">send</i>{{doc.0.compilation_date}}
- </div>
+ <li class="collection-item">
+ <i class="material-icons left">send</i>{{doc.0.compilation_date}}
</li>
</ul>
<ul class="collapsible">
diff --git a/server/templates/server/doc_type.html b/server/templates/server/doc_type.html
index 82adf83..d102664 100644
--- a/server/templates/server/doc_type.html
+++ b/server/templates/server/doc_type.html
@@ -160,26 +160,20 @@
<span class="new badge red lighten-1" data-badge-caption="">{{doctype.2}}</span>
</div>
<div class="collapsible-body"><span>
- <ul class="collapsible">
+ <ul class="collection">
{% if not doctype.0.group_private %}
- <li>
- <div class="collapsible-header">
- <i class="material-icons">group_work</i>{{doctype.0.group.name}}
- </div>
+ <li class="collection-item">
+ <i class="material-icons left">group_work</i>{{doctype.0.group.name}}
</li>
{% endif %}
{% if doctype.0.personal_data %}
- <li>
- <div class="collapsible-header">
- <i class="material-icons">person</i>Dati personali
- </div>
+ <li class="collection-item">
+ <i class="material-icons left">person</i>Dati personali
</li>
{% endif %}
{% if doctype.0.medical_data %}
- <li>
- <div class="collapsible-header">
- <i class="material-icons">healing</i>Dati medici
- </div>
+ <li class="collection-item">
+ <i class="material-icons left">healing</i>Dati medici
</li>
{% endif %}
</ul>
diff --git a/server/templates/server/index.html b/server/templates/server/index.html
index a049f4f..57cfc83 100644
--- a/server/templates/server/index.html
+++ b/server/templates/server/index.html
@@ -18,8 +18,6 @@
<th>Username</th>
<th>Nome</th>
<th>Cognome</th>
- <th>Codice</th>
- <th>Stato</th>
</tr>
{% for user in users %}
<tr>
@@ -40,22 +38,20 @@
<div class="col l6 s12">
<div class="card large">
<div class="card-content">
- <ul class="collapsible">
+ <ul class="collection">
{% for doctype in docs %}
- <li>
- <div class="collapsible-header">
+ <li class="collection-item">
{% if not doctype.0.enabled %}
- <i class="material-icons">visibility_off</i>
+ <i class="material-icons left">visibility_off</i>
{% endif %}
{% if not doctype.0.group_private %}
- <i class="material-icons">public</i>
+ <i class="material-icons left">public</i>
{% endif %}
{% if doctype.0.auto_sign %}
- <i class="material-icons">assignment_turned_in</i>
+ <i class="material-icons left">assignment_turned_in</i>
{% endif %}
{{doctype.0.name}}
<span class="new badge red lighten-1" data-badge-caption="">{{doctype.1}}</span>
- </div>
{% endfor %}
</ul>
</div>
diff --git a/server/templates/server/user_list.html b/server/templates/server/user_list.html
index 1010bd4..26e4b11 100644
--- a/server/templates/server/user_list.html
+++ b/server/templates/server/user_list.html
@@ -67,11 +67,9 @@
<a class="waves-effect waves-light btn red lighten-1 modal-trigger" href="#modal{{user.0.id}}"><i class="material-icons left">remove_circle_outline</i>Deapprova utente</a>
<br><br>
{% endif %}
- <ul class="collapsible">
- <li>
- <div class="collapsible-header">
- <i class="material-icons">confirmation_number</i>U{{user.1.code}}
- </div>
+ <ul class="collection">
+ <li class="collection-item">
+ <i class="material-icons left">confirmation_number</i>U{{user.1.code}}
</li>
</ul>
<ul class="collapsible">