|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@Page.Title - @Site.Name()</title>
<link href="@Href("~/favicon.ico")" rel="shortcut icon" type="image/x-icon" />
<link rel="stylesheet" href="@Href("blueprint/screen.css")" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="@Href("blueprint/print.css")" type="text/css" media="print" />
<!--[if lt IE 8]><link rel="stylesheet" href="@Href("blueprint/ie.css")" type="text/css" media="screen, projection"><![endif]-->
<link href="@Href("Site.css")" rel="stylesheet" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
@RenderSection("head", required: false)
</head>
<body>
<div id="page" class="container">
<header>
<div class="span-5">
<h1>@Site.Name()</h1>
</div>
<div class="span-19 last">
<div id="login">
@if (WebSecurity.IsAuthenticated)
{
<ul>
<li><a href="@Href("~/")">Home</a></li>
@if (Roles.IsUserInRole("admin"))
{
<li><a href="@Href("~/Setup")">Setup</a></li>
}
<li><a href="@Href("~/User/")@WebSecurity.CurrentUserName">Dashboard</a></li>
<li><a href="@Href("~/Account/ChangePassword")">Account</a></li>
<li><a href="@Href("~/Account/Logout")">Logout</a></li>
</ul>
}
else
{
<ul>
<li><a href="@Href("~/")">Home</a></li>
<li><a href="@Href("~/Account/Register")">Register</a></li>
<li><a href="@Href("~/Account/Login")">Login</a></li>
</ul>
}
</div>
</div>
</header>
<div class="span-24 last">
<div id="color-block"></div>
</div>
<div id="nav" class="span-5">
<nav>@Site.MainMenu()</nav>
<aside>@RenderSection("aside", required: false)</aside>
</div>
<div id="content" class="span-19 last">
<section>@RenderBody()</section>
</div>
<div id="footer" class="span-24 last">
<footer>© Copyright @DateTime.Now.Year, @Site.Author() All Right Reserved.</footer>
</div>
</div>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.