From 69786b96ff3777a642720ae3b703e43fb6561cb8 Mon Sep 17 00:00:00 2001 From: Kevin Hendrawan Date: Thu, 11 Dec 2025 18:51:50 +0700 Subject: [PATCH] feat:reduksi sampah satpel module --- .../Main/ReduksiSampahSatpelController.cs | 91 ++++++++++++++++++ Views/Main/ReduksiSampahSatpel/Index.cshtml | 96 +++++++++++++++++++ Views/Shared/_SidebarUnified.cshtml | 4 +- 3 files changed, 189 insertions(+), 2 deletions(-) create mode 100644 Controllers/Main/ReduksiSampahSatpelController.cs create mode 100644 Views/Main/ReduksiSampahSatpel/Index.cshtml diff --git a/Controllers/Main/ReduksiSampahSatpelController.cs b/Controllers/Main/ReduksiSampahSatpelController.cs new file mode 100644 index 0000000..db5cf49 --- /dev/null +++ b/Controllers/Main/ReduksiSampahSatpelController.cs @@ -0,0 +1,91 @@ +using Microsoft.AspNetCore.Mvc; + +namespace BankSampahApp.Controllers.Main +{ + [Route("Main/[controller]/[action]")] + public class ReduksiSampahSatpelController : Controller + { + public IActionResult Index() + { + return View("~/Views/Main/ReduksiSampahSatpel/Index.cshtml"); + } + + [HttpGet] + public IActionResult Table() + { + var data = new[] + { + new { + periode = "Januari", + jumlah_rumah_memilah = "Kecamatan Kramatjati", + status = "
DIVERIFIKASI SATPEL
", + gambar = "", + }, + new { + periode = "Januari", + jumlah_rumah_memilah = "Kecamatan Kramatjati", + status = "
DIVERIFIKASI SATPEL
", + gambar = "", + }, + new { + periode = "Februari", + jumlah_rumah_memilah = "Kecamatan Pasar Rebo", + status = "
MENUNGGU VERIFIKASI
", + gambar = "", + }, + new { + periode = "Maret", + jumlah_rumah_memilah = "Kecamatan Ciracas", + status = "
DIVERIFIKASI SATPEL
", + gambar = "", + }, + new { + periode = "April", + jumlah_rumah_memilah = "Kecamatan Makasar", + status = "
BELUM DISETUJUI
", + gambar = "", + }, + new { + periode = "Mei", + jumlah_rumah_memilah = "Kecamatan Jatinegara", + status = "
DIVERIFIKASI SATPEL
", + gambar = "", + }, + new { + periode = "Juni", + jumlah_rumah_memilah = "Kecamatan Duren Sawit", + status = "
MENUNGGU VERIFIKASI
", + gambar = "", + }, + new { + periode = "Juli", + jumlah_rumah_memilah = "Kecamatan Cipayung", + status = "
DIVERIFIKASI SATPEL
", + gambar = "", + }, + new { + periode = "Agustus", + jumlah_rumah_memilah = "Kecamatan Kembangan", + status = "
BELUM DISETUJUI
", + gambar = "", + }, + new { + periode = "September", + jumlah_rumah_memilah = "Kecamatan Palmerah", + status = "
MENUNGGU VERIFIKASI
", + gambar = "", + }, + new { + periode = "Oktober", + jumlah_rumah_memilah = "Kecamatan Kebayoran Baru", + status = "
DIVERIFIKASI SATPEL
", + gambar = "", + } + + }; + + return Json(new { data = data }); + } + } + +} \ No newline at end of file diff --git a/Views/Main/ReduksiSampahSatpel/Index.cshtml b/Views/Main/ReduksiSampahSatpel/Index.cshtml new file mode 100644 index 0000000..5d91f9b --- /dev/null +++ b/Views/Main/ReduksiSampahSatpel/Index.cshtml @@ -0,0 +1,96 @@ +@{ + ViewData["Title"] = "Reduksi Sampah"; +} + +
+
+ + Reduksi Sampah + +
+
+ + +
+
+ + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + +
NoBulanJumlah Rumah yang MemilahStatusGambar
+
+
+
+ + +@section Scripts { + +} diff --git a/Views/Shared/_SidebarUnified.cshtml b/Views/Shared/_SidebarUnified.cshtml index 9302849..b1b8cf3 100644 --- a/Views/Shared/_SidebarUnified.cshtml +++ b/Views/Shared/_SidebarUnified.cshtml @@ -182,9 +182,9 @@
  • - + - Reduksi Sampah + Reduksi Sampah Satpel