forked from s421507/eOSP2
50 lines
1.4 KiB
PHP
50 lines
1.4 KiB
PHP
@extends('layout.app')
|
|
|
|
@section('left-menu')
|
|
@parent
|
|
<ul>
|
|
<a href="/strazacy/add"><li>Dodaj<img src="img/left_menu_icon/add.png"></li></a>
|
|
<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'>
|
|
<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
|
|
|
|
|
|
@stop
|