diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-08-31 13:46:00 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-08-31 13:46:00 +0200 |
commit | c46671ed9306eebb66322487ab600e070b2a81c6 (patch) | |
tree | 9fb917db87c003642f94c459a172fe36b19fea82 /accounts/templates | |
parent | dynamicaly check for commit id (diff) | |
download | scout-subs-c46671ed9306eebb66322487ab600e070b2a81c6.tar.gz scout-subs-c46671ed9306eebb66322487ab600e070b2a81c6.zip |
graghics improvement for mobile, and more modular
Diffstat (limited to '')
-rw-r--r-- | accounts/templates/accounts/index.html | 39 | ||||
-rw-r--r-- | accounts/templates/accounts/terms.html | 10 |
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 |