]> BookStack Code Mirror - bookstack/blob - resources/views/settings/roles/index.blade.php
Started work on exposing the role system as editable
[bookstack] / resources / views / settings / roles / index.blade.php
1 @extends('base')
2
3 @section('content')
4
5     @include('settings/navbar', ['selected' => 'roles'])
6
7     <div class="container">
8
9         <h1>User Roles</h1>
10         <table class="table">
11             <tr>
12                 <th>Role Name</th>
13                 <th></th>
14                 <th class="text-right">Users</th>
15             </tr>
16             @foreach($roles as $role)
17                 <tr>
18                     <td><a href="/settings/roles/{{ $role->id }}">{{ $role->display_name }}</a></td>
19                     <td>{{ $role->description }}</td>
20                     <td class="text-right">{{ $role->users->count() }}</td>
21                 </tr>
22             @endforeach
23         </table>
24     </div>
25
26 @stop