@extends('simple-layout') {{--TODO - Reorder--}} @section('body')
@include('settings/navbar', ['selected' => 'settings'])

BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }}

{{ trans('settings.app_settings') }}

{!! csrf_field() !!}

{{ trans('settings.app_name_desc') }}

@include('components.toggle-switch', [ 'name' => 'setting-app-name-header', 'value' => setting('app-name-header'), 'label' => trans('settings.app_name_header'), ])
{{--

{{ trans('settings.app_name_desc') }}

--}}
@include('components.toggle-switch', [ 'name' => 'setting-app-public', 'value' => setting('app-public'), 'label' => trans('settings.app_public_viewing'), ]) {{--TODO - Text --}}

{{ trans('settings.app_secure_images_desc') }}

@include('components.toggle-switch', [ 'name' => 'setting-app-secure-images', 'value' => setting('app-secure-images'), 'label' => trans('settings.app_secure_images'), ]) {{--TODO - Text --}}

{{ trans('settings.app_disable_comments_desc') }}

@include('components.toggle-switch', [ 'name' => 'setting-app-disable-comments', 'value' => setting('app-disable-comments'), 'label' => trans('settings.app_disable_comments'), ]) {{--TODO - Text --}}

{{ trans('settings.app_editor_desc') }}

{{--TODO - Text --}}

{{ trans('settings.app_logo_desc') }}

@include('components.image-picker', [ 'resizeHeight' => '43', 'resizeWidth' => '200', 'showRemove' => true, 'defaultImage' => baseUrl('/logo.png'), 'currentImage' => setting('app-logo'), 'name' => 'setting-app-logo', 'imageClass' => 'logo-image', 'currentId' => false ])

{!! trans('settings.app_primary_color_desc') !!}

{{ trans('settings.app_homepage_desc') }}

{{ trans('settings.app_custom_html_desc') }}

{{ trans('settings.reg_settings') }}

{!! csrf_field() !!}
{{--

{!! trans('settings.app_primary_color_desc') !!}

--}}{{-- TODO--}}
@include('components.toggle-switch', [ 'name' => 'setting-registration-enabled', 'value' => setting('registration-enabled'), 'label' => trans('settings.reg_allow') ]) {{--TODO - label --}}
{{--

{!! trans('settings.app_primary_color_desc') !!}

--}}{{-- TODO--}}

{{ trans('settings.reg_confirm_email_desc') }}

@include('components.toggle-switch', [ 'name' => 'setting-registration-confirmation', 'value' => setting('registration-confirmation'), 'label' => trans('settings.reg_confirm_email') ]) {{--TODO - label --}}

{!! trans('settings.reg_confirm_restrict_domain_desc') !!}

@include('components.image-manager', ['imageType' => 'system']) @include('components.entity-selector-popup', ['entityTypes' => 'page']) @stop @section('scripts') {{--TODO - Merge into JS--}} @stop