BookStack/resources/views/settings/layout.blade.php

37 lines
1.5 KiB
PHP

@extends('layouts.simple')
@section('body')
<div class="container medium">
@include('settings.parts.navbar', ['selected' => 'settings'])
<div class="grid gap-xxl right-focus">
<div>
<h5>{{ trans('settings.categories') }}</h5>
<nav class="active-link-list in-sidebar">
<a href="{{ url('/settings/features') }}" class="{{ $category === 'features' ? 'active' : '' }}">@icon('star') {{ trans('settings.app_features_security') }}</a>
<a href="{{ url('/settings/customization') }}" class="{{ $category === 'customization' ? 'active' : '' }}">@icon('palette') {{ trans('settings.app_customization') }}</a>
<a href="{{ url('/settings/registration') }}" class="{{ $category === 'registration' ? 'active' : '' }}">@icon('security') {{ trans('settings.reg_settings') }}</a>
</nav>
<h5 class="mt-xl">{{ trans('settings.system_version') }}</h5>
<div class="py-xs">
<a target="_blank" rel="noopener noreferrer" href="https://github.com/BookStackApp/BookStack/releases">
BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }}
</a>
</div>
</div>
<div>
<div class="card content-wrap auto-height">
@yield('card')
</div>
</div>
</div>
</div>
@yield('after-content')
@stop