From 8b8dfb0d72a70276a1f0793f7832dad1dabe559c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 29 May 2011 21:49:56 -0700 Subject: [PATCH 1/4] Profiles wrap horizontally now, instead of making the page super long. On load the Unknown quality is removed from the dropdownlist if it exists. --- NzbDrone.Web/Views/Settings/Quality.cshtml | 36 ++++++++----------- .../Views/Settings/QualityProfileItem.cshtml | 4 ++- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/NzbDrone.Web/Views/Settings/Quality.cshtml b/NzbDrone.Web/Views/Settings/Quality.cshtml index 6443077fd..e01cb8957 100644 --- a/NzbDrone.Web/Views/Settings/Quality.cshtml +++ b/NzbDrone.Web/Views/Settings/Quality.cshtml @@ -44,10 +44,10 @@ @using (Html.BeginForm("SaveQuality", "Settings", FormMethod.Post, new {id = "form", name = "form"})) { -
+
Quality -
+
@Html.LabelFor(m => m.DefaultQualityProfileId)
@@ -59,30 +59,24 @@
- -
-
- - -
- @foreach (var item in Model.Profiles) - { - Html.RenderAction("GetQualityProfileView", item); - } -
+
+ -
- +
+ @foreach (var item in Model.Profiles) + { + Html.RenderAction("GetQualityProfileView", item); + }
-
-} + +
+ }
@section TitleContent{ - Add Existing Series + Add Series } @section MainContent{ diff --git a/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml b/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml index 2d9451e76..f641a3a9d 100644 --- a/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml +++ b/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml @@ -35,7 +35,7 @@
@Html.LabelFor(x => x.Name)
-
@Html.TextBoxFor(x => x.Name, new { maxlength = 16 })
+
@Html.TextBoxFor(x => x.Name, new { maxlength = 15 })
@Html.ValidationMessageFor(x => x.Name)