]> BookStack Code Mirror - bookstack/blob - resources/views/settings/roles/index.blade.php
Trying to make the tests green.
[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 small">
8
9         <div class="row action-header">
10             <div class="col-sm-8">
11                 <h1>{{ trans('settings.role_user_roles') }}</h1>
12             </div>
13             <div class="col-sm-4">
14                 <p></p>
15                 <a href="{{ baseUrl("/settings/roles/new") }}" class="button float right pos"><i class="zmdi zmdi-lock-open"></i>{{ trans('settings.role_create') }}</a>
16             </div>
17         </div>
18
19         <table class="table">
20             <tr>
21                 <th>{{ trans('settings.role_name') }}</th>
22                 <th></th>
23                 <th class="text-center">{{ trans('settings.users') }}</th>
24             </tr>
25             @foreach($roles as $role)
26                 <tr>
27                     <td><a href="{{ baseUrl("/settings/roles/{$role->id}") }}">{{ $role->display_name }}</a></td>
28                     <td>{{ $role->description }}</td>
29                     <td class="text-center">{{ $role->users->count() }}</td>
30                 </tr>
31             @endforeach
32         </table>
33     </div>
34
35 @stop