From 25e17069e06e453414e0fc1152ddabe1294d4024 Mon Sep 17 00:00:00 2001 From: "liuchun_0206@163.com" Date: Mon, 7 Nov 2016 16:17:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E5=92=8C=E9=80=9A=E7=9F=A5=E7=AE=A1=E7=90=86=E7=A9=BA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Bootstrap.Admin.csproj | 2 ++ .../Controllers/AdminController.cs | 20 +++++++++++++++++++ Bootstrap.Admin/Views/Admin/Infos.cshtml | 12 +++++++++++ Bootstrap.Admin/Views/Admin/News.cshtml | 13 ++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 Bootstrap.Admin/Views/Admin/Infos.cshtml create mode 100644 Bootstrap.Admin/Views/Admin/News.cshtml 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) +} + +