Update styling

This commit is contained in:
Ben Goldsworthy 2022-09-24 19:36:06 +00:00
parent 7793a01828
commit b56c82fd82
5 changed files with 99 additions and 50 deletions

View file

@ -18,8 +18,12 @@
<body>
<header>
<h1>No Trip in Progress at the Moment</h1>
<p><a href="/past-trips">Past trips</a></p>
<h1 class="page-title">No Trip in Progress at the Moment</h1>
<nav class="other-pages">
<ul>
<li><p><a href="/past-trips">Past trips</a></p></li>
</ul>
</nav>
</header>
</body>

View file

@ -18,13 +18,20 @@
<body>
<header>
<h1>Where in the World was Ben?</h1>
<p><a href="/">Current trip</a></p>
<p><a href="/past-trips">Past trips</a></p>
<p>
<span> Tracking started: {{ date('j M Y (G:H)', strtotime($trip->date_start)) }}</span> |
<span class="small">(Last update: {{ date('j M Y (G:H)', strtotime($trip->updated_at)) }})</span>
</p>
<h1 class="page-title">{{ $trip->name }}</h1>
<nav class="other-links">
<ul>
<li><p><a href="/">Current trip</a></p></li>
<li><p><a href="/past-trips">Past trips</a></p></li>
</ul>
</nav>
<section class="trip-meta">
<p>
<span>Tracking started: {{ date('j M Y (G:H)', strtotime($trip->date_start)) }}</span> |
<span>Tracking Ended: {{ date('j M Y (G:H)', strtotime($trip->updated_at)) }}</span>
</p>
</section>
</header>
<main id="routeContainer">

View file

@ -18,11 +18,15 @@
<body>
<header>
<h1>Past Trips</h1>
<p><a href="/">Current trip</a></p>
<h1 class="page-title">Past Trips</h1>
<nav class="other-links">
<ul>
<li><p><a href="/">Current trip</a></p></li>
</ul>
</nav>
</header>
<main id="routeContainer">
<main class="main--list">
<ul>
<li><a href="/past-trip/47xj8go928ql9mq3r20p">Europespedition III: Leds Free or Die Hard</a></li>
</ul>

View file

@ -18,14 +18,20 @@
<body>
<header>
<h1>Where in the World is Ben?</h1>
<p><a href="/past-trips">Past trips</a></p>
<p>
<span> Tracking started: {{ date('j M Y (G:H)', strtotime($trip->date_start)) }}</span> |
<span class="{{ ($trip->is_active) ? "positive" : "negative" }}">{{ ($trip->is_active) ? "Active" : "Ended" }}</span> |
<span class="{{ ($trip->is_tracking) ? "positive" : "negative" }}">{{ ($trip->is_tracking) ? "Currently tracking" : "Not currently tracking" }}</span>
<span class="small">(Last update: {{ date('j M Y (G:H)', strtotime($trip->updated_at)) }})</span>
</p>
<h1 class="page-title">Where in the World is Ben?</h1>
<nav class="other-links">
<ul>
<li><p><a href="/past-trips">Past trips</a></p></li>
</ul>
</nav>
<section class="trip-meta">
<p>
<span> Tracking started: {{ date('j M Y (G:H)', strtotime($trip->date_start)) }}</span> |
<span class="{{ ($trip->is_active) ? "positive" : "negative" }}">{{ ($trip->is_active) ? "Active" : "Ended" }}</span> |
<span class="{{ ($trip->is_tracking) ? "positive" : "negative" }}">{{ ($trip->is_tracking) ? "Currently tracking" : "Not currently tracking" }}</span>
<span class="small">(Last update: {{ date('j M Y (G:H)', strtotime($trip->updated_at)) }})</span>
</p>
</section>
</header>
<main id="routeContainer">