committing so that i can rename Foo.master to Site.master without screwing up svn
This commit is contained in:
parent
c7d9a3e12a
commit
cb48be9903
17
Src/VideoGameQuotes.Web/Views/Shared/Foo.master
Normal file
17
Src/VideoGameQuotes.Web/Views/Shared/Foo.master
Normal file
@ -0,0 +1,17 @@
|
||||
<%@ Master Language="C#" MasterPageFile="PageWithoutAnalytics.Master" %>
|
||||
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent"><asp:ContentPlaceHolder runat="server" ID="TitleContent" /></asp:Content>
|
||||
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent"><asp:ContentPlaceHolder runat="server" ID="MainContent" /></asp:Content>
|
||||
<asp:Content runat="server" ID="Deferrable" ContentPlaceHolderID="DeferrableScripts">
|
||||
<asp:ContentPlaceHolder runat="server" ID="DeferrableScripts" />
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-6733824-10']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
</asp:Content>
|
@ -0,0 +1,53 @@
|
||||
<%@ 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>
|
||||
© <%= 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>
|
Loading…
Reference in New Issue
Block a user