X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/1973/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..4f29968bb 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -7,16 +7,18 @@
@include('settings.navbar', ['selected' => 'settings'])
-
-
- BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }} +
+ + BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }} +
-

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

-
+

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

+ {!! csrf_field() !!} +
@@ -27,7 +29,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 +74,16 @@
- +
-

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

-
+

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

+ {!! csrf_field() !!} +
@@ -121,7 +124,7 @@ @include('components.image-picker', [ 'removeName' => 'setting-app-logo', 'removeValue' => 'none', - 'defaultImage' => baseUrl('/logo.png'), + 'defaultImage' => url('/http/source.bookstackapp.com/logo.png'), 'currentImage' => setting('app-logo'), 'name' => 'app_logo', 'imageClass' => 'logo-image', @@ -129,14 +132,40 @@
+

{!! trans('settings.app_primary_color_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']) +
@@ -159,26 +188,43 @@
+
+ +

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

+
+
+ + +
+
+ + +
+
+
+

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

+

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

- +
-

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

-
+

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

+ {!! csrf_field() !!} +
@@ -193,6 +239,10 @@ 'label' => trans('settings.reg_enable_toggle') ]) + @if(in_array(config('auth.method'), ['ldap', 'saml2'])) +
{{ trans('settings.reg_enable_external_warning') }}
+ @endif +