From b41f8a18ce3878e06345d0faf70b0e1e57407e8e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 3 Nov 2018 19:14:06 +0100 Subject: Also split up app/infoscreen CSS, add transition notice to landing page --- templates/app.html.ep | 6 +++--- templates/infoscreen.html.ep | 6 +++--- templates/layouts/default.html.ep | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/app.html.ep b/templates/app.html.ep index 3c36965..88e6586 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -1,10 +1,10 @@ % if (@{$departures}) { % if (param('dark')) { -
+
% } % else { -
+
% }
    % my $i = 0; @@ -266,7 +266,7 @@ % }
-
+
% } % else { diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index 3c36965..9c244a0 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -1,10 +1,10 @@ % if (@{$departures}) { % if (param('dark')) { -
+
% } % else { -
+
% }
    % my $i = 0; @@ -266,7 +266,7 @@ % }
-
+
% } % else { diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 78a962f..d7d6e70 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -210,10 +210,10 @@ nur Züge via Bochum oder Hamm) Developers Developers Developers Developers:
  • Diese Seite kann gerne als iframe in eigene Infoscreens o.ä. eingebunden werden. - Das App/Infoscreen-Template kann dazu (falls nötig) mit - force_mobile=1 bzw. - force_mobile=0 auf die mobile - bzw. die Desktopversion festgelegt werden.
  • + Für eine kleine Ansicht (z.B. iframe in einer normalen Website) bitte das + "App"-Frontend verwenden (und vorerst den Parameter force_mobile=1 + hinzufügen, das ist bald aber nicht mehr nötig). Für eine große Ansicht + (z.B. als alleinstehender Infoscreen) gibt es das "Infoscreen"-Frontend.
  • Die Parameter mode=marudor&version=3 liefern ein JSON-Interface. Die route-Elemente können zusätzlich die Felder "isAdditional" oder "isCancelled" enthalten, der Rest sollte -- cgit v1.2.3