diff --git a/app/Http/Controllers/SettingController.php b/app/Http/Controllers/SettingController.php index 97517f2..9a71b23 100644 --- a/app/Http/Controllers/SettingController.php +++ b/app/Http/Controllers/SettingController.php @@ -130,7 +130,7 @@ class SettingController extends Controller public function change_theme(Request $request) { $request->validateWithBag('theme', [ - 'theme_change' => ['required', 'string', 'in:1,2,3'], + 'theme_change' => ['required', 'string', 'in:1,2,3,4,5'], ]); $userSetting = Auth::user()->settings; diff --git a/public/css/classicapp.css b/public/css/classicapp.css new file mode 100644 index 0000000..ed9a5a1 --- /dev/null +++ b/public/css/classicapp.css @@ -0,0 +1,10 @@ +html { + background: url('../img/animated.png'); + background-color: rgb(49, 107, 223); + background-position: center bottom; + background-repeat: repeat-x; + background-attachment: fixed; + animation-name: animatedbackground; + animation-duration: 50s; + animation-iteration-count: infinite; +} \ No newline at end of file diff --git a/public/css/classicappdark.css b/public/css/classicappdark.css new file mode 100644 index 0000000..76b43de --- /dev/null +++ b/public/css/classicappdark.css @@ -0,0 +1,10 @@ +html { + background: url('../img/animated.png'); + background-color: rgb(1, 17, 48); + background-position: center bottom; + background-repeat: repeat-x; + background-attachment: fixed; + animation-name: animatedbackground; + animation-duration: 50s; + animation-iteration-count: infinite; +} \ No newline at end of file diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 1692c1d..3f3ecba 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -18,6 +18,15 @@ @auth @switch (Auth::user()->settings->theme) + @case(5) + + + + @break + @case(4) + + + @break @case(3) diff --git a/resources/views/misc/settings.blade.php b/resources/views/misc/settings.blade.php index 3f9c74b..bd42a57 100644 --- a/resources/views/misc/settings.blade.php +++ b/resources/views/misc/settings.blade.php @@ -170,6 +170,12 @@
Selected Theme: @php switch (Auth::user()->settings->theme) { + case 5: + echo 'Classic Dark'; + break; + case 4: + echo 'Classic Light'; + break; case 3: echo 'Dark'; break; @@ -188,6 +194,8 @@ + + @@ -207,7 +215,7 @@
These buttons can fully delete data. Use with caution!
- +