use table layout for checkout station list
This commit is contained in:
parent
355bca93c1
commit
b12b201c4d
2 changed files with 20 additions and 12 deletions
|
@ -35,13 +35,20 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
Weitere Route:
|
Weitere Route:
|
||||||
<ul>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s12">
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
% for my $station ($train->route_post) {
|
% for my $station ($train->route_post) {
|
||||||
<li><%= $station %>
|
<tr>
|
||||||
(<a href="/a/checkout?station=<%= $station %>">hier auschecken</a>)
|
<td><%= $station %></td>
|
||||||
</li>
|
<td><a href="/a/checkout?station=<%= $station %>">hier auschecken</a></td>
|
||||||
|
</tr>
|
||||||
% }
|
% }
|
||||||
</ul>
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
|
|
|
@ -8,14 +8,15 @@
|
||||||
<p>Du bist gerade eingecheckt in
|
<p>Du bist gerade eingecheckt in
|
||||||
<%= $status->{train_type} %> <%= $status->{train_no} %>
|
<%= $status->{train_type} %> <%= $status->{train_no} %>
|
||||||
ab <%= $status->{station_name} %>.</p>
|
ab <%= $status->{station_name} %>.</p>
|
||||||
<p>Auschecken?
|
<p>Auschecken?</p>
|
||||||
<ul>
|
<table>
|
||||||
|
<tbody>
|
||||||
% my $is_after = 0;
|
% my $is_after = 0;
|
||||||
% for my $station (@{$status->{route_after}}) {
|
% for my $station (@{$status->{route_after}}) {
|
||||||
<li><a href="/a/checkout?station=<%= $station %>"><%= $station %></a></li>
|
<tr><td><a href="/a/checkout?station=<%= $station %>"><%= $station %></a></td></tr>
|
||||||
% }
|
% }
|
||||||
</ul>
|
</tbody>
|
||||||
</p>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
|
|
Loading…
Reference in a new issue