1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-31 16:02:29 +01:00
Sonarr/NzbDrone.Web/Views/Shared/_Layout.cshtml

88 lines
4.1 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@using Helpers;
<html xmlns="http://www.w3.org/1999/xhtml">
2011-06-26 20:32:19 +02:00
<head runat="server">
<link rel="SHORTCUT ICON" href="../../favicon.ico" />
<title>NZBDrone</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
2011-06-26 21:19:42 +02:00
<link href="/Content/Blueprint/screen.css" rel="stylesheet" type="text/css" />
<link type="text/css" href="http://aspnet-skins.telerikstatic.com/mvcz/2011.1.414/telerik.common.min.css"
rel="stylesheet" />
<link type="text/css" href="http://aspnet-skins.telerikstatic.com/mvcz/2011.1.414/telerik.sitefinity.min.css"
rel="stylesheet" />
<link type="text/css" href="http://aspnet-skins.telerikstatic.com/mvcz/2011.1.414/telerik.rtl.min.css"
rel="stylesheet" />
<link href="/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="/Content/Notibar.css" rel="stylesheet" type="text/css" />
2011-07-01 09:23:07 +02:00
<link href="/Content/ActionButton.css" rel="stylesheet" type="text/css" />
<link href="/Content/overrides.css" rel="stylesheet" type="text/css" />
2011-06-26 20:32:19 +02:00
@RenderSection("HeaderContent", required: false)
</head>
<body>
<div class="container">
2011-06-26 21:19:42 +02:00
<div id="menu" class="span-24 last prepend-top append-bottom">
2011-06-26 20:32:19 +02: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("Settings", "Index", "Settings"))
@MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))
</ul>
</div>
<hr />
2011-06-26 21:19:42 +02:00
<div class="span-24 last">
<div id="logo">
@RenderSection("TitleContent", required: false)
</div>
2011-06-26 20:32:19 +02:00
</div>
<hr />
2011-06-26 21:19:42 +02:00
<div class="span-24 last">
<div id="page">
@RenderSection("ActionMenu", required: false)
@RenderSection("MainContent", required: false)
@RenderBody()
</div>
2011-06-26 20:32:19 +02:00
</div>
<hr />
<div id="footer" class="span-24 last">
@{Html.RenderAction("Footer", "Shared");}
</div>
</div>
<div id="msgBox">
<span id="msgText">Scanning Series Folder...</span>
</div>
2011-06-30 08:15:06 +02:00
@(Html.Telerik().ScriptRegistrar().Scripts(
2011-06-28 07:01:54 +02:00
c => c.AddGroup("CDN", group => group
.Add("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js")
2011-07-01 09:23:07 +02:00
//.Add("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js")
2011-06-28 07:01:54 +02:00
.Add("http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"))
2011-06-30 08:15:06 +02:00
.AddGroup("3rdParty", group => group
2011-06-28 07:01:54 +02:00
.Add("jquery.form.js")
.Add("jquery.jgrowl.js")
.Add("jquery-tgc-countdown-1.0.js")
2011-07-01 09:23:07 +02:00
.Add("jquery.watermark.min.js")
2011-06-28 07:01:54 +02:00
.Add("MicrosoftMvcValidation.js"))
.AddGroup("NzbDrone", group => group
.Add("Notification.js")
.Add("episodeSearch.js"))
))
<script type="text/javascript">
jQuery(document).ready(function () {
2011-06-26 20:32:19 +02:00
document.getElementById('syncTimer').style.display = 'inline'; //Show the timer after the page loads, prevents FOUC (Flash of Unstyled Content)
2011-06-26 20:32:19 +02:00
$('#syncTimer').tgcCountdown({
counter: '<div style="color: #065EFE;">[H]:[M]:[S]</div>',
counter_warning: '<div style="color: #065EFE;">[H]:[M]:[S]</div>',
counter_expired: '<div style="color: #FFFFFF;">00:00:00</div>',
interval: 1000,
warnonminutesleft: 1
});
});
</script>
@RenderSection("Scripts", required: false)
</body>
2011-06-26 20:32:19 +02:00
</html>