@extends('simple-layout') @section('toolbar') @include('settings/navbar', ['selected' => 'settings']) @stop @section('body')

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

@icon('settings') {{ 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')])
@include('components.toggle-switch', ['name' => 'setting-app-public', 'value' => setting('app-public')])

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

@include('components.toggle-switch', ['name' => 'setting-app-secure-images', 'value' => setting('app-secure-images')])

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

@include('components.toggle-switch', ['name' => 'setting-app-disable-comments', 'value' => setting('app-disable-comments')])

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

{!! 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') }}

@include('components.page-picker', ['name' => 'setting-app-homepage', 'placeholder' => trans('settings.app_homepage_default'), 'value' => setting('app-homepage')])

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

 

@icon('users-add') {{ trans('settings.reg_settings') }}

{!! csrf_field() !!}
@include('components.toggle-switch', ['name' => 'setting-registration-enabled', 'value' => setting('registration-enabled')])

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

@include('components.toggle-switch', ['name' => 'setting-registration-confirmation', 'value' => setting('registration-confirmation')])

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

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