]> BookStack Code Mirror - bookstack/blob - resources/views/settings/roles/index.blade.php
respective book and chapter structure added.
[bookstack] / resources / views / settings / roles / index.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4
5     <div class="container small">
6
7         @include('settings.parts.navbar', ['selected' => 'roles'])
8
9         <div class="card content-wrap auto-height">
10
11             <div class="grid half v-center">
12                 <h1 class="list-heading">{{ trans('settings.role_user_roles') }}</h1>
13
14                 <div class="text-right">
15                     <a href="{{ url("/settings/roles/new") }}" class="button outline my-none">{{ trans('settings.role_create') }}</a>
16                 </div>
17             </div>
18
19             <p class="text-muted">{{ trans('settings.roles_index_desc') }}</p>
20
21             <div class="flex-container-row items-center justify-space-between gap-m mt-m mb-l wrap">
22                 <div>
23                     <div class="block inline mr-xs">
24                         <form method="get" action="{{ url("/settings/roles") }}">
25                             <input type="text"
26                                    name="search"
27                                    placeholder="{{ trans('common.search') }}"
28                                    value="{{ $listOptions->getSearch() }}">
29                         </form>
30                     </div>
31                 </div>
32                 <div class="justify-flex-end">
33                     @include('common.sort', $listOptions->getSortControlData())
34                 </div>
35             </div>
36
37             <div class="item-list">
38                 @foreach($roles as $role)
39                     @include('settings.roles.parts.roles-list-item', ['role' => $role])
40                 @endforeach
41             </div>
42
43             <div class="mb-m">
44                 {{ $roles->links() }}
45             </div>
46
47         </div>
48     </div>
49
50 @stop