@model NzbDrone.Web.Models.IndexerSettingsModel @using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form" })) { @Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
Indexers
@{ Html.Telerik().PanelBar() .Name("PanelBar") .HtmlAttributes(new { style = "width: 300px; float: left; margin-bottom: 30px;" }) .ExpandMode(PanelBarExpandMode.Single) .SelectedIndex(0) .Items(item => { item.Add() .Text("NZBs.org") .Content( "
" + "
" + "
" + "Enabled" + "
" + "
" + Html.CheckBoxFor(m => m.NzbsOrgEnabled, new { @class = "indexer_checkbox" }) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NzbsOrgUId) + "
" + "
" + Html.TextBoxFor(m => m.NzbsOrgUId) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NzbsOrgHash) + "
" + "
" + Html.TextBoxFor(m => m.NzbsOrgHash) + "
" + "
" + "
" ); item.Add() .Text("NZB Matrix") .Content( "
" + "
" + "
" + "Enabled" + "
" + "
" + Html.CheckBoxFor(m => m.NzbMatrixEnabled, new { @class = "indexer_checkbox" }) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NzbMatrixUsername) + "
" + "
" + Html.TextBoxFor(m => m.NzbMatrixUsername) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NzbMatrixApiKey) + "
" + "
" + Html.TextBoxFor(m => m.NzbMatrixApiKey) + "
" + "
" + "
" ); item.Add() .Text("NZBsRUs") .Content( "
" + "
" + "
" + "Enabled" + "
" + "
" + Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "indexer_checkbox" }) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NzbsrusUId) + "
" + "
" + Html.TextBoxFor(m => m.NzbsrusUId) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NzbsrusHash) + "
" + "
" + Html.TextBoxFor(m => m.NzbsrusHash) + "
" + "
" + "
" ); item.Add() .Text("Newzbin") .Content( "
" + "
" + "
" + "Enabled" + "
" + "
" + Html.CheckBoxFor(m => m.NewzbinEnabled, new { @class = "indexer_checkbox" }) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NewzbinUsername) + "
" + "
" + Html.TextBoxFor(m => m.NewzbinUsername) + "
" + "
" + "
" + "
" + Html.LabelFor(m => m.NewzbinPassword) + "
" + "
" + Html.TextBoxFor(m => m.NewzbinPassword) + "
" + "
" + "
" ); }).Render(); }

}