133 lines
5.8 KiB
C#
133 lines
5.8 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BpsRwApp.Controllers
|
|
{
|
|
[Route("[controller]/[action]")]
|
|
public class DataVerifikasiChecklistHarianController : AppControllerBase
|
|
{
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[HttpGet]
|
|
public IActionResult Table()
|
|
{
|
|
var data = new[]
|
|
{
|
|
new {
|
|
tanggal = "22 Nov 2025",
|
|
kelurahan = "Kebon Jeruk",
|
|
rw = "04",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
new {
|
|
tanggal = "15 Sep 2023",
|
|
kelurahan = "Pancoran",
|
|
rw = "01",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
new {
|
|
tanggal = "5 Mei 2022",
|
|
kelurahan = "Kembangan",
|
|
rw = "04",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
new {
|
|
tanggal = "12 Des 2023",
|
|
kelurahan = "Senen",
|
|
rw = "04",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
new {
|
|
tanggal = "18 Mar 2025",
|
|
kelurahan = "Kebayoran Baru",
|
|
rw = "04",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
new {
|
|
tanggal = "21 Apr 2026",
|
|
kelurahan = "Menteng",
|
|
rw = "04",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
new {
|
|
tanggal = "27 Jul 2024",
|
|
kelurahan = "Cilandak",
|
|
rw = "04",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
new {
|
|
tanggal = "10 Okt 2023",
|
|
kelurahan = "Cakung",
|
|
rw = "04",
|
|
mudah_terurai = "10/12",
|
|
mudah_daur = "10/12",
|
|
b3 = "10/12",
|
|
residu = "10/12",
|
|
jumlah_foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
|
aksi = "<div class=\"flex gap-2\">" +
|
|
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
|
"</div>",
|
|
},
|
|
};
|
|
|
|
var response = new
|
|
{
|
|
data = data
|
|
};
|
|
|
|
return Json(response);
|
|
}
|
|
}
|
|
}
|