From da996c97c221452a58ca0a882b4d14f2d1003363 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Fri, 25 Nov 2011 23:53:16 -0800 Subject: [PATCH] UI Cleanup --- NzbDrone.Web/Content/Grid.css | 3 --- NzbDrone.Web/Content/NzbDrone.css | 3 +++ NzbDrone.Web/Content/Overrides.css | 8 ++++++++ NzbDrone.Web/Controllers/CommandController.cs | 2 +- NzbDrone.Web/Controllers/EpisodeController.cs | 4 ++-- NzbDrone.Web/Views/Series/Details.cshtml | 15 +++++---------- NzbDrone.Web/Views/Shared/Footer.cshtml | 5 ++--- 7 files changed, 21 insertions(+), 19 deletions(-) diff --git a/NzbDrone.Web/Content/Grid.css b/NzbDrone.Web/Content/Grid.css index f690f9ada..4f9c4a5d5 100644 --- a/NzbDrone.Web/Content/Grid.css +++ b/NzbDrone.Web/Content/Grid.css @@ -4,9 +4,6 @@ height: 18px; padding: 1px; margin: 2px; - border-width: 1px; - border-style: dashed; - border-color: lightgray; } .searchImage:hover, .renameImage:hover, .ignoreEpisode:hover, .ignoreEpisodesMaster:hover diff --git a/NzbDrone.Web/Content/NzbDrone.css b/NzbDrone.Web/Content/NzbDrone.css index c461d9b54..f48fa1e17 100644 --- a/NzbDrone.Web/Content/NzbDrone.css +++ b/NzbDrone.Web/Content/NzbDrone.css @@ -147,9 +147,12 @@ hr /* Footer */ #footer { + margin-top: 5px; + margin-bottom: 30px; padding: 1px 1px 1px 1px; color: #065EFE; text-align: center; + text-decoration: none; } diff --git a/NzbDrone.Web/Content/Overrides.css b/NzbDrone.Web/Content/Overrides.css index 39d6bc0bc..09d41c99e 100644 --- a/NzbDrone.Web/Content/Overrides.css +++ b/NzbDrone.Web/Content/Overrides.css @@ -21,3 +21,11 @@ { line-height: 25px; } + + +/*MiniProfiler*/ + +.profiler-button +{ + opacity: 0.4; +} \ No newline at end of file diff --git a/NzbDrone.Web/Controllers/CommandController.cs b/NzbDrone.Web/Controllers/CommandController.cs index 4fc949dee..a4f227e27 100644 --- a/NzbDrone.Web/Controllers/CommandController.cs +++ b/NzbDrone.Web/Controllers/CommandController.cs @@ -41,7 +41,7 @@ public JsonResult BacklogSearch() return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet }; } - public JsonResult SyncEpisodesOnDisk(int seriesId) + public JsonResult ScanDisk(int seriesId) { //Syncs the episodes on disk for the specified series _jobProvider.QueueJob(typeof(DiskScanJob), seriesId); diff --git a/NzbDrone.Web/Controllers/EpisodeController.cs b/NzbDrone.Web/Controllers/EpisodeController.cs index 99e23e34a..bd870034d 100644 --- a/NzbDrone.Web/Controllers/EpisodeController.cs +++ b/NzbDrone.Web/Controllers/EpisodeController.cs @@ -33,7 +33,7 @@ public JsonResult SearchSeason(int seriesId, int seasonNumber) return new JsonResult { Data = "ok" }; } - public JsonResult SearchSeries(int seriesId) + public JsonResult BacklogSeries(int seriesId) { //Syncs the episodes on disk for the specified series _jobProvider.QueueJob(typeof(SeriesSearchJob), seriesId); @@ -55,7 +55,7 @@ public JsonResult RenameSeason(int seriesId, int seasonNumber) return new JsonResult { Data = "ok" }; } - public JsonResult RenameSeries(int seriesId) + public JsonResult RenameEpisodes(int seriesId) { //Syncs the episodes on disk for the specified series _jobProvider.QueueJob(typeof(RenameSeriesJob), seriesId); diff --git a/NzbDrone.Web/Views/Series/Details.cshtml b/NzbDrone.Web/Views/Series/Details.cshtml index 55dce972b..3f3e31549 100644 --- a/NzbDrone.Web/Views/Series/Details.cshtml +++ b/NzbDrone.Web/Views/Series/Details.cshtml @@ -11,7 +11,6 @@ .seasonToggleTopGroup { overflow: hidden; - width: 50%; } .seasonToggleTop @@ -45,9 +44,6 @@ height: 18px; padding: 1px; margin: 2px; - border-width: 1px; - border-style: dashed; - border-color: lightgray; } .searchImage:hover, .renameImage:hover, .ignoreEpisode:hover, .ignoreEpisodesMaster:hover @@ -69,11 +65,10 @@ @section ActionMenu{ } @section MainContent{ @@ -105,9 +100,9 @@ var seriesId = @Model.SeriesId; var season = s; -

+

@(season == 0 ? "Specials" : "Season " + season) -

+
@{ diff --git a/NzbDrone.Web/Views/Shared/Footer.cshtml b/NzbDrone.Web/Views/Shared/Footer.cshtml index 8c77bbb99..faa30f570 100644 --- a/NzbDrone.Web/Views/Shared/Footer.cshtml +++ b/NzbDrone.Web/Views/Shared/Footer.cshtml @@ -1,5 +1,4 @@ @using NzbDrone.Web.Models @model FooterModel -
- NzbDrone @Model.Version (@Model.BuildTime.ToString("MMM d, yyyy")) -
+@Html.ActionLink(String.Format("NzbDrone {0} {1:MMM d, yyyy}", Model.Version, Model.BuildTime), "Index", "Update") +