fix: routing
parent
bd51c6527a
commit
091e4c832d
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/Aktifitas/Index.cshtml");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/Dashboard/Index.cshtml");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/DataBankSampah/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/DataNasabah/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/DataOfftaker/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ namespace BankSampahApp.Controllers.Main
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/Profil/Index.cshtml");
|
||||
}
|
||||
|
||||
public IActionResult Edit(int id)
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/Profil/Edit.cshtml");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Main
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Main/TransaksiLaporan/Index.cshtml");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/Aktivitas/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/Artikel/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/BadanHukum/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/Fasilitas/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/JenisBankSampah/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/JenisNasabah/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/JenisPengolahan/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/JenisSampah/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/Kategori/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/KategoriFasilitas/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/KategoriSampah/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/Mitra/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/StatusLahan/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Master
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Master/SubKategoriSampah/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Wilayah
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Wilayah/Kecamatan/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Wilayah
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Wilayah/Kelurahan/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BankSampahApp.Controllers.Wilayah
|
|||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
return View("~/Views/Wilayah/Kota/Index.cshtml");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/DataBankSampah/Table',
|
||||
ajax: '/Main/DataBankSampah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
const kategori = $('#filterKategori').val();
|
||||
const status = $('#filterStatus').val();
|
||||
|
||||
table.ajax.url('/Dinas/DataBankSampah/Table').load((json) => {
|
||||
table.ajax.url('/Main/DataBankSampah/Table').load((json) => {
|
||||
const filtered = json.data.filter(row => {
|
||||
return (!jenis || row.jenis === jenis)
|
||||
&& (!kategori || row.kategori === kategori)
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/DataNasabah/Table',
|
||||
ajax: '/Main/DataNasabah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/DataNasabah/Table',
|
||||
ajax: '/Main/DataNasabah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Aktivitas/Table',
|
||||
ajax: '/Master/Aktivitas/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Artikel/Table',
|
||||
ajax: '/Master/Artikel/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/BadanHukum/Table',
|
||||
ajax: '/Master/BadanHukum/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Fasilitas/Table',
|
||||
ajax: '/Master/Fasilitas/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/JenisBankSampah/Table',
|
||||
ajax: '/Master/JenisBankSampah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/JenisNasabah/Table',
|
||||
ajax: '/Master/JenisNasabah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/JenisPengolahan/Table',
|
||||
ajax: '/Master/JenisPengolahan/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/JenisSampah/Table',
|
||||
ajax: '/Master/JenisSampah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Kategori/Table',
|
||||
ajax: '/Master/Kategori/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/KategoriFasilitas/Table',
|
||||
ajax: '/Master/KategoriFasilitas/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/KategoriSampah/Table',
|
||||
ajax: '/Master/KategoriSampah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Mitra/Table',
|
||||
ajax: '/Master/Mitra/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/StatusLahan/Table',
|
||||
ajax: '/Master/StatusLahan/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/SubKategoriSampah/Table',
|
||||
ajax: '/Master/SubKategoriSampah/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
<input id="my-drawer-2" type="checkbox" class="drawer-toggle" />
|
||||
<div class="drawer-content">
|
||||
<!-- Navbar -->
|
||||
<partial name="~/Areas/Shared/Layouts/App/_Navbar.cshtml" />
|
||||
<partial name="_NavbarApp" />
|
||||
<!-- Page content here -->
|
||||
<main class="container mx-auto p-6">
|
||||
@RenderBody()
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
</div>
|
||||
<div class="drawer-side z-50 lg:z-0">
|
||||
<!-- Sidebar -->
|
||||
<partial name="~/Areas/Shared/Layouts/App/_Sidebar.cshtml" />
|
||||
<partial name="_SidebarUnified" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Kecamatan/Table',
|
||||
ajax: '/Wilayah/Kecamatan/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Kelurahan/Table',
|
||||
ajax: '/Wilayah/Kelurahan/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
$(document).ready(function () {
|
||||
table = new DataTable('#example', {
|
||||
ajax: '/Dinas/Kota/Table',
|
||||
ajax: '/Wilayah/Kota/Table',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue