diff --git a/Bootstrap.Admin/Bootstrap.Admin.csproj b/Bootstrap.Admin/Bootstrap.Admin.csproj index f5477f19..f50f214b 100644 --- a/Bootstrap.Admin/Bootstrap.Admin.csproj +++ b/Bootstrap.Admin/Bootstrap.Admin.csproj @@ -261,6 +261,8 @@ + + Web.config diff --git a/Bootstrap.Admin/Controllers/AdminController.cs b/Bootstrap.Admin/Controllers/AdminController.cs index bc3a57c5..afe5f811 100644 --- a/Bootstrap.Admin/Controllers/AdminController.cs +++ b/Bootstrap.Admin/Controllers/AdminController.cs @@ -78,5 +78,25 @@ namespace Bootstrap.Admin.Controllers var v = new NavigatorBarModel("~/Admin/Profiles"); return View(v); } + + /// + /// + /// + /// + public ActionResult News() + { + var v = new NavigatorBarModel("~/Admin/News"); + return View(v); + } + + /// + /// + /// + /// + public ActionResult Infos() + { + var v = new NavigatorBarModel("~/Admin/Infos"); + return View(v); + } } } diff --git a/Bootstrap.Admin/Views/Admin/Infos.cshtml b/Bootstrap.Admin/Views/Admin/Infos.cshtml new file mode 100644 index 00000000..7ca803fc --- /dev/null +++ b/Bootstrap.Admin/Views/Admin/Infos.cshtml @@ -0,0 +1,12 @@ +@model NavigatorBarModel +@{ + ViewBag.Title = "个人中心"; + Layout = "~/Views/Shared/_Admin.cshtml"; +} +@section header { + @Html.Partial("Header", Model) +} +@section navigator { + @Html.Partial("Navigator", Model) +} + diff --git a/Bootstrap.Admin/Views/Admin/News.cshtml b/Bootstrap.Admin/Views/Admin/News.cshtml new file mode 100644 index 00000000..e71448f1 --- /dev/null +++ b/Bootstrap.Admin/Views/Admin/News.cshtml @@ -0,0 +1,13 @@ +@model NavigatorBarModel +@{ + ViewBag.Title = "通知管理"; + Layout = "~/Views/Shared/_Admin.cshtml"; +} +@section header { + @Html.Partial("Header", Model) +} +@section navigator { + @Html.Partial("Navigator", Model) +} + +