X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/69a47319d51efb3d39bb36eff4df9ca2c31165ae..193d7fb3fe71a76a43ebc1ccdb617b4b627d1e09:/resources/views/settings/index.blade.php diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 500db64e6..8d63244e1 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -1,18 +1,9 @@ -@extends('simple-layout') +@extends('layouts.simple') @section('body')
-
-
- @include('settings.navbar', ['selected' => 'settings']) -
- -
+ @include('settings.parts.navbar-with-version', ['selected' => 'settings'])

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

@@ -34,7 +25,7 @@ @endif
- @include('components.toggle-switch', [ + @include('form.toggle-switch', [ 'name' => 'setting-app-public', 'value' => setting('app-public'), 'label' => trans('settings.app_public_access_toggle'), @@ -48,7 +39,7 @@

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

- @include('components.toggle-switch', [ + @include('form.toggle-switch', [ 'name' => 'setting-app-secure-images', 'value' => setting('app-secure-images'), 'label' => trans('settings.app_secure_images_toggle'), @@ -62,7 +53,7 @@

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

- @include('components.toggle-switch', [ + @include('form.toggle-switch', [ 'name' => 'setting-app-disable-comments', 'value' => setting('app-disable-comments'), 'label' => trans('settings.app_disable_comments_toggle'), @@ -94,7 +85,7 @@
- @include('components.toggle-switch', [ + @include('form.toggle-switch', [ 'name' => 'setting-app-name-header', 'value' => setting('app-name-header'), 'label' => trans('settings.app_name_header'), @@ -121,7 +112,7 @@

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

- @include('components.image-picker', [ + @include('form.image-picker', [ 'removeName' => 'setting-app-logo', 'removeValue' => 'none', 'defaultImage' => url('/https/source.bookstackapp.com/logo.png'), @@ -158,13 +149,13 @@
- @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('settings.parts.setting-entity-color-picker', ['type' => 'bookshelf']) + @include('settings.parts.setting-entity-color-picker', ['type' => 'book']) + @include('settings.parts.setting-entity-color-picker', ['type' => 'chapter'])
- @include('components.setting-entity-color-picker', ['type' => 'page']) - @include('components.setting-entity-color-picker', ['type' => 'page-draft']) + @include('settings.parts.setting-entity-color-picker', ['type' => 'page']) + @include('settings.parts.setting-entity-color-picker', ['type' => 'page-draft'])
@@ -183,11 +174,17 @@ +
+ +

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

+ @include('settings.parts.footer-links', ['name' => 'setting-app-footer-links', 'value' => setting('app-footer-links', [])]) +
+
@@ -218,7 +215,7 @@

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

- @include('components.toggle-switch', [ + @include('form.toggle-switch', [ 'name' => 'setting-registration-enabled', 'value' => setting('registration-enabled'), 'label' => trans('settings.reg_enable_toggle') @@ -231,7 +228,8 @@