diff options
author | Mateja <mail@matejamaric.com> | 2020-11-02 00:03:12 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-02 00:03:12 +0100 |
commit | cd8cfe9d6a0b786e03142ae492b2d0d52f92e4f8 (patch) | |
tree | 10317f18103f8b2ffb2c1951ace7e044ffc9205c /resources/views | |
parent | eb54ef5a24bc4af0749ad43ccffcbc1ae03aa4b6 (diff) | |
download | yota-laravel-cd8cfe9d6a0b786e03142ae492b2d0d52f92e4f8.tar.gz yota-laravel-cd8cfe9d6a0b786e03142ae492b2d0d52f92e4f8.zip |
Styling on reservations...
Diffstat (limited to 'resources/views')
-rw-r--r-- | resources/views/pages/reservations.blade.php | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/resources/views/pages/reservations.blade.php b/resources/views/pages/reservations.blade.php index 0d74ef3..1a94525 100644 --- a/resources/views/pages/reservations.blade.php +++ b/resources/views/pages/reservations.blade.php @@ -26,18 +26,22 @@ </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 class="align-middle">{{ $row->id }}</td> + @if ($row->approved) + <td class="align-middle"><input type="checkbox" checked></td> + @else + <td class="align-middle"><input type="checkbox"></td> + @endif + <td class="align-middle">{{ $row->operatorCall }}</td> + <td class="align-middle">{{ $row->qso }}</td> + <td class="align-middle">{{ $row->fromTime }}</td> + <td class="align-middle">{{ $row->toTime }}</td> + <td class="align-middle">{{ $row->frequencies }}</td> + <td class="align-middle">{{ $row->modes }}</td> + <td class="align-middle">{{ $row->specialCall }}</td> + <td class="align-middle">{{ $row->operatorName }}</td> + <td class="align-middle">{{ $row->operatorEmail }}</td> + <td class="align-middle">{{ $row->operatorPhone }}</td> <td> <button class="btn btn-primary">Update</button> <button class="btn btn-warning">Restore</button> |