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.
46 lines
1.5 KiB
46 lines
1.5 KiB
13 years ago
|
@* Required so you have extention methods for client timings *@
|
||
|
@using StackExchange.Profiling;
|
||
|
<!DOCTYPE html>
|
||
13 years ago
|
<html>
|
||
|
<head>
|
||
13 years ago
|
@* optional (enable client timing framework) *@
|
||
|
@this.InitClientTimings()
|
||
13 years ago
|
<meta charset="utf-8" />
|
||
|
<title>@ViewBag.Title</title>
|
||
13 years ago
|
|
||
|
@* optional time scripts in the header *@
|
||
|
@this.TimeScript("Content Site.css",
|
||
|
@<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />)
|
||
|
@this.TimeScript("jQuery 1.5.1",
|
||
|
@<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>)
|
||
|
@this.TimeScript("modernizr",
|
||
|
@<script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>)
|
||
13 years ago
|
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="page">
|
||
|
<header>
|
||
|
<div id="title">
|
||
|
<h1>My MVC Application</h1>
|
||
|
</div>
|
||
|
<div id="logindisplay">
|
||
|
@Html.Partial("_LogOnPartial")
|
||
|
</div>
|
||
|
<nav>
|
||
|
<ul id="menu">
|
||
|
<li>@Html.ActionLink("Home", "Index", "Home")</li>
|
||
|
<li>@Html.ActionLink("About", "About", "Home")</li>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</header>
|
||
|
<section id="main">
|
||
|
@RenderBody()
|
||
|
</section>
|
||
|
<footer>
|
||
|
</footer>
|
||
|
</div>
|
||
13 years ago
|
@* Make sure you've added this one line to your LAYOUT or MASTER PAGE *@
|
||
|
@MiniProfiler.RenderIncludes()
|
||
13 years ago
|
</body>
|
||
|
</html>
|