add legend (not referenced yet)
This commit is contained in:
parent
6bae226d5c
commit
4367085887
3 changed files with 51 additions and 0 deletions
|
@ -2286,6 +2286,7 @@ sub startup {
|
|||
$r->get('/changelog')->to('static#changelog');
|
||||
$r->get('/impressum')->to('static#imprint');
|
||||
$r->get('/imprint')->to('static#imprint');
|
||||
$r->get('/legend')->to('static#legend');
|
||||
$r->get('/offline.html')->to('static#offline');
|
||||
$r->get('/api/v1/:user_action/:token')->to('api#get_v1');
|
||||
$r->get('/login')->to('account#login_form');
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
package Travelynx::Controller::Static;
|
||||
|
||||
# Copyright (C) 2020 Daniel Friesel
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
@ -26,6 +27,12 @@ sub imprint {
|
|||
$self->render('imprint');
|
||||
}
|
||||
|
||||
sub legend {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->render('legend');
|
||||
}
|
||||
|
||||
sub offline {
|
||||
my ($self) = @_;
|
||||
|
||||
|
|
43
templates/legend.html.ep
Normal file
43
templates/legend.html.ep
Normal file
|
@ -0,0 +1,43 @@
|
|||
<div class="row">
|
||||
<div class="col s12">
|
||||
<h2>Legende</h2>
|
||||
<p>travelynx verwendet bei Angaben zu Zügen und Stationen die folgenden Symbole.</p>
|
||||
<h3>Abfahrtstafel</h3>
|
||||
<table class="striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><i class="material-icons">gps_off</i></td>
|
||||
<td>Keine Echtzeitdaten vorhanden. Bei den angegebenen Zeiten handelt es sich um Angaben aus dem Fahrplan.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Anschlusszüge</h3>
|
||||
<table class="striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><i class="material-icons">directions_run</i></td>
|
||||
<td>Knapper Umstieg. Zug wird möglicherweise nicht erreicht.</td>
|
||||
<tr>
|
||||
<td><i class="material-icons">warning</i></td>
|
||||
<td>Der Zug ist überbesetzt. Möglicherweise sind keine freien Sitzplätze vorhanden.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="material-icons">info_outline</i></td>
|
||||
<td>Eingeschränkte Barrierefreihet, z.B. fehlendes oder defektes rollstuhlgerechtes WC.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="material-icons">people</i></td>
|
||||
<td>Mindestens ein Wagen fehlt.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="material-icons">compare_arrows</i></td>
|
||||
<td>Abweichende Wagenreihung.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="material-icons">portable_wifi_off</i></td>
|
||||
<td>WLAN ganz oder teilweise ausgefallen.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue