style: add dashboard for role BSI
parent
ea6e86b6bf
commit
4d5a296e43
|
|
@ -0,0 +1,13 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace BankSampahApp.Areas.Bsi.Controllers
|
||||
{
|
||||
[Area("Bsi")]
|
||||
public class DashboardController : Controller
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
@{
|
||||
ViewData["Title"] = "Dashboard";
|
||||
}
|
||||
|
||||
<div class="flex flex-col gap-2 md:flex-row md:justify-between md:gap-0">
|
||||
<div class="prose">
|
||||
<span class="text-xl font-semibold text-black">
|
||||
Dashboard
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
else if (currentArea == "Bsi")
|
||||
{
|
||||
<li>
|
||||
<a href="#" class="w-full rounded-full">
|
||||
<a asp-area="Bsi" asp-controller="Dashboard" asp-action="Index" class="w-full rounded-full">
|
||||
<i class="ph ph-gauge me-2 text-lg"></i>
|
||||
Dashboard
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue