|
|
@ -15,21 +15,49 @@
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-top: 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.indexerStatusContainer {
|
|
|
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
|
|
|
margin-bottom: -4px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.indexerStatus {
|
|
|
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
margin: 3px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.enabled {
|
|
|
|
|
|
|
|
background-color: #065EFE;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
|
|
|
|
background-color: #616161;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
<div class="infoBox">
|
|
|
|
<div class="infoBox">
|
|
|
|
RSS feeds are checked every 25 minutes for new episodes.</div>
|
|
|
|
RSS feeds are checked every 25 minutes for new episodes.</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="indexerStatusContainer">
|
|
|
|
|
|
|
|
<div class="indexerStatus disabled" id="nzbsOrgStatus" title="Enabled/Disabled">Nzbs.Org</div>
|
|
|
|
|
|
|
|
<div class="indexerStatus disabled" id="nzbMatrixStatus" title="Enabled/Disabled">NZBMatrix</div>
|
|
|
|
|
|
|
|
<div class="indexerStatus disabled" id="nzbsRusStatus" title="Enabled/Disabled">NZBsRus</div>
|
|
|
|
|
|
|
|
<div class="indexerStatus disabled" id="newzbinStatus" title="Enabled/Disabled">Newzbin</div>
|
|
|
|
|
|
|
|
<div class="indexerStatus disabled" id="newznabStatus" title="Enabled/Disabled">Newznab</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="stylized">
|
|
|
|
<div id="stylized">
|
|
|
|
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
|
|
|
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<div class="jquery-accordion">
|
|
|
|
<div class="jquery-accordion">
|
|
|
|
<h3>
|
|
|
|
<h3><a href="#">NZBs.org</a></h3>
|
|
|
|
<a href="#">NZBs.org</a></h3>
|
|
|
|
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<label class="labelClass">
|
|
|
|
<label class="labelClass">
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsOrgEnabled)</span>
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsOrgEnabled)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.NzbsOrgEnabled, new { @class = "inputClass checkClass" })
|
|
|
|
@Html.CheckBoxFor(m => m.NzbsOrgEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NzbsOrgUId)
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NzbsOrgUId)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NzbsOrgUId)</span>
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NzbsOrgUId)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -39,13 +67,13 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.NzbsOrgHash, new { @class = "inputClass" })
|
|
|
|
@Html.TextBoxFor(m => m.NzbsOrgHash, new { @class = "inputClass" })
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h3>
|
|
|
|
|
|
|
|
<a href="#">NZBMatrix</a></h3>
|
|
|
|
<h3><a href="#">NZBMatrix</a></h3>
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<label class="labelClass">
|
|
|
|
<label class="labelClass">
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbMatrixEnabled)</span>
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbMatrixEnabled)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.NzbMatrixEnabled, new { @class = "inputClass checkClass" })
|
|
|
|
@Html.CheckBoxFor(m => m.NzbMatrixEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NzbMatrixUsername)
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NzbMatrixUsername)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NzbMatrixUsername)</span>
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NzbMatrixUsername)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -55,14 +83,14 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.NzbMatrixApiKey, new { @class = "inputClass" })
|
|
|
|
@Html.TextBoxFor(m => m.NzbMatrixApiKey, new { @class = "inputClass" })
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h3>
|
|
|
|
|
|
|
|
<a href="#">NZBsRus</a></h3>
|
|
|
|
<h3><a href="#">NZBsRus</a></h3>
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<div class="warningBox">NZBsRus does not support backlog searching</div>
|
|
|
|
<div class="warningBox">NZBsRus does not support backlog searching</div>
|
|
|
|
<label class="labelClass">
|
|
|
|
<label class="labelClass">
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsRUsEnabled)</span>
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsRUsEnabled)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "inputClass checkClass" })
|
|
|
|
@Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NzbsrusUId)
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NzbsrusUId)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NzbsrusUId)</span>
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NzbsrusUId)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -72,13 +100,13 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" })
|
|
|
|
@Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" })
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h3>
|
|
|
|
|
|
|
|
<a href="#">Newzbin</a></h3>
|
|
|
|
<h3><a href="#">Newzbin</a></h3>
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<label class="labelClass">
|
|
|
|
<label class="labelClass">
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NewzbinEnabled)</span>
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NewzbinEnabled)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.NewzbinEnabled, new { @class = "inputClass checkClass" })
|
|
|
|
@Html.CheckBoxFor(m => m.NewzbinEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NewzbinUsername)
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NewzbinUsername)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NewzbinUsername)</span>
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NewzbinUsername)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -88,13 +116,13 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass", type = "password" })
|
|
|
|
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass", type = "password" })
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h3>
|
|
|
|
|
|
|
|
<a href="#">Newznab</a></h3>
|
|
|
|
<h3><a href="#">Newznab</a></h3>
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<div class="indexerPanel">
|
|
|
|
<label class="labelClass">
|
|
|
|
<label class="labelClass">
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span>
|
|
|
|
Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.NewznabEnabled, new { @class = "inputClass checkClass" })
|
|
|
|
@Html.CheckBoxFor(m => m.NewznabEnabled, new { @class = "inputClass checkClass enabledCheck" })
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
@ -127,6 +155,42 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@section Scripts{
|
|
|
|
@section Scripts{
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
if ($('#NzbsOrgEnabled').attr('checked'))
|
|
|
|
|
|
|
|
$('#nzbsOrgStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#NzbMatrixEnabled').attr('checked'))
|
|
|
|
|
|
|
|
$('#nzbMatrixStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#NzbsRUsEnabled').attr('checked'))
|
|
|
|
|
|
|
|
$('#nzbsRusStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#NewzbinEnabled').attr('checked'))
|
|
|
|
|
|
|
|
$('#newzbinStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#NewznabEnabled').attr('checked'))
|
|
|
|
|
|
|
|
$('#newznabStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.enabledCheck').on('change', function () {
|
|
|
|
|
|
|
|
var id = $(this).attr('id');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (id == 'NzbsOrgEnabled')
|
|
|
|
|
|
|
|
$('#nzbsOrgStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (id == 'NzbMatrixEnabled')
|
|
|
|
|
|
|
|
$('#nzbMatrixStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (id == 'NzbsRUsEnabled')
|
|
|
|
|
|
|
|
$('#nzbsRusStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (id == 'NewzbinEnabled')
|
|
|
|
|
|
|
|
$('#newzbinStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (id == 'NewznabEnabled')
|
|
|
|
|
|
|
|
$('#newznabStatus').toggleClass('enabled disabled');
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#addItem").live('click', function () {
|
|
|
|
$("#addItem").live('click', function () {
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
url: this.href,
|
|
|
|
url: this.href,
|
|
|
@ -170,6 +234,6 @@
|
|
|
|
var profileId = getProviderId(this);
|
|
|
|
var profileId = getProviderId(this);
|
|
|
|
$("#title_" + profileId).text(value);
|
|
|
|
$("#title_" + profileId).text(value);
|
|
|
|
}).keyup();
|
|
|
|
}).keyup();
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
}
|
|
|
|
}
|
|
|
|