departures: Add hint (tap == checkin)

This commit is contained in:
Daniel Friesel 2019-03-08 18:02:18 +01:00
parent da4f532fb3
commit 6e961420aa

View file

@ -32,34 +32,37 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<table class="striped"> <div class="col s12">
<thead> Zug auswählen zum Einchecken.<br/>
<tr> <table class="striped">
<th>Zug</th> <thead>
<th></th>
<th>Abfahrt</th>
</tr>
</thead>
<tbody>
% for my $result (@{$results}) {
<tr> <tr>
<td> <th>Zug</th>
<a class="action-checkin" data-station="<%= $ds100 %>" data-train="<%= $result->train_id %>"> <th></th>
<%= $result->line %> <th>Abfahrt</th>
</a>
</td>
<td>
<a class="action-checkin" data-station="<%= $ds100 %>" data-train="<%= $result->train_id %>">
<%= $result->destination %>
</a>
</td>
<td><%= $result->departure->strftime('%H:%M') %>
% if ($result->departure_delay) {
(+<%= $result->departure_delay %>)
% }
</td>
</tr> </tr>
% } </thead>
</tbody> <tbody>
</table> % for my $result (@{$results}) {
<tr>
<td>
<a class="action-checkin" data-station="<%= $ds100 %>" data-train="<%= $result->train_id %>">
<%= $result->line %>
</a>
</td>
<td>
<a class="action-checkin" data-station="<%= $ds100 %>" data-train="<%= $result->train_id %>">
<%= $result->destination %>
</a>
</td>
<td><%= $result->departure->strftime('%H:%M') %>
% if ($result->departure_delay) {
(+<%= $result->departure_delay %>)
% }
</td>
</tr>
% }
</tbody>
</table>
</div>
</div> </div>