style: change to attr asp for redirect menu
parent
bd58d66f6c
commit
9460c94d1c
|
|
@ -20,13 +20,13 @@
|
|||
@if (currentArea == "Sudin")
|
||||
{
|
||||
<li>
|
||||
<a href="@Url.Action("Index","Dashboard")" class="w-full rounded-full @ViewData["DashboardActive"]">
|
||||
<a asp-area="Sudin" asp-action="Index" asp-controller="Dashboard" class="w-full rounded-full @(controller == "Dashboard" ? "menu-active" : "")">
|
||||
<i class="ph ph-gauge me-2 text-lg"></i>
|
||||
Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="@Url.Action("Index","DataBankSampah")" class="rounded-full @ViewData["DataBankSampahActive"]">
|
||||
<a asp-area="Sudin" asp-action="Index" asp-controller="DataBankSampah" class="rounded-full @(controller == "DataBankSampah" ? "menu-active" : "")">
|
||||
<i class="ph ph-house-line me-2 text-lg"></i>
|
||||
Data Bank Sampah
|
||||
</a>
|
||||
|
|
@ -38,13 +38,13 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="@Url.Action("Index","DataOfftaker")" class="rounded-full @ViewData["DataOfftakerActive"]">
|
||||
<a asp-area="Sudin" asp-action="Index" asp-controller="DataOfftaker" class="rounded-full @(controller == "DataOfftaker" ? "menu-active" : "")">
|
||||
<i class="ph ph-read-cv-logo me-2 text-lg"></i>
|
||||
Data Offtaker
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="@Url.Action("Index","TransaksiLaporan")" class="rounded-full @ViewData["TransaksiLaporanActive"]">
|
||||
<a asp-area="Sudin" asp-action="Index" asp-controller="TransaksiLaporan" class="rounded-full @(controller == "TransaksiLaporan" ? "menu-active" : "")">
|
||||
<i class="ph ph-database me-2 text-lg"></i>
|
||||
Transaksi Laporan
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue