From 67298d62a0b47b745015d69ef64106d24166229f Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 25 Feb 2012 11:41:48 -0800 Subject: [PATCH] More new icons, updated status colors. --- NzbDrone.Web/Content/Grid.css | 10 +- NzbDrone.Web/Content/Images/Missing.png | Bin 771 -> 5089 bytes NzbDrone.Web/Content/Images/NotAired.png | Bin 1541 -> 3372 bytes NzbDrone.Web/Content/Overrides.css | 6 +- NzbDrone.Web/Views/History/Index.cshtml | 4 +- NzbDrone.Web/Views/Missing/Index.cshtml | 2 +- NzbDrone.Web/Views/Series/Details.cshtml | 2 +- NzbDrone.Web/Views/Series/Episode.cshtml | 4 +- NzbDrone.Web/Views/Series/Season.cshtml | 6 +- NzbDrone.Web/Views/System/Jobs.cshtml | 2 +- NzbDrone.Web/Views/Upcoming/Index.cshtml | 91 +++++++++--------- .../Views/Upcoming/UpcomingEpisode.cshtml | 2 +- 12 files changed, 69 insertions(+), 60 deletions(-) diff --git a/NzbDrone.Web/Content/Grid.css b/NzbDrone.Web/Content/Grid.css index b6c21c01d..6d5f4c76a 100644 --- a/NzbDrone.Web/Content/Grid.css +++ b/NzbDrone.Web/Content/Grid.css @@ -1,4 +1,4 @@ -.gridImage +.gridImage , .gridAction { width: 18px; height: 18px; @@ -7,9 +7,9 @@ vertical-align: middle; } -.gridImage:hover +.gridAction:hover { - background-color: #065EFE; + cursor: pointer; } /* Custom Grid */ @@ -68,12 +68,12 @@ /* Episode Grid Row Colouring */ .episodeIgnored { - background-color: #F2F5A9; + background: lightgray; } .episodeMissing { - background-color: #F5A9A9; + background-color: #f5c5c5; } /*Hidden Grid to prevent FOUSC*/ diff --git a/NzbDrone.Web/Content/Images/Missing.png b/NzbDrone.Web/Content/Images/Missing.png index 727fe419e7b4811a3facbd604ae9fce38f28077f..15c3101d0692eb5f47367fc48c247ff7a6cee1d9 100644 GIT binary patch delta 5040 zcmV;h6Hn}e2H_`=EPoRK01FcV0GgZ_000V2X+uL$P-t&-Z*ypGa3D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X_lg@wufB?c0HqZohENFBXG?=Q46ccx$ z890n#kN|)Hf+r!^KogOGk{Xw)NeCc-;7Mq9MFmQ_hSsvP=vgU|0{{XDo`gU{cpy)J zhV`Jyr5rtd17oQiT2X&d+f!QPY6J)%j8X_R)CcthHA@)019uFN*-%SzGy?<>Mkxe~ z30R*N=ox&&?bN_G$aOpj00a;dw5Nm96QCG@4ZsdU@C6`%KzRT(l^Tf86L^NW2O8`K z2p~`l)BrKoAO<;n5IY{^<{E$i0(k&54yp&lYk>F#!{7%mpl%!mx%nDEfB^t=djM^y Sc0o)40000"; - var redownloadImage = "\"Redownload\""; + var deleteImage = "\"Delete\""; + var redownloadImage = "\"Redownload\""; return deleteImage + redownloadImage; } diff --git a/NzbDrone.Web/Views/Missing/Index.cshtml b/NzbDrone.Web/Views/Missing/Index.cshtml index 82335d3a3..f003520f5 100644 --- a/NzbDrone.Web/Views/Missing/Index.cshtml +++ b/NzbDrone.Web/Views/Missing/Index.cshtml @@ -81,7 +81,7 @@ } }, //Grabbed On { sWidth: '40px', "mDataProp": "EpisodeId", "bSortable": false, "fnRender": function (row) { - return createImageAjaxLink('/Episode/Search?episodeId=' + row.aData["EpisodeId"], '../../Content/Images/Search.png', 'Search', 'Search for Episode', 'gridImage'); + return createImageAjaxLink('/Episode/Search?episodeId=' + row.aData["EpisodeId"], '../../Content/Images/Search.png', 'Search', 'Search for Episode', 'gridAction'); } }, //Actions { sWidth: 'auto', "mDataProp": "Details", "bSortable": false, "bVisible": false, "fnRender": function (row) { diff --git a/NzbDrone.Web/Views/Series/Details.cshtml b/NzbDrone.Web/Views/Series/Details.cshtml index 6a00c9371..39eaf8e1d 100644 --- a/NzbDrone.Web/Views/Series/Details.cshtml +++ b/NzbDrone.Web/Views/Series/Details.cshtml @@ -88,7 +88,7 @@ var ignoreSeason = "ignoreSeason_" + season.SeasonNumber; diff --git a/NzbDrone.Web/Views/Series/Episode.cshtml b/NzbDrone.Web/Views/Series/Episode.cshtml index 1916f8a93..e9b5c9e32 100644 --- a/NzbDrone.Web/Views/Series/Episode.cshtml +++ b/NzbDrone.Web/Views/Series/Episode.cshtml @@ -24,8 +24,8 @@ @*Commands Column*@ - - @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "gridImage" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null) + + @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "gridAction" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null) @Model.Status diff --git a/NzbDrone.Web/Views/Series/Season.cshtml b/NzbDrone.Web/Views/Series/Season.cshtml index fba2a9522..5764cffd8 100644 --- a/NzbDrone.Web/Views/Series/Season.cshtml +++ b/NzbDrone.Web/Views/Series/Season.cshtml @@ -22,9 +22,9 @@ @*Commands Column*@ - - @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for all episodes in this season", @class = "gridImage" }, "SearchSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null) - @Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename all episodes in this season", @class = "gridImage" }, "RenameSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null) + + @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for all episodes in this season", @class = "gridAction" }, "SearchSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null) + @Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename all episodes in this season", @class = "gridAction" }, "RenameSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null) diff --git a/NzbDrone.Web/Views/System/Jobs.cshtml b/NzbDrone.Web/Views/System/Jobs.cshtml index e00bd62d1..463b7030d 100644 --- a/NzbDrone.Web/Views/System/Jobs.cshtml +++ b/NzbDrone.Web/Views/System/Jobs.cshtml @@ -73,7 +73,7 @@ if (!row.aData["Enable"]) return ""; - return createImageAjaxLink('/System/RunJob?typeName=' + row.aData["TypeName"], '../../Content/Images/Gear.png', 'Run', 'Run Job', 'gridImage'); + return createImageAjaxLink('/System/RunJob?typeName=' + row.aData["TypeName"], '../../Content/Images/Gear.png', 'Run', 'Run Job', 'gridAction'); //return createImageAjaxLink('/History/Delete?historyId=' + row.aData["HistoryId"], '../../Content/Images/X.png', 'Delete', 'Delete from History', 'searchImage'); } } //Actions diff --git a/NzbDrone.Web/Views/Upcoming/Index.cshtml b/NzbDrone.Web/Views/Upcoming/Index.cshtml index 7d47cb317..22e6134bd 100644 --- a/NzbDrone.Web/Views/Upcoming/Index.cshtml +++ b/NzbDrone.Web/Views/Upcoming/Index.cshtml @@ -1,17 +1,21 @@ @using NzbDrone.Web.Helpers @model NzbDrone.Web.Models.UpcomingEpisodesModel - @{ViewBag.Title = "Upcoming";} @section HeaderContent { @Html.IncludeCss("Grid.css") - } @section ActionMenu{ @@ -19,27 +23,33 @@
  • @Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null, null)
  • } -
    @Html.CheckBox("showDownloaded", true) - +
    - - - - - - + + + + + - - - - - + + + + @*Commands/Status Column*@ - @for (int i = 0; i < Model.Yesterday.Count; i++) { var episode = Model.Yesterday[i]; - + if (i % 2 == 0) { Html.RenderPartial("UpcomingEpisode", episode); @@ -72,11 +81,10 @@ Today - @for (int i = 0; i < Model.Today.Count; i++) { var episode = Model.Today[i]; - + if (i % 2 == 0) { Html.RenderPartial("UpcomingEpisode", episode); @@ -91,31 +99,29 @@ - - @for (int i = 0; i < Model.Tomorrow.Count; i++) - { - var episode = Model.Tomorrow[i]; - - if (i % 2 == 0) + @for (int i = 0; i < Model.Tomorrow.Count; i++) { - Html.RenderPartial("UpcomingEpisode", episode); - } + var episode = Model.Tomorrow[i]; - else - { - Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) }); + if (i % 2 == 0) + { + Html.RenderPartial("UpcomingEpisode", episode); + } + + else + { + Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) }); + } } - } - - - - + + + @for (int i = 0; i < Model.Week.Count; i++) { var episode = Model.Week[i]; - + if (i % 2 == 0) { Html.RenderPartial("UpcomingEpisode", episode); @@ -128,7 +134,6 @@ }
    Series TitleEpisodeEpisode TitleAir Time + Series Title + + Episode + + Episode Title + + Air Time + Status @@ -52,11 +62,10 @@ Yesterday
    Tomorrow
    - Future Forecast -
    + Future Forecast +
    - @section Scripts{ -} \ No newline at end of file +} diff --git a/NzbDrone.Web/Views/Upcoming/UpcomingEpisode.cshtml b/NzbDrone.Web/Views/Upcoming/UpcomingEpisode.cshtml index 806dc18d3..8ab45ff19 100644 --- a/NzbDrone.Web/Views/Upcoming/UpcomingEpisode.cshtml +++ b/NzbDrone.Web/Views/Upcoming/UpcomingEpisode.cshtml @@ -36,7 +36,7 @@ @*Commands Column*@ @Model.Status - @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "gridImage" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null) + @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "gridAction" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null)