From 3d961654d86c556663f49af94872b1f65d0c97ee Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Mon, 27 Jun 2011 18:23:22 -0700 Subject: [PATCH] Fixed doctype, removed telerik script/css registrar --- NzbDrone.Web/Views/Series/Index.cshtml | 105 ++++++++++++----------- NzbDrone.Web/Views/Shared/Footer.cshtml | 18 +--- NzbDrone.Web/Views/Shared/_Layout.cshtml | 59 ++++++++----- NzbDrone.Web/Views/System/Config.cshtml | 2 +- NzbDrone/app.config | 2 +- 5 files changed, 96 insertions(+), 90 deletions(-) diff --git a/NzbDrone.Web/Views/Series/Index.cshtml b/NzbDrone.Web/Views/Series/Index.cshtml index 32ac142ad..5289c08e2 100644 --- a/NzbDrone.Web/Views/Series/Index.cshtml +++ b/NzbDrone.Web/Views/Series/Index.cshtml @@ -76,7 +76,7 @@ Series "" + "" + ""); - + }) .Editable(editor => editor.Mode(GridEditMode.PopUp)) .Sortable(sort => sort.OrderBy(order => order.Add(o => o.Title).Ascending()).Enabled(true)) @@ -95,61 +95,63 @@ Series Loading... } - - - + + + }; + })(jQuery); + +} diff --git a/NzbDrone.Web/Views/Shared/Footer.cshtml b/NzbDrone.Web/Views/Shared/Footer.cshtml index a7731928f..379a33283 100644 --- a/NzbDrone.Web/Views/Shared/Footer.cshtml +++ b/NzbDrone.Web/Views/Shared/Footer.cshtml @@ -1,18 +1,2 @@ - - -@*
RSS Sync:
*@ -
RSS Sync:
+
RSS Sync:
\ No newline at end of file diff --git a/NzbDrone.Web/Views/Shared/_Layout.cshtml b/NzbDrone.Web/Views/Shared/_Layout.cshtml index 113505313..b4d4f7095 100644 --- a/NzbDrone.Web/Views/Shared/_Layout.cshtml +++ b/NzbDrone.Web/Views/Shared/_Layout.cshtml @@ -1,8 +1,10 @@ -@using Helpers; - + +@using Helpers; + NZBDrone + @MvcMiniProfiler.MiniProfiler.RenderIncludes() @@ -49,23 +51,40 @@
Scanning Series Folder...
+ + @RenderSection("Scripts", required: false) -@RenderSection("Scripts", required: false) -@{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")) - - .AddGroup("3rdParty", group => group - .Add("jquery.form.js") - .Add("jquery.jgrowl.js") - .Add("jquery-tgc-countdown-1.0.js") - .Add("MicrosoftMvcValidation.js").Combined(true).Compress(true)) - - .AddGroup("NzbDrone", group => group - .Add("Notification.js") - .Add("gridLoad.js") - .Add("episodeSearch.js")) - - ).Render();} diff --git a/NzbDrone.Web/Views/System/Config.cshtml b/NzbDrone.Web/Views/System/Config.cshtml index 2c2aa4d33..79ebacdd0 100644 --- a/NzbDrone.Web/Views/System/Config.cshtml +++ b/NzbDrone.Web/Views/System/Config.cshtml @@ -25,7 +25,7 @@ Configuration columns.Command(commands => { commands.Edit().ButtonType(GridButtonType.Image); - }).Width(0).Title("Actions"); + }).Width(90).Title("Actions"); }) .Editable(editing => editing.Mode(GridEditMode.InLine)) .Sortable() diff --git a/NzbDrone/app.config b/NzbDrone/app.config index 81d395705..19dd15844 100644 --- a/NzbDrone/app.config +++ b/NzbDrone/app.config @@ -4,6 +4,6 @@ - + \ No newline at end of file