2016-10-20 17:55:29 +08:00
|
|
|
|
using Bootstrap.Admin.Models;
|
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace Bootstrap.Admin.Controllers
|
|
|
|
|
{
|
2016-10-21 16:35:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2016-10-20 17:55:29 +08:00
|
|
|
|
public class AdminController : Controller
|
|
|
|
|
{
|
2016-10-21 16:35:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-10-20 17:55:29 +08:00
|
|
|
|
public ActionResult Index()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Index");
|
2016-10-20 17:55:29 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-10-21 16:35:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-10-20 17:55:29 +08:00
|
|
|
|
public ActionResult Users()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Users");
|
2016-10-20 17:55:29 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-10-23 20:05:03 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-10-24 20:53:05 +08:00
|
|
|
|
public ActionResult Groups()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Groups");
|
2016-10-24 20:53:05 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-10-29 16:46:02 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public ActionResult Dicts()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Dicts");
|
2016-10-29 16:46:02 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-10 14:06:00 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-10-24 22:10:17 +08:00
|
|
|
|
public ActionResult Roles()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Roles");
|
2016-10-24 22:10:17 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-10 14:06:00 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-10-25 18:54:20 +08:00
|
|
|
|
public ActionResult Menus()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Menus");
|
2016-10-25 18:54:20 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-10 14:06:00 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-11-02 15:35:25 +08:00
|
|
|
|
public ActionResult Logs()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Logs");
|
2016-11-02 15:35:25 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-10-24 20:53:05 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-10-23 20:05:03 +08:00
|
|
|
|
public ActionResult FAIcon()
|
|
|
|
|
{
|
2016-11-21 01:53:03 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/FAIcon");
|
|
|
|
|
return View(v);
|
2016-10-23 20:05:03 +08:00
|
|
|
|
}
|
2016-11-02 00:59:58 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public ActionResult Profiles()
|
|
|
|
|
{
|
2016-11-03 19:52:35 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Profiles");
|
2016-11-02 00:59:58 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-07 16:17:57 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-11-11 13:11:57 +08:00
|
|
|
|
public ActionResult Notifications()
|
2016-11-07 16:17:57 +08:00
|
|
|
|
{
|
2016-11-11 13:11:57 +08:00
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Notifications");
|
2016-11-07 16:17:57 +08:00
|
|
|
|
return View(v);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public ActionResult Infos()
|
|
|
|
|
{
|
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Infos");
|
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-11 21:06:08 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-11-11 21:44:41 +08:00
|
|
|
|
public ActionResult Exceptions()
|
|
|
|
|
{
|
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Exceptions");
|
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-12 23:00:50 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public ActionResult Messages()
|
|
|
|
|
{
|
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Messages");
|
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-19 20:08:02 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2016-11-17 09:41:13 +08:00
|
|
|
|
public ActionResult Tasks()
|
|
|
|
|
{
|
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Tasks");
|
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-11-19 20:08:02 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public ActionResult Mobile()
|
|
|
|
|
{
|
|
|
|
|
var v = new NavigatorBarModel("~/Admin/Mobile");
|
|
|
|
|
return View(v);
|
|
|
|
|
}
|
2016-10-20 17:55:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|