diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-20 03:20:50 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-20 03:20:50 +0200 |
commit | c3f429bbaca5e5d15fee2da6a9919b0f9cfb020f (patch) | |
tree | f8fce41bc79109d0177f81e36bf38021b104e685 | |
parent | fe7582f6586f621623e7f7e74c0a48e4cbc002c9 (diff) |
departure board: show prev/next buttons at the bottom end as well
-rw-r--r-- | templates/departures.html.ep | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 6e2a98a..4be1f23 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -154,3 +154,18 @@ % } </div> </div> + +<div class="row"> + <div class="col s4 center-align"> + % if ($dbris or $hafas) { + <a class="btn-small" href="<%= url_for('sstation', station => param('station'))->query({dbris => $dbris, hafas => $hafas, timestamp => $datetime->clone->subtract(hours => 1)->epoch}) %>"><i class="material-icons left" aria-hidden="true">chevron_left</i><span class="hide-on-small-only">früher</span></a> + % } + </div> + <div class="col s4 center-align"> + </div> + <div class="col s4 center-align"> + % if ($dbris or $hafas) { + <a class="btn-small" href="<%= url_for('sstation', station => param('station'))->query({dbris => $dbris, hafas => $hafas, timestamp => $datetime->clone->add(hours => 1)->epoch}) %>"><span class="hide-on-small-only">später</span><i class="material-icons right" aria-hidden="true">chevron_right</i></a> + % } + </div> +</div> |