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 /client | |
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 'client')
-rw-r--r-- | client/templates/client/about.html | 8 | ||||
-rw-r--r-- | client/templates/client/approve.html | 11 | ||||
-rw-r--r-- | client/templates/client/doc_create.html | 3 | ||||
-rw-r--r-- | client/templates/client/doc_edit.html | 3 | ||||
-rw-r--r-- | client/templates/client/index.html | 5 |
5 files changed, 6 insertions, 24 deletions
diff --git a/client/templates/client/about.html b/client/templates/client/about.html index 8de95a9..3d87d8d 100644 --- a/client/templates/client/about.html +++ b/client/templates/client/about.html @@ -2,9 +2,8 @@ {% block title %}About{% endblock %} -{%block nav%} - <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a> - <a href="!#" class="breadcrumb hide-on-med-and-down">Informazioni</a> +{%block breadcrumb%} + <a class="breadcrumb hide-on-med-and-down">Informazioni</a> {% endblock%} {% block content %} @@ -90,7 +89,4 @@ </div> </div> </div> -{% endblock %} - -{% block script %} {% endblock %}
\ No newline at end of file diff --git a/client/templates/client/approve.html b/client/templates/client/approve.html index 3da2677..785e719 100644 --- a/client/templates/client/approve.html +++ b/client/templates/client/approve.html @@ -2,9 +2,8 @@ {% block title %}Approva{% endblock %} -{% block nav %} - <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a> - <a href="{% url 'approve' %}" class="breadcrumb hide-on-med-and-down">Approva</a> +{% block breadcrumb %} + <a class="breadcrumb hide-on-med-and-down">Approva</a> {% endblock %} {% block content %} @@ -30,10 +29,4 @@ </div> </div> {% endif %} -{% endblock %} - -{% block script %} -$(document).ready(function(){ - $('.tooltipped').tooltip(); -}); {% endblock %}
\ No newline at end of file diff --git a/client/templates/client/doc_create.html b/client/templates/client/doc_create.html index 82d23ff..33aeb96 100644 --- a/client/templates/client/doc_create.html +++ b/client/templates/client/doc_create.html @@ -2,8 +2,7 @@ {% block title %}Crea Documento{% endblock %} -{% block nav %} - <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a> +{% block breadcrumb %} <a href="#!" class="breadcrumb hide-on-med-and-down">Crea Documento</a> {% endblock %} diff --git a/client/templates/client/doc_edit.html b/client/templates/client/doc_edit.html index 3c97eee..e969013 100644 --- a/client/templates/client/doc_edit.html +++ b/client/templates/client/doc_edit.html @@ -2,8 +2,7 @@ {% block title %}Modifica documento{% endblock %} -{% block nav %} - <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a> +{% block breadcrumb %} <a href="#!" class="breadcrumb hide-on-med-and-down">Modifica Documento</a> {% endblock %} diff --git a/client/templates/client/index.html b/client/templates/client/index.html index 20ce2d3..33cf493 100644 --- a/client/templates/client/index.html +++ b/client/templates/client/index.html @@ -2,10 +2,6 @@ {% block title %}Home{% endblock %} -{%block nav%} - <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a> -{% endblock%} - {% block content %} <div class="tap-target teal" data-target="add"> <div class="tap-target-content"> @@ -378,7 +374,6 @@ {% block script %} $(document).ready(function(){ - $('.tooltipped').tooltip(); {% if user.is_authenticated %} {% if user.is_staff or perms.client.approved %} $('.collapsible').collapsible(); |