refactor: using area
parent
0f44b422c4
commit
2505fd1062
|
|
@ -1,17 +1,13 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace BpsRw.Controllers
|
||||
namespace BpsRwApp.Areas.Admin.Controllers
|
||||
{
|
||||
[Area("Admin")]
|
||||
public class DashboardController : Controller
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Reports()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,308 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace BpsRwApp.Areas.Admin.Controllers
|
||||
{
|
||||
[Area("Admin")]
|
||||
public class DataPendampingRwController : Controller
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult TableRapot()
|
||||
{
|
||||
var data = new[]
|
||||
{
|
||||
new {
|
||||
nama = "Risky Adi Putra",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>10",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-error badge-soft rounded-xs px-12\">0</div>",
|
||||
status = "<div class=\"badge badge-info badge-soft rounded-full\">Sangat Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Sulaiman",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
berat_sampah = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">10</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Siti Nurhaliza",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">12</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-error badge-soft rounded-xs px-12\">0</div>",
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Budi Santoso",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">18</div>",
|
||||
berat_sampah = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">1</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Dewi Lestari",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">1</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Andi Prabowo",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">17</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
status = "<div class=\"badge badge-info badge-soft rounded-full\">Sangat Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Nina Sari",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">15</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
status = "<div class=\"badge badge-info badge-soft rounded-full\">Sengat Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Hendra Wijaya",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">1</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
status = "<div class=\"badge badge-info badge-soft rounded-full\">Sangat Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Lina Marlina",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">12</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
status = "<div class=\"badge badge-info badge-soft rounded-full\">Sangat Baik</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Yudi Hartono",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">16</div>",
|
||||
berat_sampah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
status = "<div class=\"badge badge-info badge-soft rounded-full\">Sangat Baik</div>",
|
||||
},
|
||||
};
|
||||
|
||||
var response = new
|
||||
{
|
||||
data = data
|
||||
};
|
||||
|
||||
return Json(response);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult TableChecklist()
|
||||
{
|
||||
var data = new[]
|
||||
{
|
||||
new {
|
||||
nama = "Risky Adi Putra",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>10",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-error badge-soft rounded-xs px-12\">0/12</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Sulaiman",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11/11</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Siti Nurhaliza",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">12</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-error badge-soft rounded-xs px-12\">0/10</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Budi Santoso",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">18</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11/11</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Dewi Lestari",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">1</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10/10</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Andi Prabowo",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">17</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11/11</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Nina Sari",
|
||||
checklist = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">15</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10/10</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Hendra Wijaya",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">1</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11/11</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Lina Marlina",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">12</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>22",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">10/10</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-xs\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
nama = "Yudi Hartono",
|
||||
checklist = "<div class=\"badge badge-warning badge-soft rounded-xs px-12\">16</div>",
|
||||
foto = "<button class=\"btn btn-xs btn-square me-2\" disabled><span class=\"icon icon-outline text-sm text-black\">image</span></button>889",
|
||||
rumah_aktif_memilah = "<div class=\"badge badge-success badge-soft rounded-xs px-12\">11/11</div>",
|
||||
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);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult TableBeratSampah()
|
||||
{
|
||||
var data = new[]
|
||||
{
|
||||
new {
|
||||
nama = "Risky Adi Putra",
|
||||
total_berat = 104,
|
||||
mudah_terurai = 104,
|
||||
material_daur_ulang = 104,
|
||||
b3 = 104,
|
||||
residu = 104,
|
||||
},
|
||||
new {
|
||||
nama = "Sulaiman",
|
||||
total_berat = 67,
|
||||
mudah_terurai = 67,
|
||||
material_daur_ulang = 67,
|
||||
b3 = 67,
|
||||
residu = 67,
|
||||
},
|
||||
new {
|
||||
nama = "Siti Nurhaliza",
|
||||
total_berat = 110,
|
||||
mudah_terurai = 110,
|
||||
material_daur_ulang = 110,
|
||||
b3 = 110,
|
||||
residu = 110,
|
||||
},
|
||||
new {
|
||||
nama = "Budi Santoso",
|
||||
total_berat = 88,
|
||||
mudah_terurai = 88,
|
||||
material_daur_ulang = 88,
|
||||
b3 = 88,
|
||||
residu = 88,
|
||||
},
|
||||
new {
|
||||
nama = "Dewi Lestari",
|
||||
total_berat = 90,
|
||||
mudah_terurai = 90,
|
||||
material_daur_ulang = 90,
|
||||
b3 = 90,
|
||||
residu = 90,
|
||||
},
|
||||
new {
|
||||
nama = "Andi Prabowo",
|
||||
total_berat = 72,
|
||||
mudah_terurai = 72,
|
||||
material_daur_ulang = 72,
|
||||
b3 = 72,
|
||||
residu = 72,
|
||||
},
|
||||
new {
|
||||
nama = "Nina Sari",
|
||||
total_berat = 81,
|
||||
mudah_terurai = 81,
|
||||
material_daur_ulang = 81,
|
||||
b3 = 81,
|
||||
residu = 81,
|
||||
},
|
||||
new {
|
||||
nama = "Hendra Wijaya",
|
||||
total_berat = 65,
|
||||
mudah_terurai = 65,
|
||||
material_daur_ulang = 65,
|
||||
b3 = 65,
|
||||
residu = 65,
|
||||
},
|
||||
new {
|
||||
nama = "Lina Marlina",
|
||||
total_berat = 78,
|
||||
mudah_terurai = 78,
|
||||
material_daur_ulang = 78,
|
||||
b3 = 78,
|
||||
residu = 78,
|
||||
},
|
||||
new {
|
||||
nama = "Yudi Hartono",
|
||||
total_berat = 95,
|
||||
mudah_terurai = 95,
|
||||
material_daur_ulang = 95,
|
||||
b3 = 95,
|
||||
residu = 95,
|
||||
},
|
||||
};
|
||||
|
||||
var response = new
|
||||
{
|
||||
data = data
|
||||
};
|
||||
|
||||
return Json(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace BpsRwApp.Areas.Admin.Controllers
|
||||
{
|
||||
[Area("Admin")]
|
||||
public class LaporanRwController : Controller
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult Table()
|
||||
{
|
||||
var data = new[]
|
||||
{
|
||||
new {
|
||||
kelurahan = "Kebon Jeruk",
|
||||
rw = 03,
|
||||
bulan = "September",
|
||||
rumah_aktif_memilah = 581,
|
||||
status = "<div class=\"badge badge-error badge-soft rounded-full\">Belum Verifikasi</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
kelurahan = "Pancoran",
|
||||
rw = 01,
|
||||
bulan = "April",
|
||||
rumah_aktif_memilah = 889,
|
||||
status = "<div class=\"badge badge-error badge-soft rounded-full\">Belum Verifikasi</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
kelurahan = "Kembangan",
|
||||
rw = 02,
|
||||
bulan = "Maret",
|
||||
rumah_aktif_memilah = 673,
|
||||
status = "<div class=\"badge badge-error badge-soft rounded-full\">Belum Verifikasi</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
kelurahan = "Senen",
|
||||
rw = 04,
|
||||
bulan = "Februari",
|
||||
rumah_aktif_memilah = 790,
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Verifikasi Sudin</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
kelurahan = "Kebayoran Baru",
|
||||
rw = 05,
|
||||
bulan = "Oktober",
|
||||
rumah_aktif_memilah = 750,
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Verifikasi Sudin</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
kelurahan = "Menteng",
|
||||
rw = 06,
|
||||
bulan = "Agustus",
|
||||
rumah_aktif_memilah = 780,
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Verifikasi Sudin</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
kelurahan = "Cilandak",
|
||||
rw = 07,
|
||||
bulan = "Juli",
|
||||
rumah_aktif_memilah = 553,
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Verifikasi Sudin</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
new {
|
||||
kelurahan = "Cakung",
|
||||
rw = 08,
|
||||
bulan = "Januari",
|
||||
rumah_aktif_memilah = 582,
|
||||
status = "<div class=\"badge badge-success badge-soft rounded-full\">Verifikasi Sudin</div>",
|
||||
aksi = "<div class=\"flex gap-2\">" +
|
||||
"<a href=\"#\" class=\"btn bg-white rounded-full btn-sm\">Detail</a>" +
|
||||
"</div>",
|
||||
},
|
||||
};
|
||||
|
||||
var response = new
|
||||
{
|
||||
data = data
|
||||
};
|
||||
|
||||
return Json(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace BpsRwApp.Areas.Admin.Controllers
|
||||
{
|
||||
[Area("Admin")]
|
||||
public class RumahMemilahController : Controller
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult Table()
|
||||
{
|
||||
var data = new[]
|
||||
{
|
||||
new {
|
||||
kecamatan = "Kebayoran",
|
||||
jumlah_rw = 92,
|
||||
total_rumah = 701,
|
||||
rumah_aktif_memilah = 581,
|
||||
rumah_nasabah = 581,
|
||||
bank_sampah = 581,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Tebet",
|
||||
jumlah_rw = 44,
|
||||
total_rumah = 934,
|
||||
rumah_aktif_memilah = 889,
|
||||
rumah_nasabah = 889,
|
||||
bank_sampah = 889,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Menteng",
|
||||
jumlah_rw = 9,
|
||||
total_rumah = 1378,
|
||||
rumah_aktif_memilah = 673,
|
||||
rumah_nasabah = 673,
|
||||
bank_sampah = 673,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Cilandak",
|
||||
jumlah_rw = 18,
|
||||
total_rumah = 1094,
|
||||
rumah_aktif_memilah = 790,
|
||||
rumah_nasabah = 790,
|
||||
bank_sampah = 790,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Setiabudi",
|
||||
jumlah_rw = 17,
|
||||
total_rumah = 794,
|
||||
rumah_aktif_memilah = 750,
|
||||
rumah_nasabah = 750,
|
||||
bank_sampah = 750,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Gambir",
|
||||
jumlah_rw = 4,
|
||||
total_rumah = 1573,
|
||||
rumah_aktif_memilah = 780,
|
||||
rumah_nasabah = 780,
|
||||
bank_sampah = 780,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Cakung",
|
||||
jumlah_rw = 55,
|
||||
total_rumah = 1160,
|
||||
rumah_aktif_memilah = 553,
|
||||
rumah_nasabah = 553,
|
||||
bank_sampah = 553,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Kelapa Gading",
|
||||
jumlah_rw = 95,
|
||||
total_rumah = 1663,
|
||||
rumah_aktif_memilah = 582,
|
||||
rumah_nasabah = 582,
|
||||
bank_sampah = 582,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Pancoran",
|
||||
jumlah_rw = 48,
|
||||
total_rumah = 730,
|
||||
rumah_aktif_memilah = 935,
|
||||
rumah_nasabah = 935,
|
||||
bank_sampah = 935,
|
||||
},
|
||||
new {
|
||||
kecamatan = "Tanah Abang",
|
||||
jumlah_rw = 80,
|
||||
total_rumah = 1046,
|
||||
rumah_aktif_memilah = 593,
|
||||
rumah_nasabah = 593,
|
||||
bank_sampah = 593,
|
||||
},
|
||||
};
|
||||
|
||||
var response = new
|
||||
{
|
||||
data = data
|
||||
};
|
||||
|
||||
return Json(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
@{
|
||||
ViewData["Title"] = "Dashboard";
|
||||
}
|
||||
|
|
@ -0,0 +1,148 @@
|
|||
@{
|
||||
ViewData["Title"] = "Data Pendamping RW";
|
||||
}
|
||||
|
||||
<div class="breadcrumbs text-sm">
|
||||
<ul>
|
||||
<li class="text-gray-500"><a>Data Rumah</a></li>
|
||||
<li>Data Pendamping RW</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Header -->
|
||||
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
||||
<div class="prose">
|
||||
<h3 class="mb-2">Data Pendamping RW</h3>
|
||||
</div>
|
||||
<div class="justify-self-end lg:self-center">
|
||||
<a class="btn rounded-full bg-white" href="#">
|
||||
<span class="icon icon-fill me-2">filter_list</span>
|
||||
Filter
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-8"></div>
|
||||
|
||||
<div class="tabs tabs-lift">
|
||||
<input type="radio" name="my_tabs_3" class="tab checked:text-white [--tab-bg:green]" aria-label="Rapot" />
|
||||
<div class="tab-content bg-base-100 border-base-300 p-0">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table-zebra table" id="tableRapot">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-[5%]">No</th>
|
||||
<th class="w-[25%]">Nama</th>
|
||||
<th class="w-[15%]">Checklist</th>
|
||||
<th class="w-[15%]">Berat Sampah</th>
|
||||
<th class="w-[10%]">Foto</th>
|
||||
<th class="w-[15%]">Rumah Aktif Memilah</th>
|
||||
<th class="w-[15%]">Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="radio" name="my_tabs_3" class="tab checked:text-white [--tab-bg:green]" aria-label="Checklist" />
|
||||
<div class="tab-content bg-base-100 border-base-300 p-0">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table-zebra table" id="tableChecklist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-[5%]">No</th>
|
||||
<th class="w-[35%]">Nama</th>
|
||||
<th class="w-[20%]">Checklist</th>
|
||||
<th class="w-[10%]">Foto</th>
|
||||
<th class="w-[20%]">Rumah Aktif Memilah</th>
|
||||
<th class="w-[20%]">Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="radio" name="my_tabs_3" class="tab checked:text-white [--tab-bg:green]" aria-label="Berat Sampah" checked="checked" />
|
||||
<div class="tab-content bg-base-100 border-base-300 p-0">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table-zebra table" id="tableBeratSampah">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-[5%]">No</th>
|
||||
<th class="w-[20%]">Nama</th>
|
||||
<th class="w-[15%]">Total Berat (Kg)</th>
|
||||
<th class="w-[15%]">Mudah Terurai</th>
|
||||
<th class="w-[15%]">Material Daur Ulang (Kg)</th>
|
||||
<th class="w-[15%]">B3 (Kg)</th>
|
||||
<th class="w-[15%]">Residu (Kg)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.4/js/dataTables.js"></script>
|
||||
<script src="/plugins/datatables/dataTables.tailwindcss.js"></script>
|
||||
<script type="text/javascript">
|
||||
var tableRapot;
|
||||
var tableChecklist;
|
||||
var tableBeratSampah;
|
||||
|
||||
$(document).ready(function () {
|
||||
tableRapot = new DataTable('#tableRapot', {
|
||||
ajax: '/Admin/DataPendampingRw/TableRapot',
|
||||
scrollX: true,
|
||||
initComplete: function () {
|
||||
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
||||
},
|
||||
columns: [
|
||||
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
||||
{ data: 'nama' },
|
||||
{ data: 'checklist' },
|
||||
{ data: 'berat_sampah' },
|
||||
{ data: 'foto' },
|
||||
{ data: 'rumah_aktif_memilah' },
|
||||
{ data: 'status' },
|
||||
]
|
||||
});
|
||||
|
||||
tableChecklist = new DataTable('#tableChecklist', {
|
||||
ajax: '/Admin/DataPendampingRw/TableChecklist',
|
||||
scrollX: true,
|
||||
initComplete: function () {
|
||||
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
||||
},
|
||||
columns: [
|
||||
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
||||
{ data: 'nama' },
|
||||
{ data: 'checklist' },
|
||||
{ data: 'foto' },
|
||||
{ data: 'rumah_aktif_memilah' },
|
||||
{ data: 'aksi' },
|
||||
]
|
||||
});
|
||||
|
||||
tableBeratSampah = new DataTable('#tableBeratSampah', {
|
||||
ajax: '/Admin/DataPendampingRw/TableBeratSampah',
|
||||
scrollX: true,
|
||||
initComplete: function () {
|
||||
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
||||
},
|
||||
columns: [
|
||||
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
||||
{ data: 'nama' },
|
||||
{ data: 'total_berat' },
|
||||
{ data: 'mudah_terurai' },
|
||||
{ data: 'material_daur_ulang' },
|
||||
{ data: 'b3' },
|
||||
{ data: 'residu' },
|
||||
]
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
@ -0,0 +1,142 @@
|
|||
@{
|
||||
ViewData["Title"] = "Laporan RW";
|
||||
}
|
||||
|
||||
<div class="breadcrumbs text-sm">
|
||||
<ul>
|
||||
<li class="text-gray-500"><a>Data Verifikasi</a></li>
|
||||
<li>Laporan RW</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Header -->
|
||||
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
||||
<div class="prose">
|
||||
<h3 class="mb-2">Laporan RW</h3>
|
||||
</div>
|
||||
<div class="justify-self-end lg:self-center">
|
||||
<a class="btn rounded-full bg-white" href="#">
|
||||
<span class="icon icon-fill me-2">download</span>
|
||||
Unduh Laporan
|
||||
</a>
|
||||
<button class="btn rounded-full bg-white" onclick="modal_filter.showModal()">
|
||||
<span class="icon icon-fill me-2">filter_list</span>
|
||||
Filter
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-8"></div>
|
||||
|
||||
<!-- Filter Modal -->
|
||||
<dialog id="modal_filter" class="modal modal-bottom sm:modal-middle">
|
||||
<div class="modal-box w-full sm:max-w-sm">
|
||||
<h3 class="text-lg font-bold">Filter</h3>
|
||||
<form action="#" method="get">
|
||||
<p class="py-4">
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Bulan Awal</legend>
|
||||
<input type="month" class="input w-full">
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Bulan Akhir</legend>
|
||||
<input type="month" class="input w-full">
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Kecamatan</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih Kecamatan</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Kelurahan</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih Kelurahan</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">RW</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih RW</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Status</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih Status</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
</p>
|
||||
<div class="modal-action">
|
||||
<button type="button" class="btn" onclick="modal_filter.close()">Tutup</button>
|
||||
<button type="submit" class="btn btn-neutral">Terapkan</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<div class="card bg-white shadow-sm">
|
||||
<div class="card-body p-0">
|
||||
<table class="table-zebra table" id="example">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-[5%]">No</th>
|
||||
<th class="w-[40%]">Kelurahan</th>
|
||||
<th class="w-[5%]">RW</th>
|
||||
<th class="w-[10%]">Bulan</th>
|
||||
<th class="w-[10%]">Rumah Aktif Memilah</th>
|
||||
<th class="w-[10%]">Status</th>
|
||||
<th class="w-[15%]">Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.4/js/dataTables.js"></script>
|
||||
<script src="/plugins/datatables/dataTables.tailwindcss.js"></script>
|
||||
<script type="text/javascript">
|
||||
var table;
|
||||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Admin/LaporanRw/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
||||
},
|
||||
columns: [
|
||||
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
||||
{ data: 'kelurahan' },
|
||||
{ data: 'rw' },
|
||||
{ data: 'bulan' },
|
||||
{ data: 'rumah_aktif_memilah' },
|
||||
{ data: 'status' },
|
||||
{ data: 'aksi' },
|
||||
]
|
||||
});
|
||||
|
||||
table.on("click", ".delete", function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
let url = $(this).data("url");
|
||||
swal.fire({
|
||||
title: "Apakah anda yakin?",
|
||||
text: "Data yang dihapus tidak dapat dikembalikan lagi",
|
||||
icon: "question",
|
||||
showCancelButton: true,
|
||||
confirmButtonText: "Ya, Hapus",
|
||||
cancelButtonText: "Batal",
|
||||
buttonsStyling: false,
|
||||
customClass: {
|
||||
confirmButton: "btn btn-error text-white",
|
||||
cancelButton: "btn btn-link no-underline text-gray-500",
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
@{
|
||||
ViewData["Title"] = "Rumah Memilah";
|
||||
}
|
||||
|
||||
<div class="breadcrumbs text-sm">
|
||||
<ul>
|
||||
<li class="text-gray-500"><a>Data Sudin</a></li>
|
||||
<li>Rumah Memilah</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Header -->
|
||||
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
||||
<div class="prose">
|
||||
<h3 class="mb-2">Rumah Memilah</h3>
|
||||
</div>
|
||||
<div class="justify-self-end lg:self-center">
|
||||
<a class="btn rounded-full bg-white" href="#">
|
||||
<span class="icon icon-fill me-2">filter_list</span>
|
||||
Filter
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-8"></div>
|
||||
|
||||
<div class="card bg-white shadow-sm">
|
||||
<div class="card-body p-0">
|
||||
<table class="table-zebra table" id="example">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-[5%]">No</th>
|
||||
<th class="w-[45%]">Kecamatan</th>
|
||||
<th class="w-[10%]">Jumlah RW</th>
|
||||
<th class="w-[10%]">Total Rumah</th>
|
||||
<th class="w-[10%]">Rumah Aktif Memilah</th>
|
||||
<th class="w-[10%]">Rumah Nasabah</th>
|
||||
<th class="w-[10%]">Bank Sampah</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script src="https://cdn.datatables.net/2.3.4/js/dataTables.js"></script>
|
||||
<script src="/plugins/datatables/dataTables.tailwindcss.js"></script>
|
||||
<script type="text/javascript">
|
||||
var table;
|
||||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Admin/RumahMemilah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
||||
},
|
||||
columns: [
|
||||
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
||||
{ data: 'kecamatan' },
|
||||
{ data: 'jumlah_rw' },
|
||||
{ data: 'total_rumah' },
|
||||
{ data: 'rumah_aktif_memilah' },
|
||||
{ data: 'rumah_nasabah' },
|
||||
{ data: 'bank_sampah' },
|
||||
]
|
||||
});
|
||||
|
||||
table.on("click", ".delete", function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
let url = $(this).data("url");
|
||||
swal.fire({
|
||||
title: "Apakah anda yakin?",
|
||||
text: "Data yang dihapus tidak dapat dikembalikan lagi",
|
||||
icon: "question",
|
||||
showCancelButton: true,
|
||||
confirmButtonText: "Ya, Hapus",
|
||||
cancelButtonText: "Batal",
|
||||
buttonsStyling: false,
|
||||
customClass: {
|
||||
confirmButton: "btn btn-error text-white",
|
||||
cancelButton: "btn btn-link no-underline text-gray-500",
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
@using BpsRwApp
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
@{
|
||||
Layout = "/Areas/Shared/Layouts/App/_Layout.cshtml";
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="light">
|
||||
|
||||
<head>
|
||||
|
|
@ -20,35 +20,37 @@
|
|||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap"
|
||||
rel="stylesheet">
|
||||
rel="stylesheet">
|
||||
|
||||
<!-- Phosphor Icons -->
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="https://cdn.jsdelivr.net/npm/@@phosphor-icons/web@2.1.2/src/regular/style.css" />
|
||||
href="https://cdn.jsdelivr.net/npm/@@phosphor-icons/web@2.1.2/src/regular/style.css" />
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="https://cdn.jsdelivr.net/npm/@@phosphor-icons/web@2.1.2/src/fill/style.css" />
|
||||
href="https://cdn.jsdelivr.net/npm/@@phosphor-icons/web@2.1.2/src/fill/style.css" />
|
||||
|
||||
<!-- Material Icon -->
|
||||
<link rel="stylesheet"
|
||||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
|
||||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
|
||||
|
||||
|
||||
<!-- CSS -->
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
</head>
|
||||
|
||||
<body class="bg-gray-100 min-h-dvh font-sans antialiased">
|
||||
<body class="min-h-dvh bg-gray-100 font-sans antialiased">
|
||||
<div class="drawer md:drawer-open">
|
||||
<input id="my-drawer-2" type="checkbox" class="drawer-toggle" />
|
||||
<div class="drawer-content">
|
||||
@await Html.PartialAsync("_Navbar")
|
||||
<!-- Navbar -->
|
||||
<partial name="~/Areas/Shared/Layouts/App/_Navbar.cshtml" />
|
||||
<!-- Page content here -->
|
||||
<main class="container mx-auto p-6">
|
||||
@RenderBody()
|
||||
</main>
|
||||
</div>
|
||||
<div class="drawer-side z-50 lg:z-0">
|
||||
@await Html.PartialAsync("_Sidebar")
|
||||
<!-- Sidebar -->
|
||||
<partial name="~/Areas/Shared/Layouts/App/_Sidebar.cshtml" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="navbar sticky top-0 z-20 w-full justify-between bg-base-100 lg:justify-end">
|
||||
<div class="navbar bg-base-100 sticky top-0 z-20 w-full justify-between lg:justify-end">
|
||||
<div class="navbar-start">
|
||||
<label for="my-drawer-2" class="btn bg-bpsrw-500 text-white drawer-button btn-square lg:hidden">
|
||||
<label for="my-drawer-2" class="btn drawer-button btn-square bg-primary-500 text-white lg:hidden">
|
||||
<span class="icon icon-outline">menu_open</span>
|
||||
</label>
|
||||
</div>
|
||||
|
|
@ -9,18 +9,18 @@
|
|||
<span class="icon icon-outline text-gray-400">search</span>
|
||||
<input type="search" required placeholder="Cari berkas atau data..." />
|
||||
</label>
|
||||
<button class="btn btn-ghost btn-square border-gray-200 rounded-lg">
|
||||
<button class="btn btn-ghost btn-square rounded-lg border-gray-200">
|
||||
<span class="icon icon-outline">help</span>
|
||||
</button>
|
||||
<button class="btn btn-ghost btn-square border-gray-200 rounded-lg avatar avatar-online">
|
||||
<button class="btn btn-ghost btn-square avatar avatar-online rounded-lg border-gray-200">
|
||||
<span class="icon icon-outline">notifications</span>
|
||||
</button>
|
||||
<div class="divider divider-horizontal m-0"></div>
|
||||
<div class="dropdown dropdown-end">
|
||||
<div tabindex="0" role="button" class="btn btn-ghost btn-circle avatar border-2 border-bpsrw-500">
|
||||
<div tabindex="0" role="button" class="btn btn-ghost btn-circle avatar border-2 border-primary-500">
|
||||
<div class="w-10 rounded-full">
|
||||
<img alt="Avatar"
|
||||
src="https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp" />
|
||||
src="https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp" />
|
||||
</div>
|
||||
</div>
|
||||
<ul tabindex="0" class="menu menu-sm dropdown-content bg-base-100 rounded-box z-1 mt-3 w-52 p-2 shadow">
|
||||
|
|
@ -0,0 +1,147 @@
|
|||
<label class="drawer-overlay" for="my-drawer-2" aria-label="close sidebar"></label>
|
||||
|
||||
<aside class="bg-base-100 min-h-screen border-e border-gray-200">
|
||||
<!-- Navbar -->
|
||||
<div class="navbar bg-profiling-500 sticky top-0 hidden items-center justify-center gap-2 border-b border-gray-200 bg-white px-4 py-2 font-bold lg:z-50 lg:flex">
|
||||
<img src="/images/logo.png" alt="Logo" width="48" />
|
||||
<span>BPS RW</span>
|
||||
</div>
|
||||
<ul class="menu menu-sidebar bg-base-100 text-base-content min-h-full w-64 p-4">
|
||||
@{
|
||||
var currentArea = ViewContext.RouteData.Values["area"] as string;
|
||||
var controller = ViewContext.RouteData.Values["controller"] as string;
|
||||
}
|
||||
<!-- Sidebar content here -->
|
||||
@if (currentArea == "Admin")
|
||||
{
|
||||
<li>
|
||||
<a asp-area="Admin" asp-controller="Dashboard" asp-action="Index" class="text-gray-500 @(controller == "Dashboard" ? "menu-active" : "")">
|
||||
<span class="icon icon-fill">analytics</span>
|
||||
Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<details @(new[] { "RumahMemilah"}.Contains(controller) ? "open" : "")>
|
||||
<summary class="font-semibold text-primary-500">DATA SUDIN</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a asp-area="Admin" asp-controller="RumahMemilah" asp-action="Index" class="text-gray-500 @(controller == "RumahMemilah" ? "menu-active" : "")">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Rumah Memilah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Checklist Harian
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
<li>
|
||||
<details>
|
||||
<summary class="font-semibold text-primary-500">DATA KECAMATAN</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Kecamatan
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Rumah Memilah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Checklist Harian
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data RW
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data RT
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
<li>
|
||||
<details @(new[] { "DataPendampingRw" }.Contains(controller) ? "open" : "")>
|
||||
<summary class="font-semibold text-primary-500">DATA RUMAH</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Rumah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Potensi Rumah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Bank Sampah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a asp-area="Admin" asp-controller="DataPendampingRw" asp-action="Index" class="text-gray-500 @(controller == "DataPendampingRw" ? "menu-active" : "")">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Pendamping RW
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Berat Sampah
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
<li>
|
||||
<details @(new[] { "LaporanRw" }.Contains(controller) ? "open" : "")>
|
||||
<summary class="font-semibold text-primary-500">DATA VERIFIKASI</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a asp-area="Admin" asp-controller="LaporanRw" asp-action="Index" class="text-gray-500 @(controller == "LaporanRw" ? "menu-active" : "")">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Laporan RW
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Checklist Harian
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Total Checklist Rumah
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
}
|
||||
</ul>
|
||||
</aside>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
@using BpsRwApp
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
|
|
@ -28,4 +28,10 @@
|
|||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Areas\Admin\Data\" />
|
||||
<Folder Include="Areas\Admin\Models\" />
|
||||
<Folder Include="Areas\Shared\Layouts\LandingPage\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace MyApp.Namespace
|
||||
{
|
||||
public class DataPendampingRwController : Controller
|
||||
{
|
||||
// GET: DataPendampingRwController
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace MyApp.Namespace
|
||||
{
|
||||
public class LaporanRwController : Controller
|
||||
{
|
||||
// GET: LaporanRwController
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace MyApp.Namespace
|
||||
{
|
||||
public class RumahMemilahController : Controller
|
||||
{
|
||||
// GET: RumahMemilahController
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -115,6 +115,10 @@ app.UseAntiforgery();
|
|||
app.UseAuthorization();
|
||||
|
||||
// Map routes with .NET 9 improvements
|
||||
app.MapControllerRoute(
|
||||
name: "areas",
|
||||
pattern: "{area:exists}/{controller=Home}/{action=Index}/{id?}");
|
||||
|
||||
app.MapControllerRoute(
|
||||
name: "default",
|
||||
pattern: "{controller=Home}/{action=Index}/{id?}");
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
Scaffolding has generated all the files and added the required dependencies.
|
||||
|
||||
However the Application's Startup code may require additional changes for things to work end to end.
|
||||
Add the following code to the Configure method in your Application's Startup class if not already done:
|
||||
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapControllerRoute(
|
||||
name : "areas",
|
||||
pattern : "{area:exists}/{controller=Home}/{action=Index}/{id?}"
|
||||
);
|
||||
});
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@{
|
||||
Layout = "_LayoutApp";
|
||||
ViewData["Title"] = "Dashboard";
|
||||
ViewData["DashboardActive"] = "menu-active";
|
||||
}
|
||||
|
|
@ -1,788 +0,0 @@
|
|||
@{
|
||||
Layout = "_LayoutApp";
|
||||
ViewData["Title"] = "Data Pendamping RW";
|
||||
ViewData["DataPendampingRwActive"] = "menu-active";
|
||||
}
|
||||
|
||||
<div class="breadcrumbs text-sm">
|
||||
<ul>
|
||||
<li class="text-gray-500"><a>Data Rumah</a></li>
|
||||
<li>Data Pendamping RW</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Header -->
|
||||
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
||||
<div class="prose">
|
||||
<h3 class="mb-2">Data Pendamping RW</h3>
|
||||
</div>
|
||||
<div class="justify-self-end lg:self-center">
|
||||
<a class="btn bg-white rounded-full" href="#">
|
||||
<span class="icon icon-fill me-2">filter_list</span>
|
||||
Filter
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-8"></div>
|
||||
|
||||
<div class="tabs tabs-lift">
|
||||
<input type="radio" name="my_tabs_3" class="tab [--tab-bg:green] text-white" aria-label="Rapot" checked="checked"/>
|
||||
<div class="tab-content bg-base-100 border-base-300 p-6">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-zebra">
|
||||
<!-- head -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">No</th>
|
||||
<th style="width: 25%">Nama</th>
|
||||
<th style="width: 15%">Checklist</th>
|
||||
<th style="width: 15%">Berat Sampah</th>
|
||||
<th style="width: 10%">Foto</th>
|
||||
<th style="width: 15%">Rumah Aktif Memilah</th>
|
||||
<th style="width: 15%">Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>1</th>
|
||||
<td>Risky Adi Putra</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
10
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-error badge-soft rounded-xs px-12">
|
||||
0
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-blue-100 text-blue-600 rounded-full">
|
||||
Sangat Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>2</th>
|
||||
<td>Sulaiman</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-green-100 text-green-600 rounded-full">
|
||||
Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>3</th>
|
||||
<td>Siti Nurzaliha</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
12
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-error badge-soft rounded-xs px-12">
|
||||
0
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-green-100 text-green-600 rounded-full">
|
||||
Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>4</th>
|
||||
<td>Budi Santoso</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
18
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
1
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-green-100 text-green-600 rounded-full">
|
||||
Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>5</th>
|
||||
<td>Dewi Lestari</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
1
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-green-100 text-green-600 rounded-full">
|
||||
Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>6</th>
|
||||
<td>Andi Prabowo</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
17
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-blue-100 text-blue-600 rounded-full">
|
||||
Sangat Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>7</th>
|
||||
<td>Nina Sari</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
15
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-blue-100 text-blue-600 rounded-full">
|
||||
Sangat Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>8</th>
|
||||
<td>Hendra Wijaya</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
1
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-blue-100 text-blue-600 rounded-full">
|
||||
Sangat Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>9</th>
|
||||
<td>Lina Marlina</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
12
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-blue-100 text-blue-600 rounded-full">
|
||||
Sangat Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>10</th>
|
||||
<td>Yudi Hartono</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
16
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge bg-blue-100 text-blue-600 rounded-full">
|
||||
Sangat Baik
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="h-4"></div>
|
||||
<div class="flex flex-col gap-2 md:flex-row justify-between items-center">
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
<span class="icon icon-fill text-sm me-2">arrow_back</span>
|
||||
Prev
|
||||
</a>
|
||||
<div class="join gap-2">
|
||||
<button class="join-item btn btn-circle bg-bpsrw-500 text-white">1</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">2</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">...</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">5</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">6</button>
|
||||
</div>
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
Next
|
||||
<span class="icon icon-fill text-sm ms-2">arrow_forward</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="radio" name="my_tabs_3" class="tab [--tab-bg:green] text-white" aria-label="Checklist" />
|
||||
<div class="tab-content bg-base-100 border-base-300 p-6">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-zebra">
|
||||
<!-- head -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">No</th>
|
||||
<th style="width: 35%">Nama</th>
|
||||
<th style="width: 20%">Checklist</th>
|
||||
<th style="width: 10%">Foto</th>
|
||||
<th style="width: 20%">Rumah Aktif Memilah</th>
|
||||
<th style="width: 20%">Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>1</th>
|
||||
<td>Risky Adi Putra</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
10
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-error badge-soft rounded-xs px-12">
|
||||
0/12
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>2</th>
|
||||
<td>Sulaiman</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11/11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>3</th>
|
||||
<td>Siti Nurzaliha</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
12
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-error badge-soft rounded-xs px-12">
|
||||
0/10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>4</th>
|
||||
<td>Budi Santoso</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
1
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11/11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>5</th>
|
||||
<td>Dewi Lestari</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
1
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10/10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>6</th>
|
||||
<td>Andi Prabowo</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
17
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11/11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>7</th>
|
||||
<td>Nina Sari</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
15
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10/10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>8</th>
|
||||
<td>Hendra Wijaya</td>
|
||||
<td>
|
||||
<div class="badge badge-warning badge-soft rounded-xs px-12">
|
||||
1
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11/11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>9</th>
|
||||
<td>Lina Marlina</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
22
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
10/10
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>10</th>
|
||||
<td>Yudi Hartono</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-xs btn-square me-2" disabled>
|
||||
<span class="icon icon-outline text-sm text-black">image</span>
|
||||
</button>
|
||||
889
|
||||
</td>
|
||||
<td>
|
||||
<div class="badge badge-success badge-soft rounded-xs px-12">
|
||||
11/11
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="h-4"></div>
|
||||
<div class="flex flex-col gap-2 md:flex-row justify-between items-center">
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
<span class="icon icon-fill text-sm me-2">arrow_back</span>
|
||||
Prev
|
||||
</a>
|
||||
<div class="join gap-2">
|
||||
<button class="join-item btn btn-circle bg-bpsrw-500 text-white">1</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">2</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">...</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">5</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">6</button>
|
||||
</div>
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
Next
|
||||
<span class="icon icon-fill text-sm ms-2">arrow_forward</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="radio" name="my_tabs_3" class="tab [--tab-bg:green] text-white" aria-label="Berat Sampah" />
|
||||
<div class="tab-content bg-base-100 border-base-300 p-6">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-zebra">
|
||||
<!-- head -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">No</th>
|
||||
<th style="width: 20%">Nama</th>
|
||||
<th style="width: 15%">Total Berat (Kg)</th>
|
||||
<th style="width: 15%">Mudah Terurai</th>
|
||||
<th style="width: 15%">Material Daur Ulang (Kg)</th>
|
||||
<th style="width: 15%">B3 (Kg)</th>
|
||||
<th style="width: 15%">Residu (Kg)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>1</th>
|
||||
<td>Risky Adi Putra</td>
|
||||
<td>104</td>
|
||||
<td>104</td>
|
||||
<td>104</td>
|
||||
<td>104</td>
|
||||
<td>104</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>2</th>
|
||||
<td>Sulaiman</td>
|
||||
<td>67</td>
|
||||
<td>67</td>
|
||||
<td>67</td>
|
||||
<td>67</td>
|
||||
<td>67</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>3</th>
|
||||
<td>Siti Nurzaliha</td>
|
||||
<td>110</td>
|
||||
<td>110</td>
|
||||
<td>110</td>
|
||||
<td>110</td>
|
||||
<td>110</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>4</th>
|
||||
<td>Budi Santoso</td>
|
||||
<td>88</td>
|
||||
<td>88</td>
|
||||
<td>88</td>
|
||||
<td>88</td>
|
||||
<td>88</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>5</th>
|
||||
<td>Dewi Lestari</td>
|
||||
<td>90</td>
|
||||
<td>90</td>
|
||||
<td>90</td>
|
||||
<td>90</td>
|
||||
<td>90</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>6</th>
|
||||
<td>Andi Prabowo</td>
|
||||
<td>72</td>
|
||||
<td>72</td>
|
||||
<td>72</td>
|
||||
<td>72</td>
|
||||
<td>72</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>7</th>
|
||||
<td>Nina Sari</td>
|
||||
<td>81</td>
|
||||
<td>81</td>
|
||||
<td>81</td>
|
||||
<td>81</td>
|
||||
<td>81</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>8</th>
|
||||
<td>Hendra Wijaya</td>
|
||||
<td>65</td>
|
||||
<td>65</td>
|
||||
<td>65</td>
|
||||
<td>65</td>
|
||||
<td>65</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>9</th>
|
||||
<td>Lina Marlina</td>
|
||||
<td>78</td>
|
||||
<td>78</td>
|
||||
<td>78</td>
|
||||
<td>78</td>
|
||||
<td>78</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>10</th>
|
||||
<td>Yudi Hartono</td>
|
||||
<td>95</td>
|
||||
<td>95</td>
|
||||
<td>95</td>
|
||||
<td>95</td>
|
||||
<td>95</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="h-4"></div>
|
||||
<div class="flex flex-col gap-2 md:flex-row justify-between items-center">
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
<span class="icon icon-fill text-sm me-2">arrow_back</span>
|
||||
Prev
|
||||
</a>
|
||||
<div class="join gap-2">
|
||||
<button class="join-item btn btn-circle bg-bpsrw-500 text-white">1</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">2</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">...</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">5</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">6</button>
|
||||
</div>
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
Next
|
||||
<span class="icon icon-fill text-sm ms-2">arrow_forward</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,254 +0,0 @@
|
|||
@{
|
||||
Layout = "_LayoutApp";
|
||||
ViewData["Title"] = "Laporan RW";
|
||||
ViewData["LaporanRwActive"] = "menu-active";
|
||||
}
|
||||
|
||||
<div class="breadcrumbs text-sm">
|
||||
<ul>
|
||||
<li class="text-gray-500"><a>Data Verifikasi</a></li>
|
||||
<li>Laporan RW</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Header -->
|
||||
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
||||
<div class="prose">
|
||||
<h3 class="mb-2">Laporan RW</h3>
|
||||
</div>
|
||||
<div class="justify-self-end lg:self-center">
|
||||
<a class="btn bg-white rounded-full" href="#">
|
||||
<span class="icon icon-fill me-2">download</span>
|
||||
Unduh Laporan
|
||||
</a>
|
||||
<button class="btn bg-white rounded-full" onclick="modal_filter.showModal()">
|
||||
<span class="icon icon-fill me-2">filter_list</span>
|
||||
Filter
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-8"></div>
|
||||
|
||||
<div class="card bg-white shadow-sm">
|
||||
<div class="card-body p-2">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-zebra">
|
||||
<!-- head -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Kelurahan</th>
|
||||
<th>RW</th>
|
||||
<th>Bulan</th>
|
||||
<th>Rumah Aktif Memilah</th>
|
||||
<th>Status</th>
|
||||
<th>Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>1</th>
|
||||
<td>Kebon Jeruk</td>
|
||||
<td>03</td>
|
||||
<td>September</td>
|
||||
<td>104</td>
|
||||
<td>
|
||||
<div class="badge badge-error rounded-full badge-soft">
|
||||
Belum Verifikasi
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>2</th>
|
||||
<td>Pancoran</td>
|
||||
<td>01</td>
|
||||
<td>April</td>
|
||||
<td>67</td>
|
||||
<td>
|
||||
<div class="badge badge-error rounded-full badge-soft">
|
||||
Belum Verifikasi
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>3</th>
|
||||
<td>Kembangan</td>
|
||||
<td>02</td>
|
||||
<td>Maret</td>
|
||||
<td>110</td>
|
||||
<td>
|
||||
<div class="badge badge-error rounded-full badge-soft">
|
||||
Belum Verifikasi
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>4</th>
|
||||
<td>Senen</td>
|
||||
<td>04</td>
|
||||
<td>Februari</td>
|
||||
<td>88</td>
|
||||
<td>
|
||||
<div class="badge badge-success rounded-full badge-soft">
|
||||
Verifikasi Sudin
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>5</th>
|
||||
<td>Kebayoran Baru</td>
|
||||
<td>05</td>
|
||||
<td>Oktober</td>
|
||||
<td>90</td>
|
||||
<td>
|
||||
<div class="badge badge-success rounded-full badge-soft">
|
||||
Verifikasi Sudin
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>6</th>
|
||||
<td>Menteng</td>
|
||||
<td>06</td>
|
||||
<td>Agustus</td>
|
||||
<td>72</td>
|
||||
<td>
|
||||
<div class="badge badge-success rounded-full badge-soft">
|
||||
Verifikasi Sudin
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>7</th>
|
||||
<td>Cilandak</td>
|
||||
<td>07</td>
|
||||
<td>Juli</td>
|
||||
<td>81</td>
|
||||
<td>
|
||||
<div class="badge badge-success rounded-full badge-soft">
|
||||
Verifikasi Sudin
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>8</th>
|
||||
<td>Cakung</td>
|
||||
<td>08</td>
|
||||
<td>Januari</td>
|
||||
<td>65</td>
|
||||
<td>
|
||||
<div class="badge badge-success rounded-full badge-soft">
|
||||
Verifikasi Sudin
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm rounded-full bg-white">
|
||||
Detail
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="flex flex-col gap-2 md:flex-row justify-between items-center">
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
<span class="icon icon-fill text-sm me-2">arrow_back</span>
|
||||
Prev
|
||||
</a>
|
||||
<div class="join gap-2">
|
||||
<button class="join-item btn btn-circle bg-bpsrw-500 text-white">1</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">2</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">...</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">5</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">6</button>
|
||||
</div>
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
Next
|
||||
<span class="icon icon-fill text-sm ms-2">arrow_forward</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Filter Modal -->
|
||||
<dialog id="modal_filter" class="modal modal-bottom sm:modal-middle">
|
||||
<div class="modal-box w-full sm:max-w-sm">
|
||||
<h3 class="text-lg font-bold">Filter</h3>
|
||||
<form action="#" method="get">
|
||||
<p class="py-4">
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Bulan Awal</legend>
|
||||
<input type="month" class="input w-full">
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Bulan Akhir</legend>
|
||||
<input type="month" class="input w-full">
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Kecamatan</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih Kecamatan</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Kelurahan</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih Kelurahan</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">RW</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih RW</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
<fieldset class="fieldset max-w-sm">
|
||||
<legend class="fieldset-legend">Status</legend>
|
||||
<select class="select w-full">
|
||||
<option disabled selected>Pilih Status</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
</p>
|
||||
<div class="modal-action">
|
||||
<button type="button" class="btn" onclick="modal_filter.close()">Tutup</button>
|
||||
<button type="submit" class="btn btn-neutral">Terapkan</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</dialog>
|
||||
|
|
@ -1,157 +0,0 @@
|
|||
@{
|
||||
Layout = "_LayoutApp";
|
||||
ViewData["Title"] = "Rumah Memilah";
|
||||
ViewData["RumahMemilahActive"] = "menu-active";
|
||||
}
|
||||
|
||||
<div class="breadcrumbs text-sm">
|
||||
<ul>
|
||||
<li class="text-gray-500"><a>Data Sudin</a></li>
|
||||
<li>Rumah Memilah</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Header -->
|
||||
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
||||
<div class="prose">
|
||||
<h3 class="mb-2">Rumah Memilah</h3>
|
||||
</div>
|
||||
<div class="justify-self-end lg:self-center">
|
||||
<a class="btn bg-white rounded-full" href="#">
|
||||
<span class="icon icon-fill me-2">filter_list</span>
|
||||
Filter
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-8"></div>
|
||||
|
||||
<div class="card bg-white shadow-sm">
|
||||
<div class="card-body p-2">
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-zebra">
|
||||
<!-- head -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Kecamatan</th>
|
||||
<th>Jumlah RW</th>
|
||||
<th>Total Rumah</th>
|
||||
<th>Rumah Aktif Memilah</th>
|
||||
<th>Rumah Nasabah</th>
|
||||
<th>Bank Sampah</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>1</th>
|
||||
<td>Kebayoran Baru</td>
|
||||
<td>92</td>
|
||||
<td>701</td>
|
||||
<td>581</td>
|
||||
<td>581</td>
|
||||
<td>581</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>2</th>
|
||||
<td>Tebet</td>
|
||||
<td>44</td>
|
||||
<td>934</td>
|
||||
<td>889</td>
|
||||
<td>889</td>
|
||||
<td>889</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>3</th>
|
||||
<td>Mentang</td>
|
||||
<td>9</td>
|
||||
<td>1378</td>
|
||||
<td>673</td>
|
||||
<td>673</td>
|
||||
<td>673</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>4</th>
|
||||
<td>Cilandak</td>
|
||||
<td>18</td>
|
||||
<td>1094</td>
|
||||
<td>790</td>
|
||||
<td>790</td>
|
||||
<td>790</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>5</th>
|
||||
<td>Setiabudi</td>
|
||||
<td>17</td>
|
||||
<td>794</td>
|
||||
<td>750</td>
|
||||
<td>750</td>
|
||||
<td>750</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>6</th>
|
||||
<td>Gambir</td>
|
||||
<td>4</td>
|
||||
<td>1573</td>
|
||||
<td>780</td>
|
||||
<td>780</td>
|
||||
<td>780</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>7</th>
|
||||
<td>Cakung</td>
|
||||
<td>55</td>
|
||||
<td>1160</td>
|
||||
<td>552</td>
|
||||
<td>552</td>
|
||||
<td>552</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>8</th>
|
||||
<td>Kepala Gading</td>
|
||||
<td>95</td>
|
||||
<td>1663</td>
|
||||
<td>582</td>
|
||||
<td>582</td>
|
||||
<td>582</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>9</th>
|
||||
<td>Pancoran</td>
|
||||
<td>48</td>
|
||||
<td>730</td>
|
||||
<td>935</td>
|
||||
<td>935</td>
|
||||
<td>935</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>10</th>
|
||||
<td>Tanah Abang</td>
|
||||
<td>80</td>
|
||||
<td>1046</td>
|
||||
<td>593</td>
|
||||
<td>593</td>
|
||||
<td>593</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="flex flex-col gap-2 md:flex-row justify-between items-center">
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
<span class="icon icon-fill text-sm me-2">arrow_back</span>
|
||||
Prev
|
||||
</a>
|
||||
<div class="join gap-2">
|
||||
<button class="join-item btn btn-circle bg-bpsrw-500 text-white">1</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">2</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">...</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">5</button>
|
||||
<button class="join-item btn btn-circle bg-white text-gray-500">6</button>
|
||||
</div>
|
||||
<a href="#" class="btn btn-ghost btn-sm">
|
||||
Next
|
||||
<span class="icon icon-fill text-sm ms-2">arrow_forward</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -56,9 +56,9 @@
|
|||
</div>
|
||||
|
||||
<!-- Login Button -->
|
||||
<div class="flex-1 flex justify-end items-center gap-4">
|
||||
<a href="@Url.Action("Index", "Dashboard")" class="btn btn-success rounded-full shadow-none bg-bpsrw-500 border-0">
|
||||
<span class="text-white text-base font-semibold font-jakarta leading-normal">Login</span>
|
||||
<div class="flex flex-1 items-center justify-end gap-4">
|
||||
<a asp-area="Admin" asp-action="Index" asp-controller="Dashboard" class="btn btn-success rounded-full border-0 bg-bpsrw-500 shadow-none">
|
||||
<span class="font-jakarta text-base leading-normal font-semibold text-white">Login</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,137 +0,0 @@
|
|||
<label class="drawer-overlay" for="my-drawer-2" aria-label="close sidebar"></label>
|
||||
|
||||
<aside class="min-h-screen bg-base-100 border-e border-gray-200">
|
||||
<!-- Navbar -->
|
||||
<div
|
||||
class="navbar sticky top-0 hidden border-b border-gray-200 items-center justify-center gap-2 bg-profiling-500 px-4 py-2 font-bold lg:z-50 lg:flex">
|
||||
<img src="/images/logo.png" alt="Logo" width="48" />
|
||||
<span>BPS RW</span>
|
||||
</div>
|
||||
<ul class="menu menu-sidebar bg-base-100 text-base-content min-h-full w-80 p-4">
|
||||
<!-- Sidebar content here -->
|
||||
<li>
|
||||
<a href="@Url.Action("Index", "Dashboard")" class="text-gray-500 @ViewData["DashboardActive"]">
|
||||
<span class="icon icon-fill">analytics</span>
|
||||
Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<details open>
|
||||
<summary class="text-bpsrw-500 font-semibold">DATA SUDIN</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="@Url.Action("Index", "RumahMemilah")" class="text-gray-500 @ViewData["RumahMemilahActive"]">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Rumah Memilah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Checklist Harian
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
<li>
|
||||
<details open>
|
||||
<summary class="text-bpsrw-500 font-semibold">DATA KECAMATAN</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Kecamatan
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Rumah Memilah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Checklist Harian
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data RW
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data RT
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
<li>
|
||||
<details open>
|
||||
<summary class="text-bpsrw-500 font-semibold">DATA RUMAH</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Rumah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Potensi Rumah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Bank Sampah
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="@Url.Action("Index", "DataPendampingRw")" class="text-gray-500 @ViewData["DataPendampingRwActive"]">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Pendamping RW
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">list</span>
|
||||
Data Berat Sampah
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
<li>
|
||||
<details open>
|
||||
<summary class="text-bpsrw-500 font-semibold">DATA VERIFIKASI</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="@Url.Action("Index", "LaporanRw")" class="text-gray-500 @ViewData["LaporanRwActive"]">
|
||||
<span class="icon icon-fill">house</span>
|
||||
Laporan RW
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Checklist Harian
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="text-gray-500">
|
||||
<span class="icon icon-fill">playlist_add_check</span>
|
||||
Total Checklist Rumah
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
Loading…
Reference in New Issue