Skip to content

Commit

Permalink
Trains install
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfletcher committed Apr 28, 2024
1 parent 5f16d27 commit 56b7782
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions module/Application/view/application/station/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $this->headTitle("{$this->locationName} ({$this->stationCode})")
?>
<div>
<div class="uk-grid uk-flex-middle" data-uk-grid>
<div class="uk-width-auto">
<div class="uk-width-auto@s">
<h1 class="uk-margin-remove">
<a class="uk-link-reset"
href="<?= $this->url('home') ?>">
Expand All @@ -16,14 +16,13 @@ $this->headTitle("{$this->locationName} ({$this->stationCode})")
</h1>
</div>
<?php if (! isset($this->error)) : ?>
<div class="uk-width-expand">
<div class="uk-width-expand@s">
<h2 class="uk-margin-remove">
<?= $this->locationName ?>
<span class="uk-text-small"><?= $this->stationCode ?></span>
</h2>
</div>
<div class="uk-width-auto"></div>
<div class="uk-width-auto">
<div class="uk-width-auto@s">
<form class="uk-form uk-margin-remove uk-grid uk-grid-small uk-flex-bottom"
data-uk-grid
id="searchForm"
Expand Down Expand Up @@ -78,8 +77,8 @@ $this->headTitle("{$this->locationName} ({$this->stationCode})")
<th>Expected</th>
<th>P</th>
<th>Destination</th>
<th>Service</th>
<th>Operator</th>
<th class="uk-visible@s">Service</th>
<th class="uk-visible@s">Operator</th>
</tr>
</thead>
<tbody>
Expand All @@ -97,7 +96,7 @@ $this->headTitle("{$this->locationName} ({$this->stationCode})")
<?= $departure->destination->location->locationName ?>
</a>
</td>
<td class="uk-text-small">
<td class="uk-text-small uk-visible@s">
From
<a hx-boost="true"
href="<?= $this->url('station', [
Expand All @@ -106,7 +105,7 @@ $this->headTitle("{$this->locationName} ({$this->stationCode})")
<?= $departure->origin->location->locationName ?>
</a>
</td>
<td class="operator-<?= $departure->operatorCode ?>">
<td class="operator-<?= $departure->operatorCode ?> uk-visible@s">
<?= $departure->operator ?>
</td>
</tr>
Expand All @@ -125,7 +124,7 @@ $this->headTitle("{$this->locationName} ({$this->stationCode})")
<?= $departure->destination->location->locationName ?>
</a>
</td>
<td class="uk-text-small">
<td class="uk-text-small uk-visible@s">
From
<a hx-boost="true"
href="<?= $this->url('station', [
Expand All @@ -134,7 +133,7 @@ $this->headTitle("{$this->locationName} ({$this->stationCode})")
<?= $departure->origin->location->locationName ?>
</a>
</td>
<td class="operator-<?= $departure->operatorCode ?>">
<td class="operator-<?= $departure->operatorCode ?> uk-visible@s">
<?= $departure->operator ?>
</td>
</tr>
Expand Down

0 comments on commit 56b7782

Please sign in to comment.