@using NzbDrone.Web.Helpers @model NzbDrone.Web.Models.IndexerSettingsModel @section HeaderContent{ } @section TitleContent{ Settings } @section ActionMenu{ @{Html.RenderPartial("SubMenu");} } @section MainContent{
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" })) {

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(); }

}
} @section Scripts{ }