diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/departures_page.html | 2 | ||||
-rw-r--r-- | templates/header.html | 4 | ||||
-rw-r--r-- | templates/landing_page.html | 2 | ||||
-rw-r--r-- | templates/navbar.html | 6 |
4 files changed, 8 insertions, 6 deletions
diff --git a/templates/departures_page.html b/templates/departures_page.html index 52733c4..438c28d 100644 --- a/templates/departures_page.html +++ b/templates/departures_page.html @@ -3,7 +3,7 @@ <head> <title>{{ title }}</title> {% include 'header.html' %} - <script src="/static/v1/js/reload.js"></script> + <script src="/static/v2/js/reload.js"></script> </head> <body> diff --git a/templates/header.html b/templates/header.html index 7480bea..1d0dd68 100644 --- a/templates/header.html +++ b/templates/header.html @@ -10,11 +10,11 @@ <link rel="apple-touch-icon" sizes="180x180" href="/static/icons/icon-180x180.png"> <link rel="apple-touch-icon" sizes="152x152" href="/static/icons/icon-152x152.png"> <link rel="apple-touch-icon" sizes="167x167" href="/static/icons/icon-167x167.png"> -<link href="/static/v1/css/light.min.css" id="theme" rel="stylesheet"> +<link href="/static/v2/css/light.min.css" id="theme" rel="stylesheet"> <script> function addStyleSheet(name, id) { - const path = "/static/v1/css/" + name + ".min.css"; + const path = "/static/v2/css/" + name + ".min.css"; const old = document.getElementById(id); if (old && (old.href != path)) { old.href = path; diff --git a/templates/landing_page.html b/templates/landing_page.html index 815e628..e9aef17 100644 --- a/templates/landing_page.html +++ b/templates/landing_page.html @@ -3,7 +3,7 @@ <head> <title>{{ title }}</title> {% include 'header.html' %} - <script src="/static/v1/js/geolocation.js"></script> + <script src="/static/v2/js/geolocation.js"></script> </head> <body> {% include 'navbar.html' %} diff --git a/templates/navbar.html b/templates/navbar.html index 2fc49ec..914f2e9 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -2,9 +2,11 @@ <nav style="color: #ffffff; background-color: #001f8f;"> <div class="container"> {% if nav_link %} - <a class="main" href="{{ nav_link }}">{{ title }}</a> + <a class="main" href="{{ nav_link }}">{{ title }} + <span><i class="material-icons" id="syncfailedmarker" style="display: none;">sync_problem</i></span></a> {% else %} - <span class="main">{{ title }}</span> + <span class="main">{{ title }} + <span><i class="material-icons" id="syncfailedmarker" style="display: none;">sync_problem</i></span></span> {% endif %} <ul id="nav-mobile" style="float: right;"> <li><a href="/"><i class="material-icons" aria-label="Stationen in der Umgebung suchen">my_location</i></a></li> |