2011-05-17 20:39:26 -07:00
|
|
|
@using NzbDrone.Web.Helpers;
|
2012-01-28 13:43:44 -08:00
|
|
|
@model NzbDrone.Web.Models.DownloadClientSettingsModel
|
2011-11-30 22:39:11 -08:00
|
|
|
|
2012-01-28 13:43:44 -08:00
|
|
|
@{
|
|
|
|
Layout = null;
|
2011-06-27 19:24:42 -07:00
|
|
|
}
|
2012-01-28 13:43:44 -08:00
|
|
|
|
|
|
|
<div class="downloadClient">
|
|
|
|
<label class="labelClass">
|
|
|
|
Auto-Configure <span class="small">If access to SABnzbd doesn't require a username +
|
|
|
|
password and is on the same system as NzbDrone, you can auto-configure it</span>
|
|
|
|
</label>
|
|
|
|
<input type="button" onclick="autoConfigureSab(); return false;" value="Auto-Configure"
|
|
|
|
class="inputClass" />
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabHost)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabHost)</span>
|
2012-02-25 13:21:41 -08:00
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.SabHost)</span>
|
2012-01-28 13:43:44 -08:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SabHost, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabPort)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabPort)</span>
|
2012-02-25 13:21:41 -08:00
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.SabPort)</span>
|
2012-01-28 13:43:44 -08:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SabPort, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabApiKey)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabApiKey)</span>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SabApiKey, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabUsername)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabUsername)</span>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SabUsername, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabPassword)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabPassword)</span>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SabPassword, new { @class = "inputClass", type = "password" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabTvCategory)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabTvCategory)</span>
|
|
|
|
</label>
|
|
|
|
@Html.DropDownListFor(m => m.SabTvCategory, Model.SabTvCategorySelectList, new { @class = "inputClass selectClass" })
|
|
|
|
|
2012-11-22 18:56:27 -08:00
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabBacklogTvPriority)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabBacklogTvPriority)</span>
|
2012-01-28 13:43:44 -08:00
|
|
|
</label>
|
2013-01-23 23:31:41 -08:00
|
|
|
@Html.DropDownListFor(m => m.SabBacklogTvPriority, Model.SabPrioritySelectList, new { @class = "inputClass selectClass" })
|
2012-11-22 18:56:27 -08:00
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SabRecentTvPriority)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SabRecentTvPriority)</span>
|
|
|
|
</label>
|
2013-01-23 23:31:41 -08:00
|
|
|
@Html.DropDownListFor(m => m.SabRecentTvPriority, Model.SabPrioritySelectList, new { @class = "inputClass selectClass" })
|
2012-01-28 13:43:44 -08:00
|
|
|
|
2012-03-17 21:14:32 -07:00
|
|
|
<label class="labelClass">Test SABnzbd
|
|
|
|
<span class="small">Test SABnzbd settings</span>
|
|
|
|
</label>
|
|
|
|
<input type="button" onclick="testSabnzbd();" value="Test" class="inputClass" />
|
2012-01-28 13:43:44 -08:00
|
|
|
</div>
|