63 lines
2.1 KiB
HTML
63 lines
2.1 KiB
HTML
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h3>Edit</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form-horizontal">
|
|
|
|
<div class="control-group">
|
|
<label class="control-label">Name</label>
|
|
|
|
<div class="controls">
|
|
<input type="text" name="name">
|
|
<span class="help-inline">
|
|
<i class="icon-question-sign" title="The name for this quality profile"></i>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<label class="control-label">Cutoff</label>
|
|
|
|
<div class="controls">
|
|
|
|
<select class="x-cutoff" name="cutoff">
|
|
{{#each allowed}}
|
|
<option value="{{id}}">{{name}}</option>
|
|
{{/each}}
|
|
</select>
|
|
<span class="help-inline">
|
|
<i class="icon-question-sign" title="Once this quality is reached NzbDrone will no longer download episodes"></i>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!--Todo: Why is a null allowed being treated as a true?-->
|
|
{{debug}}
|
|
{{#each qualities}}
|
|
<div class="control-group">
|
|
<label class="control-label">{{name}}</label>
|
|
|
|
<div class="controls">
|
|
<label class="checkbox toggle well">
|
|
<input type="checkbox" name="qualities.{{@index}}.allowed"/>
|
|
<p>
|
|
<span>Yes</span>
|
|
<span>No</span>
|
|
</p>
|
|
|
|
<div class="btn btn-primary slide-button"></div>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<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> |