|
|
|
@ -28,7 +28,10 @@
|
|
|
|
|
<label for="nzbIndexStatus">NzbIndex</label>
|
|
|
|
|
|
|
|
|
|
@Html.CheckBox("nzbClubStatus", @Model.NzbClubEnabled, new { @class = "indexerStatusButton" })
|
|
|
|
|
<label for="nzbClubStatus">Nzb Club</label>
|
|
|
|
|
<label for="nzbClubStatus">Nzb Club</label>
|
|
|
|
|
|
|
|
|
|
@Html.CheckBox("omgwtfnzbsStatus", @Model.OmgwtfnzbsEnabled, new { @class = "indexerStatusButton" })
|
|
|
|
|
<label for="omgwtfnzbsStatus">omgwtfnzbs</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="stylized">
|
|
|
|
|
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
|
|
|
@ -117,6 +120,25 @@
|
|
|
|
|
</label>
|
|
|
|
|
@Html.CheckBoxFor(m => m.NzbClubEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3><a href="#">omgwtfnzbs</a></h3>
|
|
|
|
|
<div class="indexerPanel">
|
|
|
|
|
<label class="labelClass">
|
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.OmgwtfnzbsEnabled)</span>
|
|
|
|
|
</label>
|
|
|
|
|
@Html.CheckBoxFor(m => m.OmgwtfnzbsEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.OmgwtfnzbsUsername)
|
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.OmgwtfnzbsUsername)</span>
|
|
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.OmgwtfnzbsUsername)</span>
|
|
|
|
|
</label>
|
|
|
|
|
@Html.TextBoxFor(m => m.OmgwtfnzbsUsername, new { @class = "inputClass" })
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.OmgwtfnzbsApiKey)
|
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.OmgwtfnzbsApiKey)</span>
|
|
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.OmgwtfnzbsApiKey)</span>
|
|
|
|
|
</label>
|
|
|
|
|
@Html.TextBoxFor(m => m.OmgwtfnzbsApiKey, new { @class = "inputClass" })
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="indexer-global-settings">
|
|
|
|
@ -191,6 +213,9 @@
|
|
|
|
|
|
|
|
|
|
if (id == 'NzbClubEnabled')
|
|
|
|
|
$('#nzbClubStatus').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'OmgwtfnzbsEnabled')
|
|
|
|
|
$('#omgwtfnzbsStatus').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
$('.indexerStatusButton').button("refresh");
|
|
|
|
|
reValidate();
|
|
|
|
@ -217,6 +242,9 @@
|
|
|
|
|
|
|
|
|
|
if (id == 'nzbClubStatus')
|
|
|
|
|
$('#NzbClubEnabled').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'omgwtfnzbsStatus')
|
|
|
|
|
$('#OmgwtfnzbsEnabled').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
reValidate();
|
|
|
|
|
});
|
|
|
|
|