From 00bcc7c2aa211aed0053dcc6a09aa6d2a476b9ab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 27 Jun 2021 20:28:28 +0200 Subject: add navbar --- templates/departure_list.html | 6 ++++++ templates/landing_page.html | 3 ++- templates/navbar.html | 17 +++++++++++++++++ templates/stops.html | 1 + 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 templates/navbar.html (limited to 'templates') diff --git a/templates/departure_list.html b/templates/departure_list.html index a82e7c3..dea886c 100644 --- a/templates/departure_list.html +++ b/templates/departure_list.html @@ -5,8 +5,14 @@ {% include 'header.html' %} + +{% include 'navbar.html' %} +
+ {% if not departures %} +
Keine Abfahrten innerhalb der nächsten zwei Stunden
+ {% endif %}
    {% for departure in departures %}
  • diff --git a/templates/landing_page.html b/templates/landing_page.html index c89da47..c5a04fd 100644 --- a/templates/landing_page.html +++ b/templates/landing_page.html @@ -6,14 +6,15 @@ +{% include 'navbar.html' %}
    + - diff --git a/templates/navbar.html b/templates/navbar.html new file mode 100644 index 0000000..0b2908e --- /dev/null +++ b/templates/navbar.html @@ -0,0 +1,17 @@ + diff --git a/templates/stops.html b/templates/stops.html index affac69..5c47014 100644 --- a/templates/stops.html +++ b/templates/stops.html @@ -5,6 +5,7 @@ {% include 'header.html' %} +{% include 'navbar.html' %}
      -- cgit v1.2.3