|
|
|
@ -30,6 +30,12 @@
|
|
|
|
|
|
|
|
|
|
@Html.CheckBox("fileSharingTalkStatus", @Model.FileSharingTalkEnabled, new { @class = "indexerStatusButton" })
|
|
|
|
|
<label for="fileSharingTalkStatus">File Sharing Talk</label>
|
|
|
|
|
|
|
|
|
|
@Html.CheckBox("nzbIndexStatus", @Model.NzbIndexEnabled, new { @class = "indexerStatusButton" })
|
|
|
|
|
<label for="nzbIndexStatus">NzbIndex</label>
|
|
|
|
|
|
|
|
|
|
@Html.CheckBox("nzbClubStatus", @Model.NzbClubEnabled, new { @class = "indexerStatusButton" })
|
|
|
|
|
<label for="nzbClubStatus">Nzb Club</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="stylized">
|
|
|
|
|
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
|
|
|
@ -157,6 +163,22 @@
|
|
|
|
|
</label>
|
|
|
|
|
@Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass" })
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3><a href="#">NzbIndex</a></h3>
|
|
|
|
|
<div class="indexerPanel">
|
|
|
|
|
<label class="labelClass">
|
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbIndexEnabled)</span>
|
|
|
|
|
</label>
|
|
|
|
|
@Html.CheckBoxFor(m => m.NzbIndexEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3><a href="#">NzbClub</a></h3>
|
|
|
|
|
<div class="indexerPanel">
|
|
|
|
|
<label class="labelClass">
|
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbClubEnabled)</span>
|
|
|
|
|
</label>
|
|
|
|
|
@Html.CheckBoxFor(m => m.NzbClubEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="retentionContainer">
|
|
|
|
@ -226,6 +248,12 @@
|
|
|
|
|
|
|
|
|
|
if (id == 'FileSharingTalkEnabled')
|
|
|
|
|
$('#fileSharingTalkStatus').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'NzbIndexEnabled')
|
|
|
|
|
$('#nzbIndexStatus').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'NzbClubEnabled')
|
|
|
|
|
$('#nzbClubStatus').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
$('.indexerStatusButton').button("refresh");
|
|
|
|
|
reValidate();
|
|
|
|
@ -255,6 +283,12 @@
|
|
|
|
|
|
|
|
|
|
if (id == 'fileSharingTalkStatus')
|
|
|
|
|
$('#FileSharingTalkEnabled').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'nzbIndexStatus')
|
|
|
|
|
$('#NzbIndexEnabled').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
if (id == 'nzbClubStatus')
|
|
|
|
|
$('#NzbClubEnabled').prop('checked', checked);
|
|
|
|
|
|
|
|
|
|
reValidate();
|
|
|
|
|
});
|
|
|
|
|