1
0
forked from s421507/eOSP2
eOSP2/resources/views/fireFighters.blade.php

50 lines
1.4 KiB
PHP
Raw Normal View History

2019-07-11 23:55:51 +02:00
@extends('layout.app')
@section('left-menu')
@parent
<ul>
2019-09-25 18:39:01 +02:00
<a href="/strazacy/add"><li>Dodaj<img src="img/left_menu_icon/add.png"></li></a>
2019-07-11 23:55:51 +02:00
<li>Edytuj<img src="img/left_menu_icon/edit.png"></li>
<li>Wyklucz<img src="img/left_menu_icon/delete.png"></li>
<li>Zawieś<img src="img/left_menu_icon/suspended.png"></li>
<li>Więcej<img src="img/left_menu_icon/more.png"></li>
</ul>
@stop
@section('center-area')
@parent
@if( auth()->check())
@if( auth()->user()->fireStationID == NULL)
Jednostka nie istnieje
@else
<table class='firefighterViewTable'>
2019-07-11 23:55:51 +02:00
<tr class='table-header'>
<td>Imie i nazwisko</td>
<td>PESEL</td>
<td>E-mail</td>
<td>Funkcja</td>
<td>Stopień</td>
<td>Status</td>
</tr>
<tr>
@foreach($users as $user)
<td>{{ $user->name }} surname</td>
<td>???????????</td>
<td>przykladowymail@domena.com</td>
<td>Zast. Naczelnika</td>
<td>Dowódca</td>
<td>Czynny</td>
@endforeach
</tr>"
</table>"
@endif
@else
Brak autoryzacji
@endif
2019-07-11 23:55:51 +02:00
@stop