From 955c3ffd6726f783733a388955bd330e30794415 Mon Sep 17 00:00:00 2001 From: cp6 Date: Mon, 31 Oct 2022 14:49:47 +1100 Subject: [PATCH] Update settings index blade view Implemented components Using new data without array index [0] --- resources/views/settings/index.blade.php | 176 ++++------------------- 1 file changed, 26 insertions(+), 150 deletions(-) diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index d586091..8f55dcf 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -5,11 +5,7 @@
- @if ($message = Session::get('success')) - - @endif + {{ route('/') }} Back to home @@ -19,32 +15,10 @@ @method('PUT')
-
-
Use dark mode
- -
+
-
-
Show versions footer
- -
+
@@ -52,14 +26,14 @@ Default server OS default_server_os - {{$setting[0]->default_server_os}} + {{$setting->default_server_os}}
Default currency default_currency - {{$setting[0]->default_currency}} + {{$setting->default_currency}}
@@ -71,7 +45,7 @@ 1 0 12 - {{$setting[0]->due_soon_amount}} + {{$setting->due_soon_amount}}
@@ -81,147 +55,49 @@ 1 0 12 - {{$setting[0]->recently_added_amount}} + {{$setting->recently_added_amount}}
-
-
Show servers to public
- -
+
Home page currency - {{$setting[0]->dashboard_currency}} + {{$setting->dashboard_currency}}
-
-
Save YABs input to txt
- -
+

Only if Show servers to public is YES do these apply:

-
-
Show servers IP's
- -
+
-
-
Show servers hostname
- -
+
-
-
Show servers provider
- -
+
-
-
Show servers location
- -
+
-
-
Show servers price
- -
+
-
-
Show servers YABs
- -
+
@@ -231,43 +107,43 @@ class="input-group-text">Default order by