diff --git a/stackalytics/dashboard/templates/base.html b/stackalytics/dashboard/templates/base.html index d05eb167f..566a122e2 100644 --- a/stackalytics/dashboard/templates/base.html +++ b/stackalytics/dashboard/templates/base.html @@ -3,6 +3,60 @@ + + + {% block title %}{% endblock %} + + {% if not page_title %} + + {% else %} + + {% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% if active_tab == 'driverlog' %} + + {% else %} + + {% endif %} + {% block head %}{% endblock %} diff --git a/stackalytics/dashboard/templates/kpi/base_kpi.html b/stackalytics/dashboard/templates/kpi/base_kpi.html index 75f112d40..87290bf8b 100644 --- a/stackalytics/dashboard/templates/kpi/base_kpi.html +++ b/stackalytics/dashboard/templates/kpi/base_kpi.html @@ -1,41 +1,6 @@ {% extends "base.html" %} {% block head %} - {% block title %}{% endblock %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% block scripts %}{% endblock %} diff --git a/stackalytics/dashboard/templates/reports/base_report.html b/stackalytics/dashboard/templates/reports/base_report.html index 726287856..1b7149d4c 100644 --- a/stackalytics/dashboard/templates/reports/base_report.html +++ b/stackalytics/dashboard/templates/reports/base_report.html @@ -1,46 +1,6 @@ {% extends "base.html" %} {% block head %} - {% block title %}{% endblock %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% block scripts %}{% endblock %} {% endblock %} diff --git a/stackalytics/dashboard/templates/reports/driverlog.html b/stackalytics/dashboard/templates/reports/driverlog.html index a4aae2c58..34a54e985 100644 --- a/stackalytics/dashboard/templates/reports/driverlog.html +++ b/stackalytics/dashboard/templates/reports/driverlog.html @@ -1,34 +1,9 @@ {% extends "base.html" %} +{% set active_tab = 'driverlog' %} +{% block title %}Vendor Drivers{% endblock %} + {% block head %} - Vendor Drivers - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -