diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-10 20:41:54 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-10 20:41:54 +0100 |
commit | 6a6e210f66b732b87c3cbed3e9f691cc64f52b6f (patch) | |
tree | 2bb861f9d1d6f6270285a916fee2753f6a4422dd | |
parent | 459a42b71c26c2cae229ffb84ad8fde55aaace48 (diff) |
Remove exposed HAFAS/RIS backend support
-rw-r--r-- | lib/DBInfoscreen/Controller/Static.pm | 7 | ||||
-rw-r--r-- | templates/layouts/app.html.ep | 10 | ||||
-rw-r--r-- | templates/layouts/legacy.html.ep | 10 |
3 files changed, 3 insertions, 24 deletions
diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm index 3985f28..4b324bd 100644 --- a/lib/DBInfoscreen/Controller/Static.pm +++ b/lib/DBInfoscreen/Controller/Static.pm @@ -5,9 +5,8 @@ use Mojo::Base 'Mojolicious::Controller'; # License: 2-Clause BSD my %default = ( - backend => 'iris', - mode => 'app', - admode => 'deparr', + mode => 'app', + admode => 'deparr', ); my $dbf_version = qx{git describe --dirty} || 'experimental'; @@ -19,7 +18,7 @@ sub redirect { $params->remove('station'); - for my $param (qw(platforms backend mode admode via)) { + for my $param (qw(platforms mode admode via)) { if ( not $params->param($param) or ( exists $default{$param} diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 67d8166..06a857f 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -115,14 +115,6 @@ Bitte eine Station aus der Liste auswählen</div> </div> <div class="field"> <div class="desc"> - Backend - </div> - <div> - %= select_field backend => [ ['IRIS' => 'iris'], ['HAFAS' => 'ris'] ] - </div> - </div> - <div class="field"> - <div class="desc"> Nur Züge über </div> <div> @@ -161,8 +153,6 @@ Bitte eine Station aus der Liste auswählen</div> </label> </div> </div> - <div class="break"></div> - <span class="optional">Nur für IRIS-Backend:</span> <div class="field"> <div class="desc"> Ankunfts- oder Abfahrtszeit anzeigen? diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep index 64de285..2e7c37f 100644 --- a/templates/layouts/legacy.html.ep +++ b/templates/layouts/legacy.html.ep @@ -105,14 +105,6 @@ Bitte eine Station aus der Liste auswählen</div> </div> <div class="field"> <div class="desc"> - Backend - </div> - <div> - %= select_field backend => [ ['IRIS' => 'iris'], ['HAFAS' => 'ris'] ] - </div> - </div> - <div class="field"> - <div class="desc"> Nur Züge über </div> <div> @@ -151,8 +143,6 @@ Bitte eine Station aus der Liste auswählen</div> </label> </div> </div> - <div class="break"></div> - <span class="optional">Nur für IRIS-Backend:</span> <div class="field"> <div class="desc"> Ankunfts- oder Abfahrtszeit anzeigen? |