mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 18:17:13 +00:00
Added close button to series modals, fixed series edit styling
This commit is contained in:
parent
1dfd78c0c9
commit
b4c97dd4c2
3 changed files with 31 additions and 15 deletions
|
@ -1,4 +1,5 @@
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
<h3>Delete: {{title}}</h3>
|
<h3>Delete: {{title}}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|
|
@ -1,26 +1,31 @@
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
<h3>Edit: {{title}}</h3>
|
<h3>Edit: {{title}}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="form-horizontal">
|
<div class="form-horizontal">
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="inputMonitored">Monitored</label>
|
<label class="control-label">Monitored</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<label class="checkbox">
|
<div class="switch">
|
||||||
<input type="checkbox" id ="inputMonitored" name="monitored">
|
<input type="checkbox" name="monitored" />
|
||||||
Should NzbDrone download episodes for this series?
|
</div>
|
||||||
</label>
|
<span class="help-inline-checkbox">
|
||||||
|
<i class="icon-question-sign" title="Should NzbDrone download episodes for this series?"></i>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="inputSeasonFolder">Use Season Folder</label>
|
<label class="control-label">Use Season Folder</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<label class="checkbox">
|
<div class="switch">
|
||||||
<input type="checkbox" id ="inputSeasonFolder" name="seasonFolder">
|
<input type="checkbox" name="seasonFolder" />
|
||||||
Should downloaded episodes be stored in season folders?
|
</div>
|
||||||
</label>
|
<span class="help-inline-checkbox">
|
||||||
|
<i class="icon-question-sign" title="Should downloaded episodes be stored in season folders?"></i>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -33,7 +38,9 @@
|
||||||
<option value="{{id}}">{{attributes.name}}</option>
|
<option value="{{id}}">{{attributes.name}}</option>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</select>
|
</select>
|
||||||
<span class="help-inline">Which Quality Profile should NzbDrone use to download episodes?</span>
|
<span class="help-inline">
|
||||||
|
<i class="icon-question-sign" title="Which Quality Profile should NzbDrone use to download episodes?"></i>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -41,7 +48,9 @@
|
||||||
<label class="control-label" for="inputPath">Path</label>
|
<label class="control-label" for="inputPath">Path</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" id="inputPath" placeholder="Path" name="path">
|
<input type="text" id="inputPath" placeholder="Path" name="path">
|
||||||
<span class="help-inline">Where should NzbDrone store episodes for this series?</span>
|
<span class="help-inline">
|
||||||
|
<i class="icon-question-sign" title="Where should NzbDrone store episodes for this series?"></i>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -53,7 +62,9 @@
|
||||||
<option value="1">Enable</option>
|
<option value="1">Enable</option>
|
||||||
<option value="2">Disable</option>
|
<option value="2">Disable</option>
|
||||||
</select>
|
</select>
|
||||||
<span class="help-inline">Should NzbDrone search for missing episodes every 30 days?</span>
|
<span class="help-inline">
|
||||||
|
<i class="icon-question-sign" title="Should NzbDrone search for missing episodes every 30 days?"></i>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -61,7 +72,9 @@
|
||||||
<label class="control-label" for="inputCustomStartDate">Custom Start Date</label>
|
<label class="control-label" for="inputCustomStartDate">Custom Start Date</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="date" id="inputCustomStartDate" name="customStartDate">
|
<input type="date" id="inputCustomStartDate" name="customStartDate">
|
||||||
<span class="help-inline">Should NzbDrone only download episodes after your preferred start date?</span>
|
<span class="help-inline">
|
||||||
|
<i class="icon-question-sign" title="Should NzbDrone only download episodes after your preferred start date?"></i>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,7 +9,8 @@ define(['app', 'Series/SeriesModel', 'Series/Delete/DeleteSeriesView', 'Quality/
|
||||||
ui: {
|
ui: {
|
||||||
progressbar: '.progress .bar',
|
progressbar: '.progress .bar',
|
||||||
qualityProfile: '.x-quality-profile',
|
qualityProfile: '.x-quality-profile',
|
||||||
backlogSettings: '.x-backlog-setting'
|
backlogSettings: '.x-backlog-setting',
|
||||||
|
switch: '.switch'
|
||||||
},
|
},
|
||||||
|
|
||||||
events: {
|
events: {
|
||||||
|
@ -19,6 +20,7 @@ define(['app', 'Series/SeriesModel', 'Series/Delete/DeleteSeriesView', 'Quality/
|
||||||
|
|
||||||
onRender: function () {
|
onRender: function () {
|
||||||
NzbDrone.ModelBinder.bind(this.model, this.el);
|
NzbDrone.ModelBinder.bind(this.model, this.el);
|
||||||
|
this.ui.switch.bootstrapSwitch();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue