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