vgquotes/Src/VideoGameQuotes.Web/Views/Shared/Site.Master

63 lines
2.8 KiB
Plaintext

<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<title>Video Game Quotes :: <asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="/media/css/reset.css" />
<link rel="stylesheet" type="text/css" href="/media/css/global.css" />
<link rel="stylesheet" type="text/css" href="/media/css/quote.css" />
<link rel="shortcut icon" type="image/png" href="/media/images/favicon.png" />
</head>
<body>
<div id="wrapper">
<div id="header">
<div class="content-container">
<div id="logo">
<h1>Video Game Quotes</h1>
</div>
<div id="main-menu">
<ul class="clearfix menu">
<li><%= Html.ActionLink("Recent", "recent", "Quote", null, new { title = "View most recently submitted quotes" })%></li>
<li><%= Html.RouteLink("Best", "quote", new { action = "best" }, new { title = "View the top rated quotes" })%></li>
<li><%= Html.ActionLink("Browse", "browse", "Quote", new { qualifiers = "" }, new { title = "Browse the quote database" })%></li>
<li><%= Html.ActionLink("Random", "random", "Quote", null, new { title = "View a random quote" })%></li>
<li><%= Html.ActionLink("Submit", "submit", "Quote", null, new { title = "Submit a new quote" }) %></li>
<li><%= Html.ActionLink("About", "about", "Home", null, new { title = "About the site" })%></li>
<li class="searchbox">
<% using (Html.BeginForm("search", "quote", FormMethod.Get, new { id = "search-form" })) { %>
<div>
<%= Html.TextBox("searchQuery", null, new { id = "search-query" })%>
<input type="image" src="/media/images/search.png" alt="search" title="search quotes, games, systems" />
</div>
<% } %>
</li>
</ul>
</div>
</div>
</div>
<div class="content-container">
<div id="main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
</div>
<div id="footer">
<div class="content-container">
&copy; <%= DateTime.UtcNow.Year %> <a href="http://tommymontgomery.com/" title="Who is this man?">Tommy Montgomery</a><br />
If you steal something, I&rsquo;ll murder your family.
</div>
</div>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
<script type="text/javascript" src="/media/js/vgquotes.js"></script>
<asp:ContentPlaceHolder ID="DeferrableScripts" runat="server" />
</body>
</html>