-
- @include('include.alert')
-
-
-
-
-
-
-
-
-
-
- {{--
--}}
-
-
-
-
SIDIA Jakarta
-
-
-
+
+
+
Sekolah Terdeteksi
+
+
Sekolah Dasar (SD) • Negeri
+
+
+
+
+
Nama Sekolah
+
+
+ @error('name')
+ {{$message}}
+ @enderror
+
+
+
+ Alamat Lengkap
+
+
+
+
+
+
+
+ Nama Kontak Person (PIC)
+
+
+
+
Nomor WhatsApp / Telp
+
+ +62
+
+
+
+ {{--
+
upload_file
+
+
Siapkan SK Tim Adiwiyata
+
Anda akan diminta mengunggah dokumen SK ini setelah login untuk verifikasi awal.
+
+
--}}
+
+
+
+
+
+
Email Sekolah (Aktif)
+
+
Pastikan email benar. Akses login akan dikirim melalui email ini.
+
+
+
Kata Sandi
+
+
+ visibility
+
+
+
Sandi Sangat Lemah
+
+
+
+
+ Saya menyatakan bahwa data yang diisi adalah benar dan sekolah berkomitmen menjalankan Gerakan PBLHS sesuai Permen LH No. 5 Tahun 2025 .
+
+
+
+
+
+ error
+ Username atau password salah. Silakan coba lagi.
+
+
+
+
+
+ arrow_back Kembali
+
+
+
+ Lanjut arrow_forward
+
+
+ Daftar Sekarang
+
+
+
+
+
+
Sudah memiliki akun? Masuk di sini
-
-
-
-
+ {{-- --}}
+
-
-
+ function prevStep() {
+ if (currentStep > 1) {
+ currentStep--;
+ updateUI();
+ }
+ }
+
+ function fetchSchoolData() {
+ const npsn = document.getElementById('npsn').value;
+ const btn = document.getElementById('btn-fetch');
+ const autoFill = document.getElementById('auto-fill-data');
+
+ if (npsn.length === 8) {
+ btn.innerHTML = `
sync Tunggu...`;
+ btn.disabled = true;
+
+ // Simulate API call
+ setTimeout(() => {
+ autoFill.classList.remove('hidden');
+ btn.innerHTML = `
check_circle Terdata`;
+ btn.classList.replace('bg-emerald-600', 'bg-blue-600');
+
+ // Specific Mock Data for Jakarta
+ const names = ["SDN MENTENG 01", "SMP NEGERI 1 JAKARTA", "SMA NEGERI 8 JAKARTA", "SMK NEGERI 26 JAKARTA"];
+ const levels = ["Sekolah Dasar (SD) • Negeri", "Menengah Pertama (SMP) • Negeri", "Menengah Atas (SMA) • Negeri", "Kejuruan (SMK) • Negeri"];
+ const idx = Math.floor(Math.random() * names.length);
+
+ document.getElementById('display-school-name').innerText = names[idx];
+ document.getElementById('display-school-type').innerText = levels[idx];
+ }, 1200);
+ } else {
+ alert("NPSN harus 8 digit.");
+ }
+ }
+
+ function checkStrength() {
+ const pwd = document.getElementById('password').value;
+ const bar = document.getElementById('strength-bar');
+ const text = document.getElementById('strength-text');
+
+ if (pwd.length === 0) {
+ bar.style.width = '0%';
+ text.innerText = 'Sandi Kosong';
+ text.className = 'text-xs font-bold text-slate-400 mt-1 uppercase tracking-tighter';
+ } else if (pwd.length < 6) {
+ bar.style.width = '30%';
+ bar.className = 'h-full bg-red-500 transition-all';
+ text.innerText = 'Sandi Lemah';
+ text.className = 'text-xs font-bold text-red-500 mt-1 uppercase tracking-tighter';
+ } else if (pwd.length < 10) {
+ bar.style.width = '60%';
+ bar.className = 'h-full bg-amber-500 transition-all';
+ text.innerText = 'Sandi Sedang';
+ text.className = 'text-xs font-bold text-amber-500 mt-1 uppercase tracking-tighter';
+ } else {
+ bar.style.width = '100%';
+ bar.className = 'h-full bg-emerald-500 transition-all';
+ text.innerText = 'Sandi Sangat Kuat';
+ text.className = 'text-xs font-bold text-emerald-500 mt-1 uppercase tracking-tighter';
+ }
+ }
+
+ function togglePassword() {
+ const input = document.getElementById('password');
+ const icon = document.getElementById('toggle-pwd');
+ if (input.type === 'password') {
+ input.type = 'text';
+ icon.innerText = 'visibility_off';
+ } else {
+ input.type = 'password';
+ icon.innerText = 'visibility';
+ }
+ }
+
+
+
+ form.addEventListener('submit', (e) => {
+ e.preventDefault();
+ if (!document.getElementById('terms').checked) {
+ alert("Mohon setujui Syarat & Ketentuan.");
+ return;
+ }
+ $.ajax({
+ url: "{{ url('register') }}",
+ type: "POST",
+ xhrFields: {
+ withCredentials: true
+ },
+ data: $(form).serialize(), // 🔥 serialize di sini
+ success: function(response) {
+ $('#errorMessage').addClass('hidden');
+ document.getElementById('success-modal').classList.remove('hidden');
+ },error:function(xhr){
+ let res = xhr.responseJSON;
+ $('#errorMessage').removeClass('hidden');
+ $('.message').html(res.message);
+ }
+ });
+ });
+
+ // Styles for animations
+ const style = document.createElement('style');
+ style.textContent = `
+ @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
+ @keyframes zoomIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
+ `;
+ document.head.appendChild(style);
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/auth/registerold.blade.php b/resources/views/auth/registerold.blade.php
new file mode 100644
index 0000000..3c740b1
--- /dev/null
+++ b/resources/views/auth/registerold.blade.php
@@ -0,0 +1,494 @@
+
+
+
+
+
+ Register - SIDIA Jakarta
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @include('include.alert')
+
+
+
+
+
+
+
+
+
+
+ {{--
--}}
+
+
+
+
SIDIA Jakarta
+
+
+
+
+ {{csrf_field()}}
+
+
+
+
+
+
+
+
+
+ Kontak Person
+
+ @error('kontak_person')
+ {{$message}}
+ @enderror
+
+
+
+
+
+
+
+
+
+
+ Alamat Sekolah
+
+ @error('alamat_sekolah')
+ {{$message}}
+ @enderror
+
+
+
+ Telp/WA
+
+ @error('telp')
+ {{$message}}
+ @enderror
+
+
+
+
+
+
+
+
+
+ Email
+
+ @error('email')
+ {{$message}}
+ @enderror
+ * Pastikan email benar dan aktif, akses aplikasi akan dikirim ke email yang didaftarkan.
+
+
+
+
+
+ Dengan ini menyatakan bahwa isian registrasi diatas sudah benar.
+ @error('check')
+ {{$message}}
+ @enderror
+
+
+
+
+ Sudah punya akun? Login
+
+
+
+
+
+
+
+
+
+ {{date('Y')}} © Dinas Lingkungan Hidup Provinsi DKI Jakarta
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/views/include/alertNew.blade.php b/resources/views/include/alertNew.blade.php
new file mode 100644
index 0000000..55eaf23
--- /dev/null
+++ b/resources/views/include/alertNew.blade.php
@@ -0,0 +1,6 @@
+@if(session()->get('type')=='error')
+
+ error
+ Username atau password salah. Silakan coba lagi.
+
+@endif
\ No newline at end of file
diff --git a/resources/views/layouts/appNew.blade.php b/resources/views/layouts/appNew.blade.php
index 8dc7b0c..8b037ea 100644
--- a/resources/views/layouts/appNew.blade.php
+++ b/resources/views/layouts/appNew.blade.php
@@ -145,7 +145,7 @@
Kegiatan Sekolah Adiwiyata
Galeri
-
Masuk login
+
Masuk login
menu
diff --git a/resources/views/sekolah.blade.php b/resources/views/sekolah.blade.php
index 26b94f4..198440a 100644
--- a/resources/views/sekolah.blade.php
+++ b/resources/views/sekolah.blade.php
@@ -1,42 +1,147 @@
-@extends('layouts.app')
+@extends('layouts.appNew')
@section('title',@$title)
@section('css')
-
@endsection
@section('content')
-
-
-
-
-
-
-
-
- No
- Sekolah
- Kota
- Tahun
- Skor
-
-
-
-
-
-
+
+
+
+
+
Cari dan filter sekolah-sekolah di Jakarta yang telah berhasil meraih predikat Adiwiyata.
+
+
+
+
+
+ search
+
+
+
+
+ Semua Kota
+ Jakarta Timur
+ Jakarta Pusat
+ Jakarta Selatan
+ Jakarta Utara
+ Jakarta Barat
+
+
+ Semua Jenjang
+ Provinsi
+ Nasional
+ Mandiri
+ Kota
+
+
+
+
+
+
+
+
+ Nasional
+
+
+
SMAN 62 JAKARTA
+
+ location_on Jakarta Timur
+
+
+
+
+
+ Provinsi
+
+
+
SMAN 9 JAKARTA
+
+ location_on Jakarta Timur
+
+
+
+
+
+ Kota
+
+
+
SDS Merpati
+
+ location_on Jakarta Pusat
+
+
+
+
+
+ Nasional
+
+
+
MAN 4 JAKARTA
+
+ location_on Jakarta Selatan
+
+
+
+
+
+ Mandiri
+
+
+
SDN Rambutan 03 Pagi
+
+ location_on Jakarta Timur
+
+
+
+
+
+ Provinsi
+
+
+
SMPN 23 JAKARTA
+
+ location_on Jakarta Utara
+
+
+
+
+
+ Nasional
+
+
+
SMAN 42 JAKARTA
+
+ location_on Jakarta Timur
+
+
+
+
+
+ Kota
+
+
+
SDN 01 Grogol
+
+ location_on Jakarta Barat
+
+
+
+
+
+ Provinsi
+
+
+
SMAN 1 JAKARTA
+
+ location_on Jakarta Pusat
+
+
+
+
+
+ Tampilkan Lebih Banyak
+
+
+
@endsection
@section('js')
-
-
@endsection
\ No newline at end of file
diff --git a/resources/views/sekolahold.blade.php b/resources/views/sekolahold.blade.php
new file mode 100644
index 0000000..1bcca71
--- /dev/null
+++ b/resources/views/sekolahold.blade.php
@@ -0,0 +1,42 @@
+@extends('layouts.app')
+@section('title',@$title)
+@section('css')
+
+@endsection
+@section('content')
+
+
+
+
+
+
+
+
+ No
+ Sekolah
+ Kota
+ Tahun
+ Skor
+
+
+
+
+
+
+@endsection
+@section('js')
+
+
+@endsection
\ No newline at end of file
diff --git a/routes/web.php b/routes/web.php
index 9fcb01c..954ff9e 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -51,7 +51,7 @@ Route::middleware([Session::class])->name('modules.')->group(function () {
});
Route::get('/',[FrontController::class,'index'])->name('index');
-Route::get('/new',[FrontController::class,'indexNew'])->name('indexNew');
+// Route::get('/new',[FrontController::class,'indexNew'])->name('indexNew');
Route::get('/sekolah',[FrontController::class,'sekolah'])->name('sekolah');
Route::get('/kegiatan',[FrontController::class,'kegiatan'])->name('kegiatan');
Route::get('/kegiatan/{slug}',[FrontController::class,'kegiatan_detail'])->name('kegiatan_detail');