From c192022701324da58ac2e1ced1cd69f15dfad8e4 Mon Sep 17 00:00:00 2001 From: Ilham Wara Nugroho Date: Tue, 17 Feb 2026 11:45:20 +0700 Subject: [PATCH] update --- resources/views/auth/login.blade.php | 23 +- resources/views/layouts/appNew.blade.php | 14 +- resources/views/layouts/master.blade.php | 296 +++++++++++++------- resources/views/layouts/masterOld.blade.php | 133 +++++++++ 4 files changed, 341 insertions(+), 125 deletions(-) create mode 100644 resources/views/layouts/masterOld.blade.php diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 5a305c3..6d53896 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -3,7 +3,10 @@ - Login Portal - SLHD Provinsi DKI Jakarta + SLHD | Dinas Lingkungan Hidup + + + @@ -76,7 +79,7 @@
-
@@ -98,7 +101,7 @@ - @@ -120,20 +123,14 @@ lucide.createIcons(); // Simple Form Handling - $('#login-form').on('submit', function(e) { - e.preventDefault(); - const btn = $(this).find('button[type="submit"]'); + $('.btnlogin').on('click', function(e) { + // e.preventDefault(); + const btn = $(this); const originalText = btn.html(); // Show loading state - btn.prop('disabled', true).addClass('opacity-70').html(''); + btn.addClass('opacity-70').html(''); lucide.createIcons(); - - // Mock API delay - setTimeout(() => { - alert('Sistem simulasi: Login berhasil! Mengarahkan ke dasbor...'); - window.location.href = '{{ url("/") }}'; - }, 1500); }); }); diff --git a/resources/views/layouts/appNew.blade.php b/resources/views/layouts/appNew.blade.php index 282c6d2..fcc5653 100644 --- a/resources/views/layouts/appNew.blade.php +++ b/resources/views/layouts/appNew.blade.php @@ -52,14 +52,14 @@ @@ -72,10 +72,10 @@ diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index bc3c6c5..65ae1f1 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -1,133 +1,219 @@ - - + - - {{@$title}} | SLHD + - - - - - - - - - - - - - - - + Admin Panel - SLHD Provinsi DKI Jakarta + + + + + + - @yield('css') + - +
+ + + + + @yield('content')
- - - - - - - - - - - - - - - + + - - - @yield('js') - - \ No newline at end of file diff --git a/resources/views/layouts/masterOld.blade.php b/resources/views/layouts/masterOld.blade.php new file mode 100644 index 0000000..bc3c6c5 --- /dev/null +++ b/resources/views/layouts/masterOld.blade.php @@ -0,0 +1,133 @@ + + + + + + {{@$title}} | SLHD + + + + + + + + + + + + + + + + + + @yield('css') + + + + +
+ + @include('include.sidebar') + + + + + +
+ + + @include('include.header') + + +
+ @if(@$breadcrumbs) +
+

{{$title}}

+ + +
+ @endif + + @yield('content') + +
+ + +
+
+
+ © Dinas Lingkungan Hidup Provinsi DKI Jakarta +
+
+
+ + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + @yield('js') + + + + \ No newline at end of file