纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  5. <meta charset="utf-8" />
  6. <meta name="viewport" content="width=device-width" />
  7. <title>@ViewBag.Title</title>
  8. @Styles.Render("~/Content/css")
  9. @Scripts.Render("~/bundles/modernizr")
  10. </head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  12. <body>
  13. <div class="navbar navbar-inverse navbar-fixed-top">
  14. <div class="container">
  15. <div class="navbar-header">
  16. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  17. <span class="icon-bar"></span>
  18. <span class="icon-bar"></span>
  19. <span class="icon-bar"></span>
  20. </button>
  21. @Html.ActionLink("应用程序名称", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
  22. </div>
  23. <div class="navbar-collapse collapse">
  24. <ul class="nav navbar-nav">
  25. <li>@Html.ActionLink("主页", "Index", "Home", new { area = "" }, null)</li>
  26. <li>@Html.ActionLink("API", "Index", "Help", new { area = "" }, null)</li>
  27. </ul>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="container body-content">
  32. @RenderBody()
  33. <hr />
  34. <footer>
  35. <p>&copy; @DateTime.Now.Year - 我的 ASP.NET 应用程序</p>
  36. </footer>
  37. </div>
  38. @Scripts.Render("~/bundles/jquery")
  39. @Scripts.Render("~/bundles/bootstrap")
  40. @RenderSection("scripts", required: false)
  41. </body>
  42. </html>