From 24e2f02367bc1e22a1a0a0be443d011d61b4bef9 Mon Sep 17 00:00:00 2001 From: daffarahman11 Date: Wed, 23 Apr 2025 23:13:44 +0700 Subject: [PATCH] update nama folder admin --- .../views/admin/dashboardAdmin.blade.php | 211 ++++++++++++++++++ .../views/admin/dashboardBlank.blade.php | 3 + .../admin/dashboardDetailCuranmor.blade.php | 72 ++++++ .../admin/dashboardDetailCuras.blade.php | 72 ++++++ .../admin/dashboardEditCuranmor.blade.php | 60 +++++ .../views/admin/dashboardEditCuras.blade.php | 64 ++++++ .../admin/dashboardEditKecamatan.blade.php | 39 ++++ .../admin/dashboardEditKlaster.blade.php | 49 ++++ .../admin/dashboardIterasiCuras.blade.php | 70 ++++++ .../admin/dashboardListCuranmor.blade.php | 65 ++++++ .../views/admin/dashboardListCuras.blade.php | 65 ++++++ .../admin/dashboardListKecamatan.blade.php | 75 +++++++ .../admin/dashboardListKlaster.blade.php | 76 +++++++ .../admin/dashboardMapCuranmor.blade.php | 71 ++++++ .../views/admin/dashboardMapCuras.blade.php | 69 ++++++ .../admin/dashboardTambahCuranmor.blade.php | 47 ++++ .../admin/dashboardTambahCuras.blade.php | 45 ++++ .../admin/dashboardTambahKecamatan.blade.php | 38 ++++ .../admin/dashboardTambahKlaster.blade.php | 48 ++++ resources/views/admin/login.blade.php | 180 +++++++++++++++ resources/views/admin/welcome.blade.php | 176 +++++++++++++++ 21 files changed, 1595 insertions(+) create mode 100644 resources/views/admin/dashboardAdmin.blade.php create mode 100644 resources/views/admin/dashboardBlank.blade.php create mode 100644 resources/views/admin/dashboardDetailCuranmor.blade.php create mode 100644 resources/views/admin/dashboardDetailCuras.blade.php create mode 100644 resources/views/admin/dashboardEditCuranmor.blade.php create mode 100644 resources/views/admin/dashboardEditCuras.blade.php create mode 100644 resources/views/admin/dashboardEditKecamatan.blade.php create mode 100644 resources/views/admin/dashboardEditKlaster.blade.php create mode 100644 resources/views/admin/dashboardIterasiCuras.blade.php create mode 100644 resources/views/admin/dashboardListCuranmor.blade.php create mode 100644 resources/views/admin/dashboardListCuras.blade.php create mode 100644 resources/views/admin/dashboardListKecamatan.blade.php create mode 100644 resources/views/admin/dashboardListKlaster.blade.php create mode 100644 resources/views/admin/dashboardMapCuranmor.blade.php create mode 100644 resources/views/admin/dashboardMapCuras.blade.php create mode 100644 resources/views/admin/dashboardTambahCuranmor.blade.php create mode 100644 resources/views/admin/dashboardTambahCuras.blade.php create mode 100644 resources/views/admin/dashboardTambahKecamatan.blade.php create mode 100644 resources/views/admin/dashboardTambahKlaster.blade.php create mode 100644 resources/views/admin/login.blade.php create mode 100644 resources/views/admin/welcome.blade.php diff --git a/resources/views/admin/dashboardAdmin.blade.php b/resources/views/admin/dashboardAdmin.blade.php new file mode 100644 index 0000000..a3ae6c3 --- /dev/null +++ b/resources/views/admin/dashboardAdmin.blade.php @@ -0,0 +1,211 @@ + +
+
+
+
+
+
+

Hai {{ Auth::user()->nama }}

+

Selamat Datang di Dashboard Admin Sistem Informasi Geografis (SIG) PROTECT

+
+
+
+
+
+
+
+
+
+
+ image +
+
+

+ Kecamatan Rawan Curas +

+

{{ $jumlahRawanCuras }}

+
+
+
+ + +
+
+
+
+
+
+
+
+
+ image +
+
+

+ Kecamatan Rawan Ranmor +

+

{{ $jumlahRawanCuranmor }}

+
+
+
+ + +
+
+
+
+
+
+
+
+
+ image +
+
+

+ Kecamatan Kab Probolinggo +

+

{{ $totalKecamatan }}

+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+

Pemetaan Curas dan Curanmor Kab Probolinggo

+
+
+ +
+
+
+
+
+
+
+
+ + + +
+ {{-- Script MAP --}} + + + + + + \ No newline at end of file diff --git a/resources/views/admin/dashboardBlank.blade.php b/resources/views/admin/dashboardBlank.blade.php new file mode 100644 index 0000000..06aea1d --- /dev/null +++ b/resources/views/admin/dashboardBlank.blade.php @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/views/admin/dashboardDetailCuranmor.blade.php b/resources/views/admin/dashboardDetailCuranmor.blade.php new file mode 100644 index 0000000..127d448 --- /dev/null +++ b/resources/views/admin/dashboardDetailCuranmor.blade.php @@ -0,0 +1,72 @@ + +
+
+
+
+
+
+

Detail Kasus Curanmor Per Tanggal

+

Berikut ini merupakan rincian kasus Pencurian Kendaraan Bermotor (CURANMOR) + yang dikelompokkan berdasarkan tanggal di inputkannya kasus CURANMOR yang terjadi

+
+
+ @if (session()->has('succes')) + + @endif + @if (session()->has('error')) + + @endif +
+
+
+ + + + + + + + + + + + @php + $grouped = $detail_curanmor->groupBy(function($item) { + return $item->created_at->format('Y-m-d'); + }); + @endphp + @foreach($grouped as $tanggal => $items) + @foreach($items as $index => $detail) + + @if ($index == 0) + + @endif + + + + + + @endforeach + @endforeach + +
TanggalNama KecamatanTambahan Kasus CuranmorTotal Curanmor Per KecamatanBatalkan Update Kasus
{{ \Carbon\Carbon::parse($tanggal)->translatedFormat('d F Y') }}{{ $detail->detailCuranmor_Kecamatan->nama_kecamatan }}{{ $detail->tambahan_curanmor }}{{ $detail->detailCuranmor_Curanmor->jumlah_curanmor }} +
+
+ @method('delete') + @csrf + + +
+
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardDetailCuras.blade.php b/resources/views/admin/dashboardDetailCuras.blade.php new file mode 100644 index 0000000..e445602 --- /dev/null +++ b/resources/views/admin/dashboardDetailCuras.blade.php @@ -0,0 +1,72 @@ + +
+
+
+
+
+
+

Detail Kasus Curas Per Tanggal

+

Berikut ini merupakan rincian kasus Pencurian Dengan Kekerasan (CURAS) + yang dikelompokkan berdasarkan tanggal di inputkannya kasus CURAS yang terjadi

+
+
+ @if (session()->has('succes')) + + @endif + @if (session()->has('error')) + + @endif +
+
+
+ + + + + + + + + + + + @php + $grouped = $detail_curas->groupBy(function($item) { + return $item->created_at->format('Y-m-d'); + }); + @endphp + @foreach($grouped as $tanggal => $items) + @foreach($items as $index => $detail) + + @if ($index == 0) + + @endif + + + + + + @endforeach + @endforeach + +
TanggalNama KecamatanTambahan Kasus CurasTotal Curas Per KecamatanBatalkan Update Kasus
{{ \Carbon\Carbon::parse($tanggal)->translatedFormat('d F Y') }}{{ $detail->detailCuras_Kecamatan->nama_kecamatan }}{{ $detail->tambahan_curas }}{{ $detail->detailCuras_Curas->jumlah_curas }} +
+
+ @method('delete') + @csrf + + +
+
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardEditCuranmor.blade.php b/resources/views/admin/dashboardEditCuranmor.blade.php new file mode 100644 index 0000000..079db9d --- /dev/null +++ b/resources/views/admin/dashboardEditCuranmor.blade.php @@ -0,0 +1,60 @@ + +
+
+
+
+
+
+
+

Ubah Data Kasus CURANMOR Pada Kecamatan + {{ $curanmor->punyaKecamatanCuranmor->nama_kecamatan}}

+
+
+
+
+ @method('put') + @csrf +
+
+
+ + + + + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/dashboardEditCuras.blade.php b/resources/views/admin/dashboardEditCuras.blade.php new file mode 100644 index 0000000..e9e6c71 --- /dev/null +++ b/resources/views/admin/dashboardEditCuras.blade.php @@ -0,0 +1,64 @@ + +
+
+
+
+
+
+
+

Ubah Data Kasus CURAS Pada Kecamatan + {{ $curas->punyaKecamatanCuras->nama_kecamatan}}

+
+
+
+
+ @method('put') + @csrf +
+
+
+ + + + + + + + + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/dashboardEditKecamatan.blade.php b/resources/views/admin/dashboardEditKecamatan.blade.php new file mode 100644 index 0000000..96f7d6d --- /dev/null +++ b/resources/views/admin/dashboardEditKecamatan.blade.php @@ -0,0 +1,39 @@ + +
+
+
+
+
+
+
+

Ubah Data Kecamatan

+
+
+
+
+ @method('put') + @csrf +
+
+
+ + + @error('nama_kecamatan') +
{{$message}} +
+ @enderror +
+
+
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/dashboardEditKlaster.blade.php b/resources/views/admin/dashboardEditKlaster.blade.php new file mode 100644 index 0000000..bc0a05e --- /dev/null +++ b/resources/views/admin/dashboardEditKlaster.blade.php @@ -0,0 +1,49 @@ + +
+
+
+
+
+
+
+

Ubah Data Klaster

+
+
+
+
+ @method('put') + @csrf +
+
+
+ + + @error('nama_klaster') +
{{$message}} +
+ @enderror +
+
+
+
+ + + @error('warna') +
{{$message}} +
+ @enderror +
+
+
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/dashboardIterasiCuras.blade.php b/resources/views/admin/dashboardIterasiCuras.blade.php new file mode 100644 index 0000000..51e6126 --- /dev/null +++ b/resources/views/admin/dashboardIterasiCuras.blade.php @@ -0,0 +1,70 @@ + +
+
+
+
+
+
+

Iterasi K-Means Untuk Kasus Curas

+

Sales enables you to effectively control sales KPIs and monitor them in one central
+ place while helping teams to reach sales goals.

+
+ Tambah Kasus Curas +
+ @if (session()->has('succes')) + + @endif + @if (session()->has('error')) + + @endif +
+
+ @foreach ($iterasi as $i => $baris) +

Iterasi {{ $i + 1 }}

+
+ + + + + + + + + + + + @foreach ($baris as $row) + + + + + + + + + + + @endforeach +
+
+ + +
+
NoNama KecamatanJarak Ke Centroid 1Jarak Ke Centroid 2Jarak Ke Centroid 3
+
+ + +
+
{{ $loop->iteration }}{{ $row['kecamatan_id'] }}{{ $row['jarakC1'] }}{{ $row['jarakC2'] }}{{ $row['jarakC3'] }}
+
+ @endforeach +
+
+ +
+
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardListCuranmor.blade.php b/resources/views/admin/dashboardListCuranmor.blade.php new file mode 100644 index 0000000..3b938b1 --- /dev/null +++ b/resources/views/admin/dashboardListCuranmor.blade.php @@ -0,0 +1,65 @@ + +
+
+
+
+
+
+

Daftar Kasus Pencurian Kendaraan Bermotor (CURANMOR)

+

Berikut ini merupakan data kasus Pencurian Kendaraan Bermotor (CURANMOR) pada
+ masing masing kecamatan di Kabupaten Probolinggo

+
+ Tambah Kasus Curanmor +
+ @if (session()->has('succes')) + + @endif + @if (session()->has('error')) + + @endif +
+
+
+ + + + + + + + + + + @foreach ( $curanmors as $curanmor ) + + + + + + + + + + @endforeach +
+
+ + +
+
NoNama KecamatanJumlah Kasus CuranmorKlaster
+
+ + +
+
{{ $loop->iteration }}{{ $curanmor->punyaKecamatanCuranmor->nama_kecamatan}}{{ $curanmor->jumlah_curanmor }}{{ $curanmor->punyaKlasterCuranmor->nama_klaster }}
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardListCuras.blade.php b/resources/views/admin/dashboardListCuras.blade.php new file mode 100644 index 0000000..3af730e --- /dev/null +++ b/resources/views/admin/dashboardListCuras.blade.php @@ -0,0 +1,65 @@ + +
+
+
+
+
+
+

Daftar Kasus Pencurian Dengan Kekerasan (CURAS)

+

Berikut ini merupakan data kasus Pencurian Dengan Kekerasan (CURAS) pada
+ masing masing kecamatan di Kabupaten Probolinggo

+
+ Tambah Kasus Curas +
+ @if (session()->has('succes')) + + @endif + @if (session()->has('error')) + + @endif +
+
+
+ + + + + + + + + + + @foreach ( $curases as $curas ) + + + + + + + + + + @endforeach +
+
+ + +
+
NoNama KecamatanJumlah Kasus CurasKlaster
+
+ + +
+
{{ $loop->iteration }}{{ $curas->punyaKecamatanCuras->nama_kecamatan}}{{ $curas->jumlah_curas }}{{ $curas->punyaKlasterCuras->nama_klaster }}
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardListKecamatan.blade.php b/resources/views/admin/dashboardListKecamatan.blade.php new file mode 100644 index 0000000..332b7d0 --- /dev/null +++ b/resources/views/admin/dashboardListKecamatan.blade.php @@ -0,0 +1,75 @@ + +
+
+
+
+
+
+

Daftar Kecamatan Kabupaten Probolinggo

+

Berikut merupakan data seluruh kecamatan yang berada di wilayah
+ Kabupaten Probolinggo.

+
+ + Tambah Kecamatan +
+ @if (session()->has('succes')) + + @endif + @if (session()->has('error')) + + @endif +
+
+
+ + + + + + + + + + @foreach ( $kecamatans as $kecamatan ) + + + + + + + + + @endforeach +
+
+ + +
+
NoNama KecamatanAction
+
+ + +
+
{{ $kecamatan -> id }}{{ $kecamatan -> nama_kecamatan }} +
+ +
+ @method('delete') + @csrf + + +
+
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardListKlaster.blade.php b/resources/views/admin/dashboardListKlaster.blade.php new file mode 100644 index 0000000..8198cb7 --- /dev/null +++ b/resources/views/admin/dashboardListKlaster.blade.php @@ -0,0 +1,76 @@ + +
+
+
+
+
+
+

Daftar Klaster

+

Berikut merupakan data Klaster atau Kategori yang dijadikan sebagai acuan pemetaan.
+ Ingat dalam pengisian data klaster, kategori aman atau rendah dimulai dari id 1

+
+ Tambah Klaster +
+
+ @if (session()->has('succes')) + + @endif + @if (session()->has('error')) + + @endif +
+
+ + + + + + + + + + + @foreach ( $klasters as $klaster ) + + + + + + + + + + @endforeach +
+
+ + +
+
idNama KlasterWarnaAction
+
+ + +
+
{{ $klaster -> id }}{{ $klaster -> nama_klaster }}{{ $klaster -> warna }} +
+ +
+ @method('delete') + @csrf + + +
+
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardMapCuranmor.blade.php b/resources/views/admin/dashboardMapCuranmor.blade.php new file mode 100644 index 0000000..67192df --- /dev/null +++ b/resources/views/admin/dashboardMapCuranmor.blade.php @@ -0,0 +1,71 @@ + +
+ +
+ + +
+ + + + + +
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardMapCuras.blade.php b/resources/views/admin/dashboardMapCuras.blade.php new file mode 100644 index 0000000..f2eed1f --- /dev/null +++ b/resources/views/admin/dashboardMapCuras.blade.php @@ -0,0 +1,69 @@ + +
+ +
+ + + + + +
+
\ No newline at end of file diff --git a/resources/views/admin/dashboardTambahCuranmor.blade.php b/resources/views/admin/dashboardTambahCuranmor.blade.php new file mode 100644 index 0000000..76e5d34 --- /dev/null +++ b/resources/views/admin/dashboardTambahCuranmor.blade.php @@ -0,0 +1,47 @@ + +
+
+
+
+
+
+
+

Tambah Data Kasus Pencurian Kendaraan Bermotor ( CURANMOR )

+
+
+
+
+ @csrf +
+
+
+ + +
+
+
+
+ + +
+
+ +
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/dashboardTambahCuras.blade.php b/resources/views/admin/dashboardTambahCuras.blade.php new file mode 100644 index 0000000..c4cf6db --- /dev/null +++ b/resources/views/admin/dashboardTambahCuras.blade.php @@ -0,0 +1,45 @@ + +
+
+
+
+
+
+
+

Tambah Data Kasus CURAS Hari Ini

+
+
+
+
+ @csrf +
+
+
+ + +
+
+
+
+ + +
+
+
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/dashboardTambahKecamatan.blade.php b/resources/views/admin/dashboardTambahKecamatan.blade.php new file mode 100644 index 0000000..d75da97 --- /dev/null +++ b/resources/views/admin/dashboardTambahKecamatan.blade.php @@ -0,0 +1,38 @@ + +
+
+
+
+
+
+
+

Tambah Data Kecamatan Baru

+
+
+
+
+ @csrf +
+
+
+ + + @error('nama_kecamatan') +
{{$message}} +
+ @enderror +
+
+
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/dashboardTambahKlaster.blade.php b/resources/views/admin/dashboardTambahKlaster.blade.php new file mode 100644 index 0000000..d215cec --- /dev/null +++ b/resources/views/admin/dashboardTambahKlaster.blade.php @@ -0,0 +1,48 @@ + +
+
+
+
+
+
+
+

Tambah Klaster Baru

+
+
+
+
+ @csrf +
+
+
+ + + @error('nama_klaster') +
{{$message}} +
+ @enderror +
+
+
+
+ + + @error('warna') +
{{$message}} +
+ @enderror +
+
+
+ + +
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/resources/views/admin/login.blade.php b/resources/views/admin/login.blade.php new file mode 100644 index 0000000..5f19fbd --- /dev/null +++ b/resources/views/admin/login.blade.php @@ -0,0 +1,180 @@ + + + + + + + + KPROTECT | Probolinggo Threat & Crime Tracker + + + + + + + + + + + + + + +
+
+ loder +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/views/admin/welcome.blade.php b/resources/views/admin/welcome.blade.php new file mode 100644 index 0000000..b9d609c --- /dev/null +++ b/resources/views/admin/welcome.blade.php @@ -0,0 +1,176 @@ + + + + + + + Laravel + + + + + + + @if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot'))) + @vite(['resources/css/app.css', 'resources/js/app.js']) + @else + + @endif + + + + +