aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/reservations.blade.php
blob: 0d74ef3dd81902265ddea025d49ca121834398ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@extends('layouts.app')

@section('title', 'Reservations')

@section('navbar', View::make('inc.special_navbar'))

@section('content')
@if (count($data) > 0)
<div class="table-responsive">
    <table class="table table-striped table-bordered" style="white-space:nowrap;"><!-- table-hover -->
        <thead class="thead-dark">
            <tr>
                <th>ID</th>
                <th>Approved</th>
                <th>Operator Callsign</th>
                <th>QSO</th>
                <th>From</th>
                <th>To</th>
                <th>Frequencies</th>
                <th>Modes</th>
                <th>Special Callsign</th>
                <th>Operator Name</th>
                <th>Operator Email</th>
                <th>Operator Phone</th>
                <th>Actions</th>
            </tr>
            @foreach ($data as $row)
                <tr>
                    <td>{{ $row->id }}</td>
                    <td>{{ $row->approved }}</td>
                    <td>{{ $row->operatorCall }}</td>
                    <td>{{ $row->qso }}</td>
                    <td>{{ $row->fromTime }}</td>
                    <td>{{ $row->toTime }}</td>
                    <td>{{ $row->frequencies }}</td>
                    <td>{{ $row->modes }}</td>
                    <td>{{ $row->specialCall }}</td>
                    <td>{{ $row->operatorName }}</td>
                    <td>{{ $row->operatorEmail }}</td>
                    <td>{{ $row->operatorPhone }}</td>
                    <td>
                        <button class="btn btn-primary">Update</button>
                        <button class="btn btn-warning">Restore</button>
                        <button class="btn btn-danger">Delete</button>
                    </td>
                </tr>
            @endforeach
        </thead>
        <tbody>
        </tbody>
    </table>
</div>
@else
<div class="text-center">
    <strong>There are currently no reservations.</strong>
</div>
@endif
@endsection()