]> BookStack Code Mirror - bookstack/blob - resources/views/settings/layout.blade.php
Licensing: Added links and tests for new licenses endpoint
[bookstack] / resources / views / settings / layout.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4     <div class="container medium">
5
6         @include('settings.parts.navbar', ['selected' => 'settings'])
7
8         <div class="grid gap-xxl right-focus">
9
10             <div>
11                 <h5>{{ trans('settings.categories') }}</h5>
12                 <nav class="active-link-list in-sidebar">
13                     <a href="{{ url('/settings/features') }}" class="{{ $category === 'features' ? 'active' : '' }}">@icon('star') {{ trans('settings.app_features_security') }}</a>
14                     <a href="{{ url('/settings/customization') }}" class="{{ $category === 'customization' ? 'active' : '' }}">@icon('palette') {{ trans('settings.app_customization') }}</a>
15                     <a href="{{ url('/settings/registration') }}" class="{{ $category === 'registration' ? 'active' : '' }}">@icon('security') {{ trans('settings.reg_settings') }}</a>
16                 </nav>
17
18                 <h5 class="mt-xl">{{ trans('settings.system_version') }}</h5>
19                 <div class="py-xs">
20                     <a target="_blank" rel="noopener noreferrer" href="https://github.com/BookStackApp/BookStack/releases">
21                         BookStack @if(!str_starts_with($version, 'v')) version @endif {{ $version }}
22                     </a>
23                     <br>
24                     <a target="_blank" href="{{ url('/licenses') }}" class="text-muted">{{ trans('settings.license_details') }}</a>
25                 </div>
26             </div>
27
28             <div>
29                 <div class="card content-wrap auto-height">
30                     @yield('card')
31                 </div>
32             </div>
33
34         </div>
35
36     </div>
37
38     @yield('after-content')
39 @stop