aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/registration/base_admin.html3
-rw-r--r--templates/registration/base_client.html3
2 files changed, 2 insertions, 4 deletions
diff --git a/templates/registration/base_admin.html b/templates/registration/base_admin.html
index c24255b..edc3bae 100644
--- a/templates/registration/base_admin.html
+++ b/templates/registration/base_admin.html
@@ -95,7 +95,7 @@
<li><a class="modal-trigger" href="#modal_capi"><i class="material-icons">list</i>Lista documenti</a></li>
{% endif %}
- <li><a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i>Logout</a></li>
+ <li><a onclick="switcher_submit('logout')"><i class="material-icons">exit_to_app</i>Logout</a></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>
@@ -105,7 +105,6 @@
<li><a onclick="switcher_submit('s{{username}}')">{{username}}</a></li>
{% endif %}
{% endfor %}
- <li class="divider" tabindex="-1"></li>
<li><a onclick="switcher_submit('new')"><i class="material-icons">person_add</i>Aggiungi un altro utente</a></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index c2483b8..c4e62b6 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -119,7 +119,7 @@
<li><a class="modal-trigger" href="#modal_capi"><i class="material-icons">list</i>Lista documenti</a></li>
{% endif %}
- <li><a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i>Logout</a></li>
+ <li><a onclick="switcher_submit('logout')"><i class="material-icons">exit_to_app</i>Logout</a></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>
@@ -129,7 +129,6 @@
<li><a onclick="switcher_submit('s{{username}}')">{{username}}</a></li>
{% endif %}
{% endfor %}
- <li class="divider" tabindex="-1"></li>
<li><a onclick="switcher_submit('new')"><i class="material-icons">person_add</i>Aggiungi un altro utente</a></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>