From 0ce5bbcc443b9da12e5233a481f2ef15017ee891 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 1 Nov 2020 17:03:12 +0100 Subject: Callsign adding finished. --- resources/views/pages/callsigns.blade.php | 22 +++++++++++++--------- resources/views/pages/reservations.blade.php | 6 ++++++ 2 files changed, 19 insertions(+), 9 deletions(-) (limited to 'resources/views') diff --git a/resources/views/pages/callsigns.blade.php b/resources/views/pages/callsigns.blade.php index 19dc984..b4814bb 100644 --- a/resources/views/pages/callsigns.blade.php +++ b/resources/views/pages/callsigns.blade.php @@ -5,9 +5,9 @@ @section('navbar', View::make('inc.special_navbar')) @section('content') -

Callsigns Administration:

@if (count($data) > 0) -
+

Callsigns Administration:

+
@foreach ($data as $row) @@ -21,11 +21,19 @@ @endif

Add Callsign:

+ @if (session('status')) +
+ {{ session('status') }} +
+ @endif @csrf
+ @error('sign') +
{{ $message }}
+ @enderror
@@ -40,13 +48,9 @@ @section('scripts') @endsection diff --git a/resources/views/pages/reservations.blade.php b/resources/views/pages/reservations.blade.php index 9a27ee7..0d74ef3 100644 --- a/resources/views/pages/reservations.blade.php +++ b/resources/views/pages/reservations.blade.php @@ -5,6 +5,7 @@ @section('navbar', View::make('inc.special_navbar')) @section('content') +@if (count($data) > 0)
@@ -49,4 +50,9 @@
+@else +
+ There are currently no reservations. +
+@endif @endsection() -- cgit v1.2.3