From 3c03aeaabc2989d29ee41f92de61cda16c4a237c Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Fri, 7 Oct 2022 20:02:57 +0100 Subject: [PATCH 1/2] Tweak styling --- public/css/app.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/public/css/app.css b/public/css/app.css index 1f068ef..b83f0f1 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -43,10 +43,18 @@ details h2 { .other-links { display: block; - text-align: center; margin: auto; } +.other-links ul { + list-style: none; +} + +.other-links li { + float: left; + margin-right: 1.5em; +} + .trip-meta { display: block; width: 100%; From 9a000fb08e43f4759204eb2a1ba598f25c2d7334 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Fri, 7 Oct 2022 20:03:09 +0100 Subject: [PATCH 2/2] Remove superfluous meta from finished trips --- resources/views/tracker.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/tracker.blade.php b/resources/views/tracker.blade.php index 83391cf..c6e788a 100644 --- a/resources/views/tracker.blade.php +++ b/resources/views/tracker.blade.php @@ -28,7 +28,9 @@

Tracking started: {{ date('j M Y (G:H)', strtotime($trip->date_start)) }} | {{ ($trip->is_active) ? "Active" : "Ended" }} | + @if ($trip->is_active) {{ ($trip->is_tracking) ? "Currently tracking" : "Not currently tracking" }} + @endif (Last update: {{ date('j M Y (G:H)', strtotime($trip->updated_at)) }})