diff --git a/Controllers/Main/BankSampahController.cs b/Controllers/Reduksi/BankSampahController.cs similarity index 99% rename from Controllers/Main/BankSampahController.cs rename to Controllers/Reduksi/BankSampahController.cs index 1f0045c..c3c7d35 100644 --- a/Controllers/Main/BankSampahController.cs +++ b/Controllers/Reduksi/BankSampahController.cs @@ -1,13 +1,13 @@ using Microsoft.AspNetCore.Mvc; -namespace BankSampahApp.Controllers.Main +namespace BankSampahApp.Controllers.Reduksi { - [Route("Main/[controller]/[action]")] + [Route("Reduksi/[controller]/[action]")] public class BankSampahController : Controller { public IActionResult Index() { - return View("~/Views/Main/BankSampah/Index.cshtml"); + return View("~/Views/Reduksi/BankSampah/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Main/CompostingController.cs b/Controllers/Reduksi/CompostingController.cs similarity index 99% rename from Controllers/Main/CompostingController.cs rename to Controllers/Reduksi/CompostingController.cs index 3f158b9..b75cc59 100644 --- a/Controllers/Main/CompostingController.cs +++ b/Controllers/Reduksi/CompostingController.cs @@ -1,13 +1,13 @@ using Microsoft.AspNetCore.Mvc; -namespace BankSampahApp.Controllers.Main +namespace BankSampahApp.Controllers.Reduksi { - [Route("Main/[controller]/[action]")] + [Route("Reduksi/[controller]/[action]")] public class CompostingController : Controller { public IActionResult Index() { - return View("~/Views/Main/Composting/Index.cshtml"); + return View("~/Views/Reduksi/Composting/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Main/MaggotController.cs b/Controllers/Reduksi/MaggotController.cs similarity index 98% rename from Controllers/Main/MaggotController.cs rename to Controllers/Reduksi/MaggotController.cs index 8959acb..f3d2da4 100644 --- a/Controllers/Main/MaggotController.cs +++ b/Controllers/Reduksi/MaggotController.cs @@ -1,13 +1,13 @@ using Microsoft.AspNetCore.Mvc; -namespace BankSampahApp.Controllers.Main +namespace BankSampahApp.Controllers.Reduksi { - [Route("Main/[controller]/[action]")] + [Route("Reduksi/[controller]/[action]")] public class MaggotController : Controller { public IActionResult Index() { - return View("~/Views/Main/Maggot/Index.cshtml"); + return View("~/Views/Reduksi/Maggot/Index.cshtml"); } [HttpGet] diff --git a/Controllers/Main/ReduksiSampahController.cs b/Controllers/Reduksi/ReduksiSampahController.cs similarity index 97% rename from Controllers/Main/ReduksiSampahController.cs rename to Controllers/Reduksi/ReduksiSampahController.cs index 8467c7e..601de22 100644 --- a/Controllers/Main/ReduksiSampahController.cs +++ b/Controllers/Reduksi/ReduksiSampahController.cs @@ -1,13 +1,13 @@ using Microsoft.AspNetCore.Mvc; -namespace BankSampahApp.Controllers.Main +namespace BankSampahApp.Controllers.Reduksi { - [Route("Main/[controller]/[action]")] + [Route("Reduksi/[controller]/[action]")] public class ReduksiSampahController : Controller { public IActionResult Index() { - return View("~/Views/Main/ReduksiSampah/Index.cshtml"); + return View("~/Views/Reduksi/ReduksiSampah/Index.cshtml"); } [HttpGet] diff --git a/Views/Main/BankSampah/Index.cshtml b/Views/Reduksi/BankSampah/Index.cshtml similarity index 99% rename from Views/Main/BankSampah/Index.cshtml rename to Views/Reduksi/BankSampah/Index.cshtml index 6ed6737..0cb89f1 100644 --- a/Views/Main/BankSampah/Index.cshtml +++ b/Views/Reduksi/BankSampah/Index.cshtml @@ -103,7 +103,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Main/BankSampah/Table', + ajax: '/Reduksi/BankSampah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Main/Composting/Index.cshtml b/Views/Reduksi/Composting/Index.cshtml similarity index 99% rename from Views/Main/Composting/Index.cshtml rename to Views/Reduksi/Composting/Index.cshtml index 925902f..b818baf 100644 --- a/Views/Main/Composting/Index.cshtml +++ b/Views/Reduksi/Composting/Index.cshtml @@ -268,7 +268,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Main/Composting/Table', + ajax: '/Reduksi/Composting/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Main/Maggot/Index.cshtml b/Views/Reduksi/Maggot/Index.cshtml similarity index 99% rename from Views/Main/Maggot/Index.cshtml rename to Views/Reduksi/Maggot/Index.cshtml index f9462b5..617e99e 100644 --- a/Views/Main/Maggot/Index.cshtml +++ b/Views/Reduksi/Maggot/Index.cshtml @@ -265,7 +265,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Main/Maggot/Table', + ajax: '/Reduksi/Maggot/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Main/ReduksiSampah/Index.cshtml b/Views/Reduksi/ReduksiSampah/Index.cshtml similarity index 97% rename from Views/Main/ReduksiSampah/Index.cshtml rename to Views/Reduksi/ReduksiSampah/Index.cshtml index 9cfa6f0..c8f132b 100644 --- a/Views/Main/ReduksiSampah/Index.cshtml +++ b/Views/Reduksi/ReduksiSampah/Index.cshtml @@ -42,7 +42,7 @@ $(document).ready(function () { table = new DataTable('#example', { - ajax: '/Main/ReduksiSampah/Table', + ajax: '/Reduksi/ReduksiSampah/Table', scrollX: true, autoWidth: false, initComplete: function () { diff --git a/Views/Shared/_SidebarUnified.cshtml b/Views/Shared/_SidebarUnified.cshtml index 776d974..b602073 100644 --- a/Views/Shared/_SidebarUnified.cshtml +++ b/Views/Shared/_SidebarUnified.cshtml @@ -160,6 +160,22 @@ + +
  • +
    + + + Reduksi + + +
    +
  • +
  • @@ -207,38 +223,6 @@ Transaksi Nasabah
  • - - -
  • - - - Bank Sampah - -
  • - - -
  • - - - Maggot - -
  • - - -
  • - - - Composting - -
  • - - -
  • - - - Reduksi Sampah - -