summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/DBInfoscreen/Controller/Static.pm7
-rw-r--r--templates/layouts/app.html.ep10
-rw-r--r--templates/layouts/legacy.html.ep10
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?