diff --git a/smash/web/templates/_base.html b/smash/web/templates/_base.html index 1262ad83813554c047e3da6042303642b1a911b8..14660bbaf560e38f7da47393987baae96866e822 100644 --- a/smash/web/templates/_base.html +++ b/smash/web/templates/_base.html @@ -454,7 +454,7 @@ desired effect $e.addClass("active"); }; - activate({% block page_title %}{% endblock page_title %}); + activate({% block ui_active_tab %}{% endblock ui_active_tab %}); </script> diff --git a/smash/web/templates/appointments/add.html b/smash/web/templates/appointments/add.html index 199bb1ffe262f91e49edb89664bd52d14c4a48dc..88ab083a0abc00cfcb314ac2bd63ee5308cfeee8 100644 --- a/smash/web/templates/appointments/add.html +++ b/smash/web/templates/appointments/add.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'appointments'{% endblock page_title %} +{% block ui_active_tab %}'appointments'{% endblock ui_active_tab %} {% block page_header %}New appointment{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/appointments/details.html b/smash/web/templates/appointments/details.html index aa62c2db75c4a55c7114b9396b2d8251fead4782..b08c51d0a0a1b388c2a12f97b075d00fd69924df 100644 --- a/smash/web/templates/appointments/details.html +++ b/smash/web/templates/appointments/details.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'appointments'{% endblock page_title %} +{% block ui_active_tab %}'appointments'{% endblock ui_active_tab %} {% block page_header %}Appointment's details{% endblock page_header %} {% block page_description %}details{% endblock page_description %} diff --git a/smash/web/templates/appointments/edit.html b/smash/web/templates/appointments/edit.html index 931a63f3c01c74f1c4624cdacee0a67065492907..218051834dde14be299cdae1732a89ed5f88a8fb 100644 --- a/smash/web/templates/appointments/edit.html +++ b/smash/web/templates/appointments/edit.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'appointments'{% endblock page_title %} +{% block ui_active_tab %}'appointments'{% endblock ui_active_tab %} {% block page_header %}Edit appointment{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/appointments/index.html b/smash/web/templates/appointments/index.html index 59bf99f683c49b280c3c3eb72156b6295d6ead40..d743a78d353469e78e931c2df8d476d1fcd2ecfd 100644 --- a/smash/web/templates/appointments/index.html +++ b/smash/web/templates/appointments/index.html @@ -11,7 +11,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/fullcalendar/fullcalendar.print.css' %}" media="print"> {% endblock styles %} -{% block page_title %}'appointments'{% endblock page_title %} +{% block ui_active_tab %}'appointments'{% endblock ui_active_tab %} {% block page_header %}Appointments{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/doctors/add.html b/smash/web/templates/doctors/add.html index a0b2b9a6431931f58c0731c6c9601d81140b43b5..07b4ff4b8dad351150281de94ac531409f4dddf3 100644 --- a/smash/web/templates/doctors/add.html +++ b/smash/web/templates/doctors/add.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/awesomplete/awesomplete.css' %}" /> {% endblock styles %} -{% block page_title %}'workers'{% endblock page_title %} +{% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block page_header %}New worker{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/doctors/availability_delete.html b/smash/web/templates/doctors/availability_delete.html index 84dc5846068426e97a75e3148e59a6e0e89719b4..accf25c0406706178d41ba8401b18ee9bf982f4a 100644 --- a/smash/web/templates/doctors/availability_delete.html +++ b/smash/web/templates/doctors/availability_delete.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'workers'{% endblock page_title %} +{% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block page_header %}Workers{% endblock page_header %} {% block page_description %}avaibility{% endblock page_description %} diff --git a/smash/web/templates/doctors/availability_index.html b/smash/web/templates/doctors/availability_index.html index 88372127fd36b4b112f927b398ccd66cb6f5110c..30264f0750a964c7fa27e95f33b7f70b269c7291 100644 --- a/smash/web/templates/doctors/availability_index.html +++ b/smash/web/templates/doctors/availability_index.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'workers'{% endblock page_title %} +{% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block page_header %}Workers{% endblock page_header %} {% block page_description %}avaibility{% endblock page_description %} diff --git a/smash/web/templates/doctors/details.html b/smash/web/templates/doctors/details.html index d2e3ed6b7ff865aea36756662058a056744f96be..78317e31e1175bc1314948716644947f18c5cccf 100644 --- a/smash/web/templates/doctors/details.html +++ b/smash/web/templates/doctors/details.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'workers'{% endblock page_title %} +{% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block page_header %}Worker details{% endblock page_header %} {% block page_description %}details{% endblock page_description %} diff --git a/smash/web/templates/doctors/edit.html b/smash/web/templates/doctors/edit.html index b50324016133a19f1b40bd14a5d7cd90829e1a7c..9cbb1d98582ad6f1bc94f39aa762aab2aa47491c 100644 --- a/smash/web/templates/doctors/edit.html +++ b/smash/web/templates/doctors/edit.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'workers'{% endblock page_title %} +{% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block page_header %}Edit worker{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/doctors/index.html b/smash/web/templates/doctors/index.html index 8e78740bbc509d3fbaf8b4b21d7166b9650213c5..9e166e58e737a6c9dac2884949099b95e3ae337f 100644 --- a/smash/web/templates/doctors/index.html +++ b/smash/web/templates/doctors/index.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'workers'{% endblock page_title %} +{% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block page_header %}Workers{% endblock page_header %} {% block page_description %}information{% endblock page_description %} diff --git a/smash/web/templates/eqdef/index.html b/smash/web/templates/eqdef/index.html index 03a0e24c4ff5fb70cc96ae15230bf8f7e71ca7da..d99df097d9a83bbc0bfad7310936b19a9c6ad04a 100644 --- a/smash/web/templates/eqdef/index.html +++ b/smash/web/templates/eqdef/index.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'eqdef'{% endblock page_title %} +{% block ui_active_tab %}'eqdef'{% endblock ui_active_tab %} {% block page_header %}Equipment definitions{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/equipment_and_rooms/index.html b/smash/web/templates/equipment_and_rooms/index.html index 286d3775d0692276a4660214813bb9a6a701e281..6c7a5f4fb99b8217171a0f4d0739cd09df2405e6 100644 --- a/smash/web/templates/equipment_and_rooms/index.html +++ b/smash/web/templates/equipment_and_rooms/index.html @@ -1,6 +1,6 @@ {% extends "_base.html" %} -{% block page_title %}'equipment_and_rooms'{% endblock page_title %} +{% block ui_active_tab %}'equipment_and_rooms'{% endblock ui_active_tab %} {% block page_header %}Equipment and rooms{% endblock page_header %} {% block page_description %} {% endblock page_description %} diff --git a/smash/web/templates/index.html b/smash/web/templates/index.html index 5c824cd38fa8af34c55ba4fd5424bfd7d60d7e1d..200a3fd423e67535662f778506885b8ba62fd373 100644 --- a/smash/web/templates/index.html +++ b/smash/web/templates/index.html @@ -1,5 +1,5 @@ {% extends "_base.html" %} -{% block page_title %}'subjects'{% endblock page_title %} +{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}Welcome page{% endblock page_header %} {% block page_description %}Short description{% endblock page_description %} diff --git a/smash/web/templates/mail_templates/index.html b/smash/web/templates/mail_templates/index.html index 57d5de7fdc76aae80f965aa62125f5252c502b0b..45ef610eebb5c61329acc6e5c46ca4f6c2e9d1d5 100644 --- a/smash/web/templates/mail_templates/index.html +++ b/smash/web/templates/mail_templates/index.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'mail_templates'{% endblock page_title %} +{% block ui_active_tab %}'mail_templates'{% endblock ui_active_tab %} {% block page_header %}Mail templates{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/subjects/add.html b/smash/web/templates/subjects/add.html index 3cd51d6c19da4a3b1f48031e85ff8c12c6b97733..2152e5118eabd73a24cc2ebc5158547760adf7a1 100644 --- a/smash/web/templates/subjects/add.html +++ b/smash/web/templates/subjects/add.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/awesomplete/awesomplete.css' %}" /> {% endblock styles %} -{% block page_title %}'subjects'{% endblock page_title %} +{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}New subject{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/subjects/delete.html b/smash/web/templates/subjects/delete.html index 93699e20a8cb205d09d62e2366f207af4da0f9f2..4e914d368c061f2d299c24dc11cf7ce4ad8892c9 100644 --- a/smash/web/templates/subjects/delete.html +++ b/smash/web/templates/subjects/delete.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'subjects'{% endblock page_title %} +{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}Are you sure you want to remove information concerning this subject?{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/subjects/details.html b/smash/web/templates/subjects/details.html index 91459a0af9d871c8441d6e7ed82472ed95206e0a..d3429c02d958a98369984e2315ddb76dc3c8f137 100644 --- a/smash/web/templates/subjects/details.html +++ b/smash/web/templates/subjects/details.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'subjects'{% endblock page_title %} +{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}Details of the subject{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/subjects/edit.html b/smash/web/templates/subjects/edit.html index 0824827ee76668b17b33b96a9cdb8eab82321a88..a8cce2efcfcfa698ef1ad353de6b9bfb3b6141ce 100644 --- a/smash/web/templates/subjects/edit.html +++ b/smash/web/templates/subjects/edit.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'subjects'{% endblock page_title %} +{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}Edit subject{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/subjects/index.html b/smash/web/templates/subjects/index.html index 3a5d8a41f70af76e851655bdc0dc19195efe9393..8dafb51e9d179d2da994fbbbc2cd408e2a68ab03 100644 --- a/smash/web/templates/subjects/index.html +++ b/smash/web/templates/subjects/index.html @@ -6,7 +6,7 @@ {% include "includes/tablesorter.css.html" %} {% endblock styles %} -{% block page_title %}'subjects'{% endblock page_title %} +{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}Subjects{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/subjects/visitdetails.html b/smash/web/templates/subjects/visitdetails.html index 82168b86ccdc81eda3d2e8c666c6e48e545805a4..2b6476e6c0bd8c4f22002a409106cf9473951cea 100644 --- a/smash/web/templates/subjects/visitdetails.html +++ b/smash/web/templates/subjects/visitdetails.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'subjects'{% endblock page_title %} +{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}List of visits{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/visits/add.html b/smash/web/templates/visits/add.html index f21345d834014b216766ae589e501e0dd900c5a5..e77edef3f8c1c17984587b96eab45164e3f8a71d 100644 --- a/smash/web/templates/visits/add.html +++ b/smash/web/templates/visits/add.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'visits'{% endblock page_title %} +{% block ui_active_tab %}'visits'{% endblock ui_active_tab %} {% block page_header %}New visit{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/visits/details.html b/smash/web/templates/visits/details.html index c079b3a689f992f33b1f96258a565741ee3adaf2..312fe3397ed989e04e42aa60b2c099ff17765083 100644 --- a/smash/web/templates/visits/details.html +++ b/smash/web/templates/visits/details.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> {% endblock styles %} -{% block page_title %}'visits'{% endblock page_title %} +{% block ui_active_tab %}'visits'{% endblock ui_active_tab %} {% block page_header %}Details of the visit{% endblock page_header %} {% block page_description %}{% endblock page_description %} diff --git a/smash/web/templates/visits/index.html b/smash/web/templates/visits/index.html index a851274e5008e73b03948cabd7cbf7eea5f2469c..9a3f6f2b8c5b17be8fa2369114ea634427518338 100644 --- a/smash/web/templates/visits/index.html +++ b/smash/web/templates/visits/index.html @@ -12,7 +12,7 @@ <link rel="stylesheet" href="{% static 'AdminLTE/plugins/fullcalendar/fullcalendar.print.css' %}" media="print"> {% endblock styles %} -{% block page_title %}'visits'{% endblock page_title %} +{% block ui_active_tab %}'visits'{% endblock ui_active_tab %} {% block page_header %}Visits{% endblock page_header %} {% block page_description %}{% endblock page_description %}