添加一个账号界面
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>@ViewBag.Title - 我的 ASP.NET 应用程序</title>
|
||||
<title>@ViewBag.Title - @CommonLibrary.Resource.StringResouce.SoftName</title>
|
||||
@Styles.Render("~/Content/css")
|
||||
@Scripts.Render("~/bundles/modernizr")
|
||||
</head>
|
||||
@@ -25,6 +25,7 @@
|
||||
<li>@Html.ActionLink("关于", "About", "Home")</li>
|
||||
<li>@Html.ActionLink("联系方式", "Contact", "Home")</li>
|
||||
</ul>
|
||||
@Html.Partial("_LoginPartial")
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -32,7 +33,7 @@
|
||||
@RenderBody()
|
||||
<hr />
|
||||
<footer>
|
||||
<p>© @DateTime.Now.Year - 我的 ASP.NET 应用程序</p>
|
||||
<p>© @DateTime.Now.Year - @CommonLibrary.Resource.StringResouce.SoftName</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
4
软件系统浏览器模版/Views/Shared/_LoginPartial.cshtml
Normal file
4
软件系统浏览器模版/Views/Shared/_LoginPartial.cshtml
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>@Html.ActionLink("登录", "AccountLogin", "Home")</li>
|
||||
</ul>
|
||||
@@ -207,6 +207,7 @@
|
||||
<Content Include="Views\Home\About.cshtml" />
|
||||
<Content Include="Views\Home\Contact.cshtml" />
|
||||
<Content Include="Views\Home\Index.cshtml" />
|
||||
<Content Include="Views\Shared\_LoginPartial.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
|
||||
Reference in New Issue
Block a user