Sonarr/NzbDrone.Web/Views/Shared/_Layout.cshtml

65 lines
3.1 KiB
Plaintext
Raw Normal View History

@using Helpers;
<!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" xml:lang="en" lang="en">
<head runat="server">
2011-06-24 03:51:52 +00:00
<link rel="SHORTCUT ICON" href="../../favicon.ico" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>NZBDrone</title>
@{Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css")
.Add("telerik.sitefinity.css")
2011-06-24 03:51:52 +00:00
.Add("notibar.css")
.Add("Site.css")
.Add("jquery-ui.css")
.Add("jquery-ui.custom.css").Compress(true))
.Render();}
2011-06-24 03:51:52 +00:00
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
@RenderSection("HeaderContent", required: false)
2011-06-24 03:51:52 +00:00
</head>
<body>
<div id="centered">
<div id="menu">
<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("Settings", "Index", "Settings"))
@MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))
</ul>
</div>
<div id="logo">
@RenderSection("TitleContent", required: false)
</div>
<div id="page">
@RenderSection("ActionMenu", required: false)
@RenderSection("MainContent", required: false)
@RenderBody()
</div>
<div id="footer">
@{Html.RenderAction("Footer", "Shared");}
</div>
</div>
<div id="msgBox">
<span id="msgText">Scanning Series Folder...</span>
</div>
</body>
@RenderSection("Scripts", required: false)
2011-06-24 01:30:35 +00:00
@{Html.Telerik().ScriptRegistrar().jQuery(true).Scripts(
c => c.AddGroup("CDN", group => group
.Add("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js")
.Add("http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"))
2011-06-24 03:51:52 +00:00
2011-06-24 01:30:35 +00:00
.AddGroup("3rdParty", group => group
.Add("jquery.form.js")
.Add("jquery.jgrowl.js")
.Add("jquery-tgc-countdown-1.0.js")
2011-06-24 03:51:52 +00:00
.Add("MicrosoftMvcValidation.js").Combined(true).Compress(true))
2011-06-24 01:30:35 +00:00
.AddGroup("NzbDrone", group => group
.Add("Notification.js")
.Add("gridLoad.js")
.Add("episodeSearch.js"))
2011-06-24 03:51:52 +00:00
2011-06-24 01:30:35 +00:00
).Render();}
</html>