|
|
|
@ -32,6 +32,9 @@
|
|
|
|
|
|
|
|
|
|
@Html.CheckBox("omgwtfnzbsStatus", @Model.OmgwtfnzbsEnabled, new { @class = "indexerStatusButton" })
|
|
|
|
|
<label for="omgwtfnzbsStatus">omgwtfnzbs</label>
|
|
|
|
|
|
|
|
|
|
@Html.CheckBox("nzbxStatus", @Model.NzbxEnabled, new { @class = "indexerStatusButton" })
|
|
|
|
|
<label for="nzbxStatus">nzbx</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="stylized">
|
|
|
|
|
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
|
|
|
@ -139,6 +142,14 @@
|
|
|
|
|
</label>
|
|
|
|
|
@Html.TextBoxFor(m => m.OmgwtfnzbsApiKey, new { @class = "inputClass" })
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3><a href="#">nzbx</a></h3>
|
|
|
|
|
<div class="indexerPanel">
|
|
|
|
|
<label class="labelClass">
|
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbxEnabled)</span>
|
|
|
|
|
</label>
|
|
|
|
|
@Html.CheckBoxFor(m => m.NzbxEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="indexer-global-settings">
|
|
|
|
@ -217,6 +228,9 @@
|
|
|
|
|
if (id == 'OmgwtfnzbsEnabled')
|
|
|
|
|
$('#omgwtfnzbsStatus').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'NzbxEnabled')
|
|
|
|
|
$('#nzbxStatus').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
$('.indexerStatusButton').button("refresh");
|
|
|
|
|
reValidate();
|
|
|
|
|
});
|
|
|
|
@ -246,6 +260,9 @@
|
|
|
|
|
if (id == 'omgwtfnzbsStatus')
|
|
|
|
|
$('#OmgwtfnzbsEnabled').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'nzbxStatus')
|
|
|
|
|
$('#NzbxEnabled').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
reValidate();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|