diff --git a/NzbDrone.Web/Views/Settings/Indexers.cshtml b/NzbDrone.Web/Views/Settings/Indexers.cshtml index 481074ae0..4e33e4a12 100644 --- a/NzbDrone.Web/Views/Settings/Indexers.cshtml +++ b/NzbDrone.Web/Views/Settings/Indexers.cshtml @@ -1,11 +1,8 @@ @using NzbDrone.Web.Helpers @model NzbDrone.Web.Models.IndexerSettingsModel - @section HeaderContent{ - - - } - @section TitleContent{ - Settings +Settings } - @section ActionMenu{ @{Html.RenderPartial("SubMenu");} } - @section MainContent{
- -
- NzbDrone checks all Indexers every 15 minutes -
- - +
+ NzbDrone checks all Indexers every 15 minutes +
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" })) { -

Indexers

-

+

+ Indexers

+

+

@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") -
- @{ Html.Telerik().PanelBar() - .Name("PanelBar") - //.HtmlAttributes(new { style = "width: 500px; margin: 10px;" }) - .ExpandMode(PanelBarExpandMode.Single) - .SelectedIndex(0) - .Items(indexerItem => - { - indexerItem.Add() - .Text("NZBs.org") - .ImageUrl("~/Content/Images/Indexers/Nzbs.org.png") - .Content(@ -
- - @Html.CheckBoxFor(m => m.NzbsOrgEnabled, new { @class = "inputClass checkClass" }) - - - @Html.TextBoxFor(m => m.NzbsOrgUId, new { @class = "inputClass" }) - - - @Html.TextBoxFor(m => m.NzbsOrgHash, new { @class = "inputClass" }) -
-
); - indexerItem.Add() - .Text("NZB Matrix") - .ImageUrl("~/Content/Images/Indexers/NzbMatrix.png") - .Content(@ -
- - @Html.CheckBoxFor(m => m.NzbMatrixEnabled, new { @class = "inputClass checkClass" }) - - - @Html.TextBoxFor(m => m.NzbMatrixUsername, new { @class = "inputClass" }) - - - @Html.TextBoxFor(m => m.NzbMatrixApiKey, new { @class = "inputClass" }) -
-
); - indexerItem.Add() - .Text("NZBsRus") - .ImageUrl("~/Content/Images/Indexers/NzbsRus.png") - .Content(@ -
- - @Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "inputClass checkClass" }) - - - @Html.TextBoxFor(m => m.NzbsrusUId, new { @class = "inputClass" }) - - - @Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" }) -
-
); - indexerItem.Add() - .Text("Newzbin") - .ImageUrl("~/Content/Images/Indexers/Newzbin.png") - .Content(@ -
- - @Html.CheckBoxFor(m => m.NewzbinEnabled, new { @class = "inputClass checkClass" }) - - - @Html.TextBoxFor(m => m.NewzbinUsername, new { @class = "inputClass" }) - - - @Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" }) -
-
); - indexerItem.Add() - .Text("Newznzb") - .ImageUrl("~/Content/Images/Indexers/Newznab.png") - .Content(@ -
- - @Html.CheckBoxFor(m => m.NewznabEnabled, new { @class = "inputClass checkClass" }) -
-

- - Add Newznab Provider - Add Newznab Provider -
- @foreach (var provider in Model.NewznabDefinitions) - { - Html.RenderAction("GetNewznabProviderView", provider); - } -
-
); - }).Render(); +
+

+ First header

+
+ + @Html.CheckBoxFor(m => m.NzbsOrgEnabled, new { @class = "inputClass checkClass" }) + + @Html.TextBoxFor(m => m.NzbsOrgUId, new { @class = "inputClass" }) + + @Html.TextBoxFor(m => m.NzbsOrgHash, new { @class = "inputClass" }) +
+

+ First header

+
+ + @Html.CheckBoxFor(m => m.NzbMatrixEnabled, new { @class = "inputClass checkClass" }) + + @Html.TextBoxFor(m => m.NzbMatrixUsername, new { @class = "inputClass" }) + + @Html.TextBoxFor(m => m.NzbMatrixApiKey, new { @class = "inputClass" }) +
+

+ First header

+
+ + @Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "inputClass checkClass" }) + + @Html.TextBoxFor(m => m.NzbsrusUId, new { @class = "inputClass" }) + + @Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" }) +
+

+ First header

+
+ + @Html.CheckBoxFor(m => m.NewzbinEnabled, new { @class = "inputClass checkClass" }) + + @Html.TextBoxFor(m => m.NewzbinUsername, new { @class = "inputClass" }) + + @Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" }) +
+

First header

+
+ + @Html.CheckBoxFor(m => m.NewznabEnabled, new { @class = "inputClass checkClass" }) +

+

+ + Add Newznab Provider + Add Newznab Provider +
+ @foreach (var provider in Model.NewznabDefinitions) + { + Html.RenderAction("GetNewznabProviderView", provider); + } +
+
+
+
+ } -
-
- - } -
} - @section Scripts{ - -} \ No newline at end of file +} diff --git a/NzbDrone.Web/Views/Settings/Notifications.cshtml b/NzbDrone.Web/Views/Settings/Notifications.cshtml index 9df9297cd..f779f0869 100644 --- a/NzbDrone.Web/Views/Settings/Notifications.cshtml +++ b/NzbDrone.Web/Views/Settings/Notifications.cshtml @@ -85,7 +85,7 @@ @section Scripts{ -