X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/2511/head:/resources/views/settings/index.blade.php diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 2dabe9dec..8adc1045b 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -3,20 +3,13 @@ @section('body')
-
-
- @include('settings.navbar', ['selected' => 'settings']) -
-
-
- BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }} -
-
+ @include('settings.navbar-with-version', ['selected' => 'settings'])
-

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

-
+

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

+ {!! csrf_field() !!} +
@@ -27,7 +20,7 @@

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

@if(userCan('users-manage'))

- {!! trans('settings.app_public_access_desc_guest') !!} + {!! trans('settings.app_public_access_desc_guest') !!}

@endif
@@ -72,15 +65,16 @@
- +
-

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

-
+

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

+ {!! csrf_field() !!} +
@@ -89,7 +83,7 @@

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

-
+
@include('components.toggle-switch', [ 'name' => 'setting-app-name-header', @@ -104,7 +98,7 @@

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

-
+
+
+ +
+ + | + +
+ +
+
+ + +
+
+ +

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

+
+
+
+ @include('components.setting-entity-color-picker', ['type' => 'bookshelf']) + @include('components.setting-entity-color-picker', ['type' => 'book']) + @include('components.setting-entity-color-picker', ['type' => 'chapter']) +
+
+ @include('components.setting-entity-color-picker', ['type' => 'page']) + @include('components.setting-entity-color-picker', ['type' => 'page-draft']) +
@@ -145,7 +165,7 @@

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

-
+
+

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

- +
-

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

-
+

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

+ {!! csrf_field() !!} +
@@ -193,10 +215,15 @@ 'label' => trans('settings.reg_enable_toggle') ]) + @if(in_array(config('auth.method'), ['ldap', 'saml2'])) +
{{ trans('settings.reg_enable_external_warning') }}
+ @endif +
@@ -233,42 +260,12 @@
- +
- @include('components.image-manager', ['imageType' => 'system']) @include('components.entity-selector-popup', ['entityTypes' => 'page']) @stop - -@section('scripts') - - -@stop \ No newline at end of file