diff --git a/Areas/Admin/Controllers/DataSudinChecklistHarianController.cs b/Areas/Admin/Controllers/DataSudinChecklistHarianController.cs new file mode 100644 index 0000000..a1f7e9a --- /dev/null +++ b/Areas/Admin/Controllers/DataSudinChecklistHarianController.cs @@ -0,0 +1,89 @@ +using Microsoft.AspNetCore.Mvc; + +namespace BpsRwApp.Areas.Admin.Controllers +{ + [Area("Admin")] + [Route("Admin/[controller]/[action]")] + public class DataSudinChecklistHarianController : Controller + { + public IActionResult Index() + { + return View(); + } + + [HttpGet] + public IActionResult Table() + { + var data = new[] + { + new { + kecamatan = "Kebayoran", + total_checklist = 12, + checklist_terverifikasi = 10, + belum_terverifikasi = 2, + }, + new { + kecamatan = "Tebet", + total_checklist = 11, + checklist_terverifikasi = 8, + belum_terverifikasi = 3, + }, + new { + kecamatan = "Menteng", + total_checklist = 15, + checklist_terverifikasi = 12, + belum_terverifikasi = 3, + }, + new { + kecamatan = "Cilandak", + total_checklist = 88, + checklist_terverifikasi = 76, + belum_terverifikasi = 12, + }, + new { + kecamatan = "Setiabudi", + total_checklist = 2, + checklist_terverifikasi = 2, + belum_terverifikasi = 0, + }, + new { + kecamatan = "Gambir", + total_checklist = 71, + checklist_terverifikasi = 70, + belum_terverifikasi = 1, + }, + new { + kecamatan = "Cakung", + total_checklist = 33, + checklist_terverifikasi = 23, + belum_terverifikasi = 10, + }, + new { + kecamatan = "Kelapa Gading", + total_checklist = 94, + checklist_terverifikasi = 92, + belum_terverifikasi = 2, + }, + new { + kecamatan = "Pancoran", + total_checklist = 21, + checklist_terverifikasi = 17, + belum_terverifikasi = 4, + }, + new { + kecamatan = "Tanah Abang", + total_checklist = 61, + checklist_terverifikasi = 56, + belum_terverifikasi = 5, + }, + }; + + var response = new + { + data = data + }; + + return Json(response); + } + } +} diff --git a/Areas/Admin/Views/DataSudinChecklistHarian/Index.cshtml b/Areas/Admin/Views/DataSudinChecklistHarian/Index.cshtml new file mode 100644 index 0000000..c86a03f --- /dev/null +++ b/Areas/Admin/Views/DataSudinChecklistHarian/Index.cshtml @@ -0,0 +1,67 @@ +@{ + ViewData["Title"] = "Checklist Harian"; +} + + + + +
+
+

Checklist Harian

+
+
+ + filter_list + Filter + +
+
+ +
+ +
+
+ + + + + + + + + + + +
NoKecamatanTotal ChecklistChecklist TerverifikasiBelum Terverifikasi
+
+
+ + + + + \ No newline at end of file diff --git a/Areas/Shared/Layouts/App/_Sidebar.cshtml b/Areas/Shared/Layouts/App/_Sidebar.cshtml index 9f241c5..a030b01 100644 --- a/Areas/Shared/Layouts/App/_Sidebar.cshtml +++ b/Areas/Shared/Layouts/App/_Sidebar.cshtml @@ -21,7 +21,7 @@
  • -
    +
    DATA SUDIN