aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/callsigns.blade.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-01 23:55:13 +0100
committerMateja <mail@matejamaric.com>2020-11-01 23:55:13 +0100
commiteb54ef5a24bc4af0749ad43ccffcbc1ae03aa4b6 (patch)
treebb9ff7cb37880577f664cff543e78b1bfc8dd1f5 /resources/views/pages/callsigns.blade.php
parent3c410d2bac3e338ab6d6045577819e292251c066 (diff)
downloadyota-laravel-eb54ef5a24bc4af0749ad43ccffcbc1ae03aa4b6.tar.gz
yota-laravel-eb54ef5a24bc4af0749ad43ccffcbc1ae03aa4b6.zip
Special callsigns finished.
Diffstat (limited to 'resources/views/pages/callsigns.blade.php')
-rw-r--r--resources/views/pages/callsigns.blade.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/resources/views/pages/callsigns.blade.php b/resources/views/pages/callsigns.blade.php
index 31d7ccf..6c795c4 100644
--- a/resources/views/pages/callsigns.blade.php
+++ b/resources/views/pages/callsigns.blade.php
@@ -5,19 +5,26 @@
@section('navbar', View::make('inc.special_navbar'))
@section('content')
+ <h3>Callsigns Administration:</h3>
+ @if (session('statusE'))
+ <div class="alert alert-success">
+ {{ session('statusE') }}
+ </div>
+ @endif
@if (count($data) > 0)
- <h3>Callsigns Administration:</h3>
<div class="p-0 mt-3 col-lg-6 table-responsive">
<table class="table table-bordered">
@foreach ($data as $row)
<tr>
<td class="align-middle">{{ $row->sign }}</td>
- <td><a href="{{ route('edit', $row->id) }}" class="btn btn-warning">Edit</a></td>
- <td><button class="btn btn-danger">Delete</button></td>
+ <td><a href="{{ route('editSign', $row->id) }}" class="btn btn-warning">Edit</a></td>
+ <td><a href="{{ route('deleteSign', $row->id) }}" class="btn btn-danger">Delete</a></td>
</tr>
@endforeach
</table>
</div>
+ @else
+ <strong>There are currently no callsigns.</strong>
@endif
<h3 class="mt-4">Add Callsign:</h3>