Fixed doctype,

removed telerik script/css registrar
pull/2/head
kay.one 14 years ago
parent b98aab87ae
commit 3d961654d8

@ -95,7 +95,9 @@ Series
Loading...</span> Loading...</span>
</div> </div>
} }
<script type="text/javascript">
@section Scripts{
<script type="text/javascript">
var windowElement; var windowElement;
function grid_edit(args) { function grid_edit(args) {
@ -144,9 +146,9 @@ Series
$("#progressbar_" + seriesId).episodeProgress(episodeFileCount, episodeCount); $("#progressbar_" + seriesId).episodeProgress(episodeFileCount, episodeCount);
} }
</script> </script>
<script type="text/javascript" src="../../Scripts/doTimeout.js"></script> <script type="text/javascript" src="../../Scripts/doTimeout.js"></script>
<script type="text/javascript"> <script type="text/javascript">
(function ($) { (function ($) {
$.fn.episodeProgress = function (episodes, totalEpisodes) { $.fn.episodeProgress = function (episodes, totalEpisodes) {
return this.each( return this.each(
@ -161,4 +163,5 @@ Series
}); });
}; };
})(jQuery); })(jQuery);
</script> </script>
}

@ -1,18 +1,2 @@
<script type="text/javascript"> <div>RSS Sync: </div>
jQuery(document).ready(function () {
document.getElementById('syncTimer').style.display = 'inline'; //Show the timer after the page loads, prevents FOUC (Flash of Unstyled Content)
$('#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>
@*<div>RSS Sync: <span style="display:none" id="syncTimer" class="timer"><@ViewData["RssTimer"]</span></div>*@
<div>RSS Sync: </div>
<div style="display:none" id="syncTimer" class="timer">@ViewData["RssTimer"]</div> <div style="display:none" id="syncTimer" class="timer">@ViewData["RssTimer"]</div>

@ -1,8 +1,10 @@
@using Helpers; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> @using Helpers;
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server"> <head runat="server">
<link rel="SHORTCUT ICON" href="../../favicon.ico" /> <link rel="SHORTCUT ICON" href="../../favicon.ico" />
<title>NZBDrone</title> <title>NZBDrone</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
@MvcMiniProfiler.MiniProfiler.RenderIncludes() @MvcMiniProfiler.MiniProfiler.RenderIncludes()
<link href="/Content/Blueprint/screen.css" rel="stylesheet" type="text/css" /> <link href="/Content/Blueprint/screen.css" rel="stylesheet" type="text/css" />
<link href="/Content/Blueprint/ie.css" rel="stylesheet" type="text/css" /> <link href="/Content/Blueprint/ie.css" rel="stylesheet" type="text/css" />
@ -49,23 +51,40 @@
<div id="msgBox"> <div id="msgBox">
<span id="msgText">Scanning Series Folder...</span> <span id="msgText">Scanning Series Folder...</span>
</div> </div>
</body> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" />
@RenderSection("Scripts", required: false) <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js" />
@{Html.Telerik().ScriptRegistrar().jQuery(true).Scripts( <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js" />
c => c.AddGroup("CDN", group => group <script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.common.min.js" />
.Add("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js") <script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.textbox.min.js" />
.Add("http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js")) <script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.grid.min.js" />
<script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.grid.filtering.min.js" />
<script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.grid.grouping.min.js" />
<script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.tabstrip.min.js" />
<script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.panelbar.min.js" />
<script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.list.min.js" />
<script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.combobox.min.js" />
<script type="text/javascript" src="http://aspnet-scripts.telerikstatic.com/mvcz/2011.1.414/telerik.menu.min.js" />
<script type="text/javascript" src="/Scripts/jquery-tgc-countdown-1.0.js" />
<script type="text/javascript" src="/Scripts/jquery.form.js" />
<script type="text/javascript" src="/Scripts/jquery.jgrowl.js" />
<script type="text/javascript" src="/Scripts/Notification.js" />
<script type="text/javascript" src="/Scripts/MicrosoftMvcValidation.js" />
<script type="text/javascript" src="/Scripts/episodeSearch.js" />
.AddGroup("3rdParty", group => group <script type="text/javascript">
.Add("jquery.form.js") jQuery(document).ready(function () {
.Add("jquery.jgrowl.js")
.Add("jquery-tgc-countdown-1.0.js")
.Add("MicrosoftMvcValidation.js").Combined(true).Compress(true))
.AddGroup("NzbDrone", group => group document.getElementById('syncTimer').style.display = 'inline'; //Show the timer after the page loads, prevents FOUC (Flash of Unstyled Content)
.Add("Notification.js")
.Add("gridLoad.js")
.Add("episodeSearch.js"))
).Render();} $('#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>
</html> </html>

@ -25,7 +25,7 @@ Configuration
columns.Command(commands => columns.Command(commands =>
{ {
commands.Edit().ButtonType(GridButtonType.Image); commands.Edit().ButtonType(GridButtonType.Image);
}).Width(0).Title("Actions"); }).Width(90).Title("Actions");
}) })
.Editable(editing => editing.Mode(GridEditMode.InLine)) .Editable(editing => editing.Mode(GridEditMode.InLine))
.Sortable() .Sortable()

@ -4,6 +4,6 @@
<supportedRuntime version="v4.0" /> <supportedRuntime version="v4.0" />
</startup> </startup>
<appSettings> <appSettings>
<add key="port" value="8989" /> <add key="port" value="8980" />
</appSettings> </appSettings>
</configuration> </configuration>
Loading…
Cancel
Save