vgquotes/Src/VideoGameQuotes.Web/Views/Shared/Site.Master
tmont 6d17cfa573 * fixed some bugs that occurred when there are no quotes in the database
* fixed some bullshit route stuff that mono failed to implement correctly
* don't use JsonResult because it's broken on Mono
2011-03-03 23:41:42 +00:00

54 lines
2.0 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/vgquotes.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 class="mir"><%= Html.ActionLink("Video Game Quotes", "Index", "Home", null, new { title = "Video Game Quotes" })%></h1>
</div>
<div id="main-menu">
<ul class="clearfix menu">
<% Html.RenderAction("MainMenu", "Home"); %>
</ul>
</div>
</div>
</div>
<div class="content-container">
<div id="main">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
</div>
<div id="footer">
<p>
&copy; <%= DateTime.UtcNow.Year %> <a href="http://tommymontgomery.com/" title="Who is this man?">Tommy Montgomery</a><br />
<%= Html.ActionLink("about", "about", "Home") %> |
<%= Html.ActionLink("credits", "about", "Home", null, null, "credits", null, null) %> |
<% if (!Request.IsAuthenticated) { %>
<a href="#" id="login-link">login</a>
<% } else { %>
<%= Html.ActionLink("logout", "logout", "Home", new { redirectUrl = Request.Path }, null)%>
<% } %>
</p>
</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.compressed.js"></script>
<asp:ContentPlaceHolder ID="DeferrableScripts" runat="server" />
</body>
</html>