travelynx/templates/history.html.ep

62 lines
1.6 KiB
Text
Raw Normal View History

<h1>Fahrten</h1>
2019-03-19 20:23:06 +00:00
<div class="row">
<div class="col s12">
Hier finden sich alle bisherigen Zugfahrten und Statistiken für jedes
Jahr und jeden Monat.
2019-03-19 20:23:06 +00:00
</div>
</div>
<h2>Nach Jahr</h2>
%= include '_history_years', current => '';
% if(0) {
2019-04-26 17:53:01 +00:00
<div class="row">
<div class="col s12">
Noch keine Fahrten.
</div>
</div>
% }
<h2>Nach Monat</h2>
%= include '_history_months', current => '';
% if(0) {
2019-04-26 17:53:01 +00:00
<div class="row">
<div class="col s12">
Noch keine Fahrten.
</div>
</div>
% }
<h2>Auswertungen</h2>
<div class="row">
<div class="col s12 m12 l12 center-align">
<a href="/history/map" class="waves-effect waves-light btn"><i class="material-icons left">map</i> Fahrtenkarte</a>
</div>
</div>
<h2>Ausfälle und Verspätungen</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
<a href="/cancelled" class="waves-effect waves-light btn"><i class="material-icons left">cancel</i> Zugausfälle</a>
</div>
<div class="col s12 m12 l2">&nbsp;</div>
<div class="col s12 m12 l5 center-align">
<a href="/fgr" class="waves-effect waves-light btn"><i class="material-icons left">feedback</i> Fahrgastrechte</a>
</div>
</div>
<h2>Rohdaten</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
<a href="/history.json" class="waves-effect waves-light btn"><i class="material-icons left">cloud</i> JSON-Export</a>
</div>
<div class="col s12 m12 l2">&nbsp;</div>
<div class="col s12 m12 l5 center-align">
<a href="/journey/add" class="waves-effect waves-light btn"><i class="material-icons left">add</i> Neue Fahrt</a>
</div>
</div>
% if (stash('statistics')) {
%= include '_history_stats', stats => stash('statistics');
2019-03-19 20:23:06 +00:00
% }