sonarr-repo-only/NzbDrone.Web/Views/Shared/_Layout.cshtml

58 lines
2.3 KiB
Plaintext
Raw Normal View History

2011-07-04 05:54:14 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@{ Layout = "~/Views/Shared/_RefrenceLayout.cshtml"; }
@using NzbDrone.Common
@using NzbDrone.Web.Helpers
@section HeaderContent
{
2011-07-02 22:19:09 +00:00
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
2011-06-26 18:32:19 +00:00
@RenderSection("HeaderContent", required: false)
}
2011-06-26 18:32:19 +00:00
<body>
<div id="centered">
<div id="menu">
2011-06-26 18:32:19 +00:00
<ul>
@MvcHtmlString.Create(Html.CurrentActionLink("Series", "Index", "Series"))
@MvcHtmlString.Create(Html.CurrentActionLink("Upcoming", "Index", "Upcoming"))
@MvcHtmlString.Create(Html.CurrentActionLink("History", "Index", "History"))
@MvcHtmlString.Create(Html.CurrentActionLink("Missing", "Index", "Missing"))
2011-06-26 18:32:19 +00:00
@MvcHtmlString.Create(Html.CurrentActionLink("Settings", "Index", "Settings"))
@MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))
</ul>
<input id="localSeriesLookup" type="text" />
2011-06-26 18:32:19 +00:00
</div>
<div id="logo">
@RenderSection("TitleContent", required: false)
2011-06-26 18:32:19 +00:00
</div>
<div id="page">
@RenderSection("ActionMenu", required: false)
@RenderBody()
2011-06-26 18:32:19 +00:00
</div>
<div id="footer">
2011-06-26 18:32:19 +00:00
@{Html.RenderAction("Footer", "Shared");}
</div>
</div>
<div id="msgBox">
<span id="msgText">background notification</span>
2011-06-26 18:32:19 +00:00
</div>
@section Scripts
{
2011-11-26 17:43:49 +00:00
@RenderSection("Scripts", required: false)
@if (EnviromentProvider.IsProduction)
{
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-8318723-7']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_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>
}
}