зеркало из https://github.com/mono/mvcwrench.git
Add google analytics.
This commit is contained in:
Родитель
d2e0cf6497
Коммит
8527058691
|
@ -1,50 +1,62 @@
|
||||||
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
|
<%@ 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">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head runat="server">
|
<head runat="server">
|
||||||
<title>MonkeyWrench - <asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
|
<title>MonkeyWrench - <asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
|
||||||
|
|
||||||
<%= Html.IncludeFavicon ("favicon.ico") %>
|
<%= Html.IncludeFavicon ("favicon.ico") %>
|
||||||
|
|
||||||
<%= Html.IncludeCSS ("style.css") %>
|
<%= Html.IncludeCSS ("style.css") %>
|
||||||
<%= Html.IncludeCSS ("diffs.css") %>
|
<%= Html.IncludeCSS ("diffs.css") %>
|
||||||
|
|
||||||
<%= Html.IncludeJS ("~/Scripts/TreeMenu.js")%>
|
<%= Html.IncludeJS ("~/Scripts/TreeMenu.js")%>
|
||||||
<%= Html.IncludeJS ("~/Scripts/jquery-1.3.2.min.js") %>
|
<%= Html.IncludeJS ("~/Scripts/jquery-1.3.2.min.js") %>
|
||||||
|
|
||||||
<%= Html.IncludeScript ("window.onresize = Resize;") %>
|
<%= Html.IncludeScript ("window.onresize = Resize;") %>
|
||||||
</head>
|
|
||||||
|
<script type="text/javascript">
|
||||||
<body>
|
var _gaq = _gaq || [];
|
||||||
<div id="header">
|
_gaq.push(['_setAccount', 'UA-17397812-1']);
|
||||||
<div id="logindisplay">
|
_gaq.push(['_trackPageview']);
|
||||||
<% Html.RenderPartial ("LogOnUserControl"); %>
|
|
||||||
</div>
|
(function() {
|
||||||
</div>
|
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';
|
||||||
<div id="topmenu">
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||||
<% Html.RenderPartial ("SiteMenu"); %>
|
})();
|
||||||
</div>
|
</script>
|
||||||
|
</head>
|
||||||
<div id="content">
|
|
||||||
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
|
<body>
|
||||||
</div>
|
<div id="header">
|
||||||
|
<div id="logindisplay">
|
||||||
<div id="footer">
|
<% Html.RenderPartial ("LogOnUserControl"); %>
|
||||||
<table>
|
</div>
|
||||||
<tr>
|
</div>
|
||||||
<td>
|
|
||||||
<a href="http://www.novell.com/linux"><img src="<%= Html.ResolveUrl ("~/Media/novell-logo.png") %>" alt="Novell" title="The Mono Project - Sponsored by Novell" style="padding-top: 2px;" /></a>
|
<div id="topmenu">
|
||||||
</td>
|
<% Html.RenderPartial ("SiteMenu"); %>
|
||||||
<td class="text">
|
</div>
|
||||||
The Mono name, logo and icon are registered trademarks of <a href="http://www.novell.com/linux">Novell</a>. Most other icons courtesy of <a href="http://www.famfamfam.com">famfamfam</a>.
|
|
||||||
</td>
|
<div id="content">
|
||||||
</tr>
|
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
|
||||||
</table>
|
</div>
|
||||||
</div>
|
|
||||||
|
<div id="footer">
|
||||||
<!-- Resize the window after everything has rendered -->
|
<table>
|
||||||
<%= Html.IncludeScript ("Resize();") %>
|
<tr>
|
||||||
</body>
|
<td>
|
||||||
</html>
|
<a href="http://www.novell.com/linux"><img src="<%= Html.ResolveUrl ("~/Media/novell-logo.png") %>" alt="Novell" title="The Mono Project - Sponsored by Novell" style="padding-top: 2px;" /></a>
|
||||||
|
</td>
|
||||||
|
<td class="text">
|
||||||
|
The Mono name, logo and icon are registered trademarks of <a href="http://www.novell.com/linux">Novell</a>. Most other icons courtesy of <a href="http://www.famfamfam.com">famfamfam</a>.
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Resize the window after everything has rendered -->
|
||||||
|
<%= Html.IncludeScript ("Resize();") %>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче