diff --git a/Controllers/LaporanRwRwController.cs b/Controllers/LaporanRwRwController.cs new file mode 100644 index 0000000..35e4067 --- /dev/null +++ b/Controllers/LaporanRwRwController.cs @@ -0,0 +1,88 @@ +using Microsoft.AspNetCore.Mvc; + +namespace BpsRwApp.Controllers +{ + [Route("[controller]/[action]")] + public class LaporanRwRwController : AppControllerBase + { + public IActionResult Index() + { + return View(); + } + + [HttpGet] + public IActionResult Table() + { + var data = new[] + { + new { + bulan = "Januari", + rumah_aktif_memilah = 104, + status = "
Belum Diverifikasi
", + gambar = "" + }, + new { + bulan = "Februari", + rumah_aktif_memilah = 67, + status = "
Belum Diverifikasi
", + gambar = "" + }, + new { + bulan = "Maret", + rumah_aktif_memilah = 110, + status = "
Belum Diverifikasi
", + gambar = "" + }, + new { + bulan = "April", + rumah_aktif_memilah = 88, + status = "
Verifikasi Sudin
", + gambar = "" + }, + new { + bulan = "Mei", + rumah_aktif_memilah = 90, + status = "
Verifikasi Sudin
", + gambar = "" + }, + new { + bulan = "Juni", + rumah_aktif_memilah = 72, + status = "
Verifikasi Sudin
", + gambar = "" + }, + new { + bulan = "Juli", + rumah_aktif_memilah = 81, + status = "
Verifikasi Sudin
", + gambar = "" + }, + new { + bulan = "Agustus", + rumah_aktif_memilah = 65, + status = "
Verifikasi Sudin
", + gambar = "" + }, + new { + bulan = "September", + rumah_aktif_memilah = 90, + status = "
Verifikasi Sudin
", + gambar = "" + }, + new { + bulan = "Oktober", + rumah_aktif_memilah = 72, + status = "
Verifikasi Sudin
", + gambar = "" + }, + }; + + var response = new + { + data = data + }; + + return Json(response); + } + } +} diff --git a/Views/LaporanRwRw/Index.cshtml b/Views/LaporanRwRw/Index.cshtml new file mode 100644 index 0000000..92d2d83 --- /dev/null +++ b/Views/LaporanRwRw/Index.cshtml @@ -0,0 +1,64 @@ +@{ + ViewData["Title"] = "Laporan RW (RW)"; +} + + + +
+

Data Input Laporan RW

+
+ + + + add + Tambah + +
+
+ +
+
+ + + + + + + + + + + +
NoBulanJumlah Rumah Aktif MemilahStatusGambar
+
+
+ + + + + diff --git a/Views/Shared/Layouts/App/_Sidebar.cshtml b/Views/Shared/Layouts/App/_Sidebar.cshtml index 64954a3..bb83719 100644 --- a/Views/Shared/Layouts/App/_Sidebar.cshtml +++ b/Views/Shared/Layouts/App/_Sidebar.cshtml @@ -155,5 +155,20 @@ +
  • +
    + INPUT + +
    +