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