diff options
| -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> | 
