diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-06-10 23:22:41 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-06-10 23:22:41 +0200 |
commit | ae38dcbe2b98ad19c99b03e9d6b8c71705383d49 (patch) | |
tree | 97104692d88827ef28b2c9ec2795b23df9e6134c /templates | |
parent | 13f462df94edcdb87058e4939181dc416f1a6c1a (diff) |
validate html
Diffstat (limited to 'templates')
-rw-r--r-- | templates/clean.html.ep | 12 | ||||
-rw-r--r-- | templates/layouts/default.html.ep | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep index 2eb63ea..9b36f45 100644 --- a/templates/clean.html.ep +++ b/templates/clean.html.ep @@ -25,7 +25,7 @@ % if ( $departure->{train_type} eq 'S' ) { % $linetype = 'sbahn'; % } - <span class="line <%= $linetype %>"> + <div class="line <%= $linetype %>"> % if ($departure->{train_type} and $departure->{train_no}) { %= $departure->{train_type} % } @@ -38,18 +38,18 @@ % else { %= $departure->{train} % } - </span> + </div> % if (@{$departure->{replaced_by}} or @{$departure->{replacement_for}}) { - <span class="lineinfo"> + <div class="lineinfo"> % for my $replacement (@{$departure->{replaced_by}}) { <span class="replaced">→ <%= $replacement %></span> % } % for my $replacement (@{$departure->{replacement_for}}) { <span class="replacement">↑ <%= $replacement %></span> % } - </span> + </div> % } - <span class="moreinfo"> + <div class="moreinfo"> <div class="mheader"> <span class="train-line"><%= $departure->{train_type} // q{???} %></span><!-- --><span class="train-line"><%= $departure->{train_line} // q{} %></span> @@ -138,7 +138,7 @@ % } </ul> % } - </span> <!-- moreinfo --> + </div> <!-- moreinfo --> % if ($departure->{info} and length $departure->{info}) { <span class="info"> %= $departure->{info} diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 2b27455..3165ca0 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -158,8 +158,8 @@ Umschreibungen der Art ä → ae oder ä → a benutzen.</li> <li><a href="/Essen%20Hbf">Essen HBf</a> (RIS, Bahnhofstafel)</li> <li><a href="/Dortmund/Bochum%7CHamm">Dortmund HBf</a> (RIS, Bahnhofstafel, nur Züge via Bochum oder Hamm)</li> -<li><a href="/Dortmund%20Uni?mode=clean&backend=iris">Dortmund Universität</a> (IRIS, "Mobile" Ansicht)</li> -<li><a href="/KD?mode=single&backend=iris">Düsseldorf HBf</a> (IRIS, Gleistafel)</li> +<li><a href="/Dortmund%20Uni?mode=clean&backend=iris">Dortmund Universität</a> (IRIS, "Mobile" Ansicht)</li> +<li><a href="/KD?mode=single&backend=iris">Düsseldorf HBf</a> (IRIS, Gleistafel)</li> </ul> </div> @@ -168,7 +168,7 @@ nur Züge via Bochum oder Hamm)</li> <ul> <li><a href="http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn">DeutscheBahn RIS</a></li> <li><a href="http://marudor.de/">Handyfreundliches Interface</a> von <a href="https://twitter.com/marudor">@marudor</a></li> -<li><a href="https://iris.noncd.db.de/wbt/js/index.html?typ=ab&amd;style=qrab&bhf=EE&SecLang=&Zeilen=40&footer=0&disrupt=1" +<li><a href="https://iris.noncd.db.de/wbt/js/index.html?typ=ab&style=qrab&bhf=EE&SecLang=&Zeilen=40&footer=0&disrupt=1" >DeutscheBahn IRIS</a> und <a href="http://www.db-netz.de/file/2361656/data/betriebsstellen.pdf">betriebsstellen.pdf</a></li> <li><a href="http://www.frubi.net/iris/?station=Essen%20HBf">frubi.net IRIS-Interface</a></li> <li><a href="http://vrrf.finalrewind.org/">vrr-fakedisplay</a></li> |