using Bootstrap.Admin.Models; using System.Web.Mvc; namespace Bootstrap.Admin.Controllers { /// /// /// public class AdminController : Controller { /// /// /// /// public ActionResult Index() { var v = new NavigatorBarModel(); v.ShowMenu = "hide"; v.HomeUrl = "~/Admin"; return View(v); } /// /// /// /// public ActionResult Users() { var v = new NavigatorBarModel(); v.ShowMenu = "hide"; v.Menus[1].Active = "active"; v.HomeUrl = "~/Admin"; return View(v); } /// /// /// /// public ActionResult Groups() { var v = new NavigatorBarModel(); v.ShowMenu = "hide"; v.Menus[3].Active = "active"; v.HomeUrl = "~/Admin"; return View(v); } /// /// /// /// public ActionResult Dicts() { var v = new NavigatorBarModel(); v.ShowMenu = "hide"; v.Menus[4].Active = "active"; v.HomeUrl = "~/Admin"; return View(v); } public ActionResult Roles() { var v = new NavigatorBarModel(); v.ShowMenu = "hide"; v.Menus[2].Active = "active"; v.HomeUrl = "~/Admin"; return View(v); } public ActionResult Menus() { var v = new NavigatorBarModel(); v.ShowMenu = "hide"; v.Menus[0].Active = "active"; v.HomeUrl = "~/Admin"; return View(v); } /// /// /// /// [AllowAnonymous] public ActionResult FAIcon() { return View(); } } }