diff --git a/smash/web/templates/assignments/breadcrumb.html b/smash/web/templates/assignments/breadcrumb.html new file mode 100644 index 0000000000000000000000000000000000000000..d088d44908bbb382b9d60d0750f724f177a064e6 --- /dev/null +++ b/smash/web/templates/assignments/breadcrumb.html @@ -0,0 +1,2 @@ + <li><a href="{% url 'web.views.assignments' %}"><i class="fa fa-dashboard"></i> Dashboard</a></li> + <li class="active"><a href="{% url 'web.views.assignments' %}">Assignments</a></li> \ No newline at end of file diff --git a/smash/web/templates/assignments/index.html b/smash/web/templates/assignments/index.html index d31e32e2d2c9a78c2c9c9914debe208b6d17d79a..d6355e5c638394c193e986730171d726eba23232 100644 --- a/smash/web/templates/assignments/index.html +++ b/smash/web/templates/assignments/index.html @@ -15,9 +15,10 @@ {% block page_header %}Assignments{% endblock page_header %} {% block page_description %}{% endblock page_description %} -{% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Assignments</li> +{% block title %}{{ block.super }} - Assignments{% endblock %} + +{% block breadcrumb %} +{% include "assignments/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/doctors/add.html b/smash/web/templates/doctors/add.html index a992ed3d1fcc9bfc4984646bce0ad09b94a11e86..29cdbdbfb9193978898e0c60b4c3012779c42df3 100644 --- a/smash/web/templates/doctors/add.html +++ b/smash/web/templates/doctors/add.html @@ -12,8 +12,7 @@ {% block page_description %}adding{% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Workers</li> +{% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/doctors/availdelete.html b/smash/web/templates/doctors/availdelete.html index 3ce291566dd852c5f43fe1be65b03cd0e8056959..932ac30c63a20014d2006c3cd6f6788a0b532d71 100644 --- a/smash/web/templates/doctors/availdelete.html +++ b/smash/web/templates/doctors/availdelete.html @@ -12,8 +12,7 @@ {% block page_description %}avaibility{% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Avaibilities</a></li> - <li class="active">Workers</li> +{% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/doctors/availdex.html b/smash/web/templates/doctors/availdex.html index 3ce291566dd852c5f43fe1be65b03cd0e8056959..932ac30c63a20014d2006c3cd6f6788a0b532d71 100644 --- a/smash/web/templates/doctors/availdex.html +++ b/smash/web/templates/doctors/availdex.html @@ -12,8 +12,7 @@ {% block page_description %}avaibility{% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Avaibilities</a></li> - <li class="active">Workers</li> +{% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/doctors/breadcrumb.html b/smash/web/templates/doctors/breadcrumb.html new file mode 100644 index 0000000000000000000000000000000000000000..709191e4dbf9dc9436626a1f895b5ac314cb6b6e --- /dev/null +++ b/smash/web/templates/doctors/breadcrumb.html @@ -0,0 +1,2 @@ + <li><a href="{% url 'web.views.assignments' %}"><i class="fa fa-dashboard"></i> Dashboard</a></li> + <li class="active"><a href="{% url 'web.views.doctors' %}">Workers</a></li> \ No newline at end of file diff --git a/smash/web/templates/doctors/details.html b/smash/web/templates/doctors/details.html index 1600110c373866614eb46ed065eb4b1d76d1258c..3e8dab91763508e1ef6ad348164427d67a178162 100644 --- a/smash/web/templates/doctors/details.html +++ b/smash/web/templates/doctors/details.html @@ -12,8 +12,7 @@ {% block page_description %}details{% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Workers</li> +{% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/doctors/edit.html b/smash/web/templates/doctors/edit.html index 26b91e32c2839e25d312a492e110488970a48be9..b1929a559f787ccedbbd8f94f1dc30586c0e6658 100644 --- a/smash/web/templates/doctors/edit.html +++ b/smash/web/templates/doctors/edit.html @@ -12,8 +12,7 @@ {% block page_description %}editing{% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Workers</li> +{% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/doctors/index.html b/smash/web/templates/doctors/index.html index 427ea4b7e23077437c5c49501723439373146b55..fd1d0d7c444e1d42784cfa6f26b0c0eed645cc12 100644 --- a/smash/web/templates/doctors/index.html +++ b/smash/web/templates/doctors/index.html @@ -12,8 +12,7 @@ {% block page_description %}information{% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Workers</li> +{% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/eqdef/breadcrumb.html b/smash/web/templates/eqdef/breadcrumb.html new file mode 100644 index 0000000000000000000000000000000000000000..996d5f9feee0e43548fc28a00d3786fb3c926ef5 --- /dev/null +++ b/smash/web/templates/eqdef/breadcrumb.html @@ -0,0 +1,2 @@ +<li><a href="{% url 'web.views.assignments' %}"><i class="fa fa-dashboard"></i> Dashboard</a></li> + <li class="active"><a href="{% url 'web.views.equipment_def' %}">Equipment definitions</a></li> \ No newline at end of file diff --git a/smash/web/templates/eqdef/index.html b/smash/web/templates/eqdef/index.html index 4f84fd54756dab8d96c7f9af315c75d9f6ad26dc..03a0e24c4ff5fb70cc96ae15230bf8f7e71ca7da 100644 --- a/smash/web/templates/eqdef/index.html +++ b/smash/web/templates/eqdef/index.html @@ -12,8 +12,7 @@ {% block page_description %}{% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Equipment definitions</li> +{% include "eqdef/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/equipment_and_rooms/breadcrumb.html b/smash/web/templates/equipment_and_rooms/breadcrumb.html new file mode 100644 index 0000000000000000000000000000000000000000..93579eab4347b14923e333894b4b43afa09d07f7 --- /dev/null +++ b/smash/web/templates/equipment_and_rooms/breadcrumb.html @@ -0,0 +1,2 @@ +<li><a href="{% url 'web.views.assignments' %}"><i class="fa fa-dashboard"></i> Dashboard</a></li> + <li class="active"><a href="{% url 'web.views.equipment_and_rooms' %}">Equipment and rooms</a></li> \ No newline at end of file diff --git a/smash/web/templates/equipment_and_rooms/index.html b/smash/web/templates/equipment_and_rooms/index.html index 29148f99bf003f10153cdb074760bf7822de1f49..df28518d1d661e400d8e57b59bcadc7a2ab962f0 100644 --- a/smash/web/templates/equipment_and_rooms/index.html +++ b/smash/web/templates/equipment_and_rooms/index.html @@ -6,8 +6,7 @@ {% endblock page_description %} {% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Equipment and rooms</li> +{% include "equipment_and_rooms/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/templates/mail_templates/breadcrumb.html b/smash/web/templates/mail_templates/breadcrumb.html new file mode 100644 index 0000000000000000000000000000000000000000..8621be91ae65d3cbb8df5449db3828fc0c70bf42 --- /dev/null +++ b/smash/web/templates/mail_templates/breadcrumb.html @@ -0,0 +1,2 @@ +<li><a href="{% url 'web.views.assignments' %}"><i class="fa fa-dashboard"></i> Dashboard</a></li> + <li class="active"><a href="{% url 'web.views.mail_templates' %}">Mail templates</a></li> \ No newline at end of file diff --git a/smash/web/templates/mail_templates/index.html b/smash/web/templates/mail_templates/index.html index df8b0490e9fb28bce7561cba0edc9f0d444ee985..453afb8dd9e6b452976d8076307237604b855847 100644 --- a/smash/web/templates/mail_templates/index.html +++ b/smash/web/templates/mail_templates/index.html @@ -11,9 +11,8 @@ {% block page_header %}Mail templates{% endblock page_header %} {% block page_description %}{% endblock page_description %} -{% block breadcrumb %} - <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> - <li class="active">Mail templates</li> +{% block breadcrumb %} +{% include "mail_templates/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %}