增加个人中心和通知管理空页面

This commit is contained in:
liuchun_0206@163.com 2016-11-07 16:17:57 +08:00
parent b82d8887a5
commit 25e17069e0
4 changed files with 47 additions and 0 deletions

View File

@ -261,6 +261,8 @@
<Content Include="Views\Shared\SubMenuTree.cshtml" /> <Content Include="Views\Shared\SubMenuTree.cshtml" />
<Content Include="Views\Home\Lock.cshtml" /> <Content Include="Views\Home\Lock.cshtml" />
<Content Include="Views\Home\Register.cshtml" /> <Content Include="Views\Home\Register.cshtml" />
<Content Include="Views\Admin\News.cshtml" />
<Content Include="Views\Admin\Infos.cshtml" />
<None Include="Web.Debug.config"> <None Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon> <DependentUpon>Web.config</DependentUpon>
</None> </None>

View File

@ -78,5 +78,25 @@ namespace Bootstrap.Admin.Controllers
var v = new NavigatorBarModel("~/Admin/Profiles"); var v = new NavigatorBarModel("~/Admin/Profiles");
return View(v); return View(v);
} }
/// <summary>
///
/// </summary>
/// <returns></returns>
public ActionResult News()
{
var v = new NavigatorBarModel("~/Admin/News");
return View(v);
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public ActionResult Infos()
{
var v = new NavigatorBarModel("~/Admin/Infos");
return View(v);
}
} }
} }

View File

@ -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)
}

View File

@ -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)
}