mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 09:49:00 +00:00
removed backlog from UI
This commit is contained in:
parent
577761c3f2
commit
79f69e3307
7 changed files with 11 additions and 87 deletions
|
@ -71,22 +71,6 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label" for="inputBacklogSetting">Backlog Setting</label>
|
|
||||||
|
|
||||||
<div class="controls">
|
|
||||||
<select id="inputBacklogSetting" class="inputClass x-backlog-setting" name="backlogSetting">
|
|
||||||
<option value="inherit">Inherit</option>
|
|
||||||
<option value="enable">Enable</option>
|
|
||||||
<option value="disable">Disable</option>
|
|
||||||
</select>
|
|
||||||
<span class="help-inline">
|
|
||||||
<i class="icon-question-sign" title="Should NzbDrone search for missing episodes every 30 days?"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="inputCustomStartDate">Custom Start Date</label>
|
<label class="control-label" for="inputCustomStartDate">Custom Start Date</label>
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,7 @@ define(
|
||||||
|
|
||||||
ui: {
|
ui: {
|
||||||
progressbar : '.progress .bar',
|
progressbar : '.progress .bar',
|
||||||
qualityProfile : '.x-quality-profile',
|
qualityProfile : '.x-quality-profile'
|
||||||
backlogSettings: '.x-backlog-setting'
|
|
||||||
},
|
},
|
||||||
|
|
||||||
events: {
|
events: {
|
||||||
|
@ -29,12 +28,11 @@ define(
|
||||||
|
|
||||||
|
|
||||||
saveSeries: function () {
|
saveSeries: function () {
|
||||||
//Todo: Get qualityProfile + backlog setting from UI
|
//Todo: Get qualityProfile
|
||||||
var qualityProfile = this.ui.qualityProfile.val();
|
var qualityProfile = this.ui.qualityProfile.val();
|
||||||
var qualityProfileText = this.ui.qualityProfile.children('option:selected').text();
|
var qualityProfileText = this.ui.qualityProfile.children('option:selected').text();
|
||||||
var backlogSetting = this.ui.backlogSettings.val();
|
|
||||||
|
|
||||||
this.model.set({ qualityProfileId: qualityProfile, backlogSetting: backlogSetting, qualityProfileName: qualityProfileText });
|
this.model.set({ qualityProfileId: qualityProfile, qualityProfileName: qualityProfileText });
|
||||||
|
|
||||||
this.model.save();
|
this.model.save();
|
||||||
this.trigger('saved');
|
this.trigger('saved');
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
define(
|
define(
|
||||||
[
|
[
|
||||||
'backbone',
|
'backbone',
|
||||||
'Quality/QualityProfileCollection'
|
'Quality/QualityProfileCollection',
|
||||||
], function (Backbone, QualityProfileCollection) {
|
'underscore'
|
||||||
|
], function (Backbone, QualityProfileCollection,_) {
|
||||||
return Backbone.Model.extend({
|
return Backbone.Model.extend({
|
||||||
|
|
||||||
urlRoot: ApiRoot + '/series',
|
urlRoot: ApiRoot + '/series',
|
||||||
|
|
|
@ -47,27 +47,8 @@
|
||||||
<input type="text" name="nzbgetTvCategory"/>
|
<input type="text" name="nzbgetTvCategory"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">Backlog Priority</label>
|
<label class="control-label">Download Priority</label>
|
||||||
|
|
||||||
<div class="controls">
|
|
||||||
<select name="nzbgetBacklogTvPriority">
|
|
||||||
<option value="default">Default</option>
|
|
||||||
<option value="pasued">Paused</option>
|
|
||||||
<option value="low">Low</option>
|
|
||||||
<option value="normal">Normal</option>
|
|
||||||
<option value="high">High</option>
|
|
||||||
<option value="force">Force</option>
|
|
||||||
</select>
|
|
||||||
<span class="help-inline">
|
|
||||||
<i class="icon-question-sign" title="Priority to use when sending episodes older than 7 days to NZBGet"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label">Recent Priority</label>
|
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select name="nzbgetRecentTvPriority">
|
<select name="nzbgetRecentTvPriority">
|
||||||
|
|
|
@ -61,26 +61,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label">Backlog Priority</label>
|
|
||||||
|
|
||||||
<div class="controls">
|
|
||||||
<select name="sabBacklogTvPriority">
|
|
||||||
<option value="default">Default</option>
|
|
||||||
<option value="paused">Paused</option>
|
|
||||||
<option value="low">Low</option>
|
|
||||||
<option value="normal">Normal</option>
|
|
||||||
<option value="high">High</option>
|
|
||||||
<option value="force">Force</option>
|
|
||||||
</select>
|
|
||||||
<span class="help-inline">
|
|
||||||
<i class="icon-question-sign" title="Priority to use when sending episodes older than 7 days to SABnzbd"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">Recent Priority</label>
|
<label class="control-label">Download Priority</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select name="sabRecentTvPriority">
|
<select name="sabRecentTvPriority">
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
<label class="control-label">Separator</label>
|
<label class="control-label">Separator</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select class="inputClass x-backlog-setting" name="separator">
|
<select class="inputClass" name="separator">
|
||||||
<option value=" - ">Dash</option>
|
<option value=" - ">Dash</option>
|
||||||
<option value=" ">Space</option>
|
<option value=" ">Space</option>
|
||||||
<option value=".">Period</option>
|
<option value=".">Period</option>
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
<label class="control-label">Numbering Style</label>
|
<label class="control-label">Numbering Style</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select class="inputClass x-backlog-setting" name="numberStyle">
|
<select class="inputClass" name="numberStyle">
|
||||||
<option value="0">1x05</option>
|
<option value="0">1x05</option>
|
||||||
<option value="1">01x05</option>
|
<option value="1">01x05</option>
|
||||||
<option value="2">S01E05</option>
|
<option value="2">S01E05</option>
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
<label class="control-label">Multi-Episode Style</label>
|
<label class="control-label">Multi-Episode Style</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select class="inputClass x-backlog-setting" name="multiEpisodeStyle">
|
<select class="inputClass" name="multiEpisodeStyle">
|
||||||
<option value="0">Extend</option>
|
<option value="0">Extend</option>
|
||||||
<option value="1">Duplicate</option>
|
<option value="1">Duplicate</option>
|
||||||
<option value="2">Repeat</option>
|
<option value="2">Repeat</option>
|
||||||
|
|
|
@ -1,28 +1,5 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Misc</legend>
|
<legend>Misc</legend>
|
||||||
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label">Backlog Searching</label>
|
|
||||||
|
|
||||||
<div class="controls">
|
|
||||||
<label class="checkbox toggle well">
|
|
||||||
<input type="checkbox" name="enableBacklogSearching"/>
|
|
||||||
<p>
|
|
||||||
<span>Yes</span>
|
|
||||||
<span>No</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="btn btn-primary slide-button"/>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<span class="help-inline-checkbox">
|
|
||||||
<i class="icon-question-sign" title="Should NzbDrone try to download missing episodes automatically?"/>
|
|
||||||
<i class="icon-exclamation-sign danger" title="Enabling backlog searching can use a lot of bandwidth and is not
|
|
||||||
recommended for users with block usenet accounts or bandwidth restrictions."/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">Nzb Restrictions</label>
|
<label class="control-label">Nzb Restrictions</label>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue