You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<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>
|
|
@Styles.Render("~/Content/css")
|
|
@Scripts.Render("~/bundles/modernizr")
|
|
</head>
|
|
<body>
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
@Html.ActionLink("应用程序名称", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li>@Html.ActionLink("主页", "Index", "Home")</li>
|
|
<li>@Html.ActionLink("关于", "About", "Home")</li>
|
|
<li>@Html.ActionLink("联系方式", "Contact", "Home")</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container body-content">
|
|
@RenderBody()
|
|
<hr />
|
|
<footer>
|
|
<p>© @DateTime.Now.Year - 我的 ASP.NET 应用程序</p>
|
|
</footer>
|
|
</div>
|
|
|
|
@Scripts.Render("~/bundles/jquery")
|
|
@Scripts.Render("~/bundles/bootstrap")
|
|
@RenderSection("scripts", required: false)
|
|
</body>
|
|
</html>
|