summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-06-10 23:22:41 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-06-10 23:22:41 +0200
commitae38dcbe2b98ad19c99b03e9d6b8c71705383d49 (patch)
tree97104692d88827ef28b2c9ec2795b23df9e6134c /templates/clean.html.ep
parent13f462df94edcdb87058e4939181dc416f1a6c1a (diff)
validate html
Diffstat (limited to 'templates/clean.html.ep')
-rw-r--r--templates/clean.html.ep12
1 files changed, 6 insertions, 6 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}