From 709919a9624ed4336e9e5ae382e29cd34c795a82 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 3 May 2019 20:43:46 +0200 Subject: Experimental PWA support (#13) --- templates/layouts/default.html.ep | 12 ++++++++++++ templates/offline.html.ep | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 templates/offline.html.ep (limited to 'templates') diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index a43d9f1..4877488 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -5,6 +5,7 @@ + % my $av = 'v10'; # asset version %= stylesheet "/static/${av}/css/materialize.min.css" %= stylesheet "/static/${av}/css/material-icons.css" @@ -55,5 +56,16 @@ %= content + + diff --git a/templates/offline.html.ep b/templates/offline.html.ep new file mode 100644 index 0000000..85faff0 --- /dev/null +++ b/templates/offline.html.ep @@ -0,0 +1,11 @@ +
+
+ sync_problem +
+
+
+
+ Server nicht erreichbar.
+ travelynx funktioniert nur mit Internetverbindung. +
+
-- cgit v1.2.3