From ef732d542645ce8fe65ab030b9c76737e72d639d Mon Sep 17 00:00:00 2001 From: IceToast Date: Sun, 2 Jan 2022 19:38:13 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20Moved=20InvoiceSettings=20T?= =?UTF-8?q?ab=20content=20to=20"tabs"=20directory=20->=20modular=20approac?= =?UTF-8?q?h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/admin/settings/index.blade.php | 156 ++++-------------- .../admin/settings/tabs/invoice.blade.php | 101 ++++++++++++ 2 files changed, 130 insertions(+), 127 deletions(-) create mode 100644 resources/views/admin/settings/tabs/invoice.blade.php diff --git a/resources/views/admin/settings/index.blade.php b/resources/views/admin/settings/index.blade.php index e3ecb1c3..368431eb 100644 --- a/resources/views/admin/settings/index.blade.php +++ b/resources/views/admin/settings/index.blade.php @@ -6,13 +6,13 @@
-

{{__('Settings')}}

+

{{ __('Settings') }}

@@ -28,7 +28,7 @@
-
{{__('Settings')}}
+
{{ __('Settings') }}
@@ -37,10 +37,15 @@ @@ -49,7 +54,7 @@
+ action="{{ route('admin.settings.update.icons') }}"> @csrf @method('PATCH') @@ -58,147 +63,44 @@
+ class="custom-file-input" name="icon" id="icon"> + for="icon">{{ __('Select panel icon') }}
@error('icon') - - {{$message}} - + + {{ $message }} + @enderror
+ name="favicon" id="favicon"> + for="favicon">{{ __('Select panel favicon') }}
@error('favicon') - - {{$message}} - + + {{ $message }} + @enderror
- + -

Images and Icons may be cached, use CNTRL + F5(google +

Images and Icons may be cached, use CNTRL + + F5(google chrome hotkey) to reload without cache to see your changes appear :)

-
- - -
- @csrf - @method('PATCH') - -
-
- -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
- - -
-
- @error('logo') - - {{$message}} - - @enderror -
-
-
- - - -
+ @foreach ($tabs as $tab) + @include($tab) + @endforeach @@ -219,7 +121,7 @@