mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
client side code webstorm code cleanup.
This commit is contained in:
parent
375f887539
commit
445ea4f344
94 changed files with 4355 additions and 4243 deletions
|
@ -4,24 +4,26 @@
|
|||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-horizontal">
|
||||
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Monitored</label>
|
||||
|
||||
<div class="controls">
|
||||
<div class="switch">
|
||||
<input type="checkbox" name="monitored" />
|
||||
<input type="checkbox" name="monitored"/>
|
||||
</div>
|
||||
<span class="help-inline-checkbox">
|
||||
<i class="icon-question-sign" title="Should NzbDrone download episodes for this series?"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Use Season Folder</label>
|
||||
|
||||
<div class="controls">
|
||||
<div class="switch">
|
||||
<input type="checkbox" name="seasonFolder" />
|
||||
<input type="checkbox" name="seasonFolder"/>
|
||||
</div>
|
||||
<span class="help-inline-checkbox">
|
||||
<i class="icon-question-sign" title="Should downloaded episodes be stored in season folders?"></i>
|
||||
|
@ -31,11 +33,12 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputQualityProfile">Quality Profile</label>
|
||||
|
||||
<div class="controls">
|
||||
|
||||
|
||||
<select class="x-quality-profile" id="inputQualityProfile" name="qualityProfileId">
|
||||
{{#each qualityProfiles.models}}
|
||||
<option value="{{id}}">{{attributes.name}}</option>
|
||||
<option value="{{id}}">{{attributes.name}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
<span class="help-inline">
|
||||
|
@ -46,6 +49,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputPath">Path</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" id="inputPath" placeholder="Path" name="path">
|
||||
<span class="help-inline">
|
||||
|
@ -53,9 +57,10 @@
|
|||
</span>
|
||||
</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="0">Inherit</option>
|
||||
|
@ -67,11 +72,12 @@
|
|||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputCustomStartDate">Custom Start Date</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="date" id="inputCustomStartDate" name="customStartDate">
|
||||
<input type="date" id="inputCustomStartDate" name="customStartDate">
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Should NzbDrone only download episodes after your preferred start date?"></i>
|
||||
</span>
|
||||
|
@ -80,7 +86,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-danger pull-left x-remove" >delete</button>
|
||||
<button class="btn btn-danger pull-left x-remove">delete</button>
|
||||
<button class="btn" data-dismiss="modal">cancel</button>
|
||||
<button class="btn btn-primary x-save">save</button>
|
||||
</div>
|
|
@ -2,19 +2,19 @@
|
|||
define(['app', 'Series/SeriesModel', 'Series/Delete/DeleteSeriesView', 'Quality/QualityProfileCollection'], function () {
|
||||
|
||||
NzbDrone.Series.Edit.EditSeriesView = Backbone.Marionette.ItemView.extend({
|
||||
template: 'Series/Edit/EditSeriesTemplate',
|
||||
tagName: 'div',
|
||||
template : 'Series/Edit/EditSeriesTemplate',
|
||||
tagName : 'div',
|
||||
className: "modal",
|
||||
|
||||
ui: {
|
||||
progressbar: '.progress .bar',
|
||||
qualityProfile: '.x-quality-profile',
|
||||
progressbar : '.progress .bar',
|
||||
qualityProfile : '.x-quality-profile',
|
||||
backlogSettings: '.x-backlog-setting',
|
||||
switch: '.switch'
|
||||
switch : '.switch'
|
||||
},
|
||||
|
||||
events: {
|
||||
'click .x-save': 'saveSeries',
|
||||
'click .x-save' : 'saveSeries',
|
||||
'click .x-remove': 'removeSeries'
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue