2012-07-27 23:31:33 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@{ Layout = "~/Views/Shared/_ReferenceLayout.cshtml"; }
@using NzbDrone.Common
@using NzbDrone.Web.Helpers
@using StackExchange.Profiling
@section HeaderContent
{
@if (string.IsNullOrWhiteSpace(ViewBag.Title) || String.Equals(ViewBag.Title, "NzbDrone", StringComparison.InvariantCultureIgnoreCase))
{
ViewBag.Title = "NzbDrone";
}
else
{
ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title);
}
<title>@ViewBag.Title</title>
2012-10-01 01:20:35 +02:00
@if (!Request.Browser.IsMobileDevice && (!EnvironmentProvider.IsProduction || ProfilerHelper.Enabled()))
2012-07-27 23:31:33 +02:00
{
@MiniProfiler.RenderIncludes()
}
@Html.IncludeCss("Grid.css")
@RenderSection("HeaderContent", required: false)
}
<div id="centered">
<div id="menu">
<ul>
2012-10-15 02:50:01 +02:00
@MvcHtmlString.Create(Html.CurrentControllerLink("Series", "Index", "Series"))
@MvcHtmlString.Create(Html.CurrentControllerLink("Upcoming", "Index", "Upcoming"))
@MvcHtmlString.Create(Html.CurrentControllerLink("History", "Index", "History"))
@MvcHtmlString.Create(Html.CurrentControllerLink("Missing", "Index", "Missing"))
@MvcHtmlString.Create(Html.CurrentControllerLink("Settings", "Index", "Settings"))
2013-01-06 09:11:14 +01:00
@MvcHtmlString.Create(Html.CurrentControllerLink("System", "Index", "System"))
2012-12-21 18:38:35 +01:00
<li id="donate" title="Donate to support the development of NzbDrone"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KRTE52U3XJDSQ" target="_blank">Donate</a></li>
2012-07-27 23:31:33 +02:00
</ul>
</div>
2012-12-23 06:35:36 +01:00
<div id="right-menu">
<ul>
<li>@{ Html.RenderAction("FreeSpace", "Shared"); }</li>
<li><input id="localSeriesLookup" type="text" /></li>
</ul>
</div>
2012-07-27 23:31:33 +02:00
<div id="logo">
2012-10-28 18:48:38 +01:00
<span>@ViewBag.Title</span>
2012-07-27 23:31:33 +02:00
</div>
<div id="page">
@RenderSection("ActionMenu", required: false)
@RenderBody()
</div>
<div id="footer">
@{Html.RenderAction("Footer", "Shared");}
</div>
</div>
<div id="msgBox">
<span id="msgText">background notification</span>
</div>
@section Scripts
{
@RenderSection("Scripts", required: false)
}