mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-29 21:52:35 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Split settings out to new views using a core shared layout. - Extracted added language text to translation files. - Updated settings routes to be dynamic to category. - Added redirect for old primary settings route. - Updated existing tests to cover settings route changes. - Added tests to cover settings view. - Improved contrast of settings links for dark mode.
38 lines
1.4 KiB
PHP
38 lines
1.4 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') Features & Security</a>
|
|
<a href="{{ url('/settings/customization') }}" class="{{ $category === 'customization' ? 'active' : '' }}">@icon('palette') Customization</a>
|
|
<a href="{{ url('/settings/registration') }}" class="{{ $category === 'registration' ? 'active' : '' }}">@icon('lock') Registration</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
|