aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/templates/accounts/index.html39
-rw-r--r--accounts/templates/accounts/terms.html10
2 files changed, 17 insertions, 32 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html
index 2c06113..9a1f873 100644
--- a/accounts/templates/accounts/index.html
+++ b/accounts/templates/accounts/index.html
@@ -1,28 +1,17 @@
-{% extends 'registration/base_custom.html' %}
-
-{% block title %}Home{% endblock %}
-
-{%block nav%}
- <nav class="nav-extended">
- <div class="nav-wrapper teal">
- <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a>
- <a href="#!" class="breadcrumb hide-on-med-and-down">Account</a>
- <ul class="right">
- {% if user.is_staff or perms.client.staff %}
- <li><a href="{% url 'server' %}">Pannello Admin</a></li>
- {% endif %}
- <li><a href="{% url 'personal' %}">{{ user.username }}</a></li>
- <li><a class="tooltipped" data-position="bottom" data-tooltip="Informazioni" href="{% url 'about' %}"><i class="material-icons">info_outline</i></a></li>
- <li><a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i></a></li>
- </ul>
- </div>
- <div class="nav-content teal">
- <ul class="tabs tabs-transparent">
- <li class="tab"><a class="active" href="#personal">Info Personali</a></li>
- <li class="tab"><a href="#medic">Info Mediche</a></li>
- </ul>
- </div>
- </nav>
+{% extends 'registration/base_client.html' %}
+
+{% block title %}Profilo{% endblock %}
+
+{% block breadcrumb %}
+ <a class="breadcrumb hide-on-med-and-down">Account</a>
+{% endblock %}
+{% block toolbar %}
+ <div class="nav-content teal">
+ <ul class="tabs tabs-transparent">
+ <li class="tab"><a class="active" href="#personal">Info Personali</a></li>
+ <li class="tab"><a href="#medic">Info Mediche</a></li>
+ </ul>
+ </div>
{% endblock%}
{% block content %}
diff --git a/accounts/templates/accounts/terms.html b/accounts/templates/accounts/terms.html
index 7a7b461..8b4443b 100644
--- a/accounts/templates/accounts/terms.html
+++ b/accounts/templates/accounts/terms.html
@@ -1,10 +1,9 @@
{% extends 'registration/base_client.html' %}
-{% block title %}About{% endblock %}
+{% block title %}Termini e condizioni{% endblock %}
-{%block nav%}
- <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a>
- <a href="!#" class="breadcrumb hide-on-med-and-down">Termini e condizioni</a>
+{%block breadcrumb %}
+ <a class="breadcrumb hide-on-med-and-down">Termini e condizioni</a>
{% endblock%}
{% block content %}
@@ -21,7 +20,4 @@
</div>
</div>
</div>
-{% endblock %}
-
-{% block script %}
{% endblock %} \ No newline at end of file