From 2d51879300f9c334cbe4fa3a4738fc15d6f8e668 Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Sun, 20 Nov 2022 21:30:48 +0100 Subject: [PATCH] Added index section to config page --- .../views/components/config/config.blade.php | 12 ++-- resources/views/panel/config-editor.blade.php | 57 ++++++++++++++++++- 2 files changed, 61 insertions(+), 8 deletions(-) diff --git a/resources/views/components/config/config.blade.php b/resources/views/components/config/config.blade.php index 7b2915e..b901e90 100644 --- a/resources/views/components/config/config.blade.php +++ b/resources/views/components/config/config.blade.php @@ -224,7 +224,7 @@ function text($key){ ?> -

Application

+

Application

{{-- start register --}} @@ -276,7 +276,7 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo 'Panel settings +

Panel settings

{{toggle('NOTIFY_EVENTS')}} @@ -296,7 +296,7 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo 'Security +

Security

{{toggle('ALLOW_USER_HTML')}} @@ -308,7 +308,7 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo 'Advanced +

Advanced

{{-- start MAINTENANCE_MODE --}} @@ -347,7 +347,7 @@ document.getElementById("MAINTENANCE_MODE-form").addEventListener("change", func {{-- start SMTP settings --}} -

SMTP

+

SMTP

@@ -379,7 +379,7 @@ document.getElementById("MAINTENANCE_MODE-form").addEventListener("change", func {{-- start debug settings --}} -

Debug

+

Debug

diff --git a/resources/views/panel/config-editor.blade.php b/resources/views/panel/config-editor.blade.php index 0d7b1f1..7f2d1bb 100644 --- a/resources/views/panel/config-editor.blade.php +++ b/resources/views/panel/config-editor.blade.php @@ -33,7 +33,8 @@ .option{ background-color: #343a40; color: rgba(255, 255, 255, 0.8) !important; - height: 100px; + min-height: 100px; + overflow: hidden; padding: 20px; border-radius: 5px; -webkit-transition-duration: 0.3s; @@ -59,6 +60,46 @@ bottom: 10px; position: relative; } + +.legend{ + background-color: #343a40; + color: rgba(255, 255, 255, 0.8) !important; + min-height: 65px; + overflow: hidden; + padding: 10px 10px; + padding-left: 30px; + padding-right: 30px; + border-radius: 5px; + -webkit-transition-duration: 0.3s; + transition-duration: 0.3s; +} +.legend h3{ + color:white!important; +} +.legend:hover, .legend:focus, .legend:active { + box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); +} +.legendl { + padding: 10px; + margin-left: 5px; + margin-right: 5px; + min-width: 120px; + display: flex; + justify-content: center; + align-items: center; + background-color: #31363b; + border-radius: 5px; + position: relative; + display: flex; + -webkit-transition-duration: 0.3s; + transition-duration: 0.3s; + color: white; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); +} +.legendl:hover, .legendl:focus, .legendl:active { + -webkit-transform: scale(1.1); + transform: scale(1.1); +}


+ +

Jump directly to:

+ @include('components.config.config')