From afbb1071063b66bea2ac2a6255a78f8af033e7f2 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 18 Feb 2012 12:16:27 -0800 Subject: [PATCH] Mass edit uses common styling and Datatables for alternate row colouring. --- NzbDrone.Web/Views/Series/MassEdit.cshtml | 66 ++++++++++------------- 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a/NzbDrone.Web/Views/Series/MassEdit.cshtml b/NzbDrone.Web/Views/Series/MassEdit.cshtml index 13b23fbce..46c7ec3ea 100644 --- a/NzbDrone.Web/Views/Series/MassEdit.cshtml +++ b/NzbDrone.Web/Views/Series/MassEdit.cshtml @@ -23,49 +23,23 @@ } table input[type="text"], table select { - margin: 2px 5px 2px 5px; + margin: 2px 2px; } td .path { width: 300px; } - td .backlogStatus { + td .backlogSetting { width: 90px; } - - table { - width: 100%; - border-width: 1px; - border-spacing: 2px; - border-style: none; - border-color: white; - border-collapse: collapse; - background-color: white; - } - table th { - border-width: 1px; - padding: 2px; - border-style: inset; - border-color: #EEEEEE; - background-color: white; - -moz-border-radius: ; - } - table td { - border-width: 1px; - padding: 2px; - border-style: inset; - border-color: #EEEEEE; - background-color: white; - -moz-border-radius: ; - } } @using (Html.BeginForm("SaveMassEdit", "Series", FormMethod.Post, new { id = "MassEdit", name = "MassEdit" })) { - - +
+ @@ -73,12 +47,14 @@ - - - @foreach (var series in Model) - { - Html.RenderPartial("SeriesItem", series); - } + + + + @foreach (var series in Model) + { + Html.RenderPartial("SeriesItem", series); + } +
@Html.CheckBox("editToggleMaster", false, new { @class = "editToggleMaster" }) Title QualitySeason Folder Backlog Status Path
@@ -114,7 +90,21 @@ @section Scripts { - } \ No newline at end of file