2013-03-14 00:26:30 +00:00
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2013-06-25 07:21:10 +00:00
|
|
|
|
{{#if id}}
|
|
|
|
|
<h3>Edit</h3>
|
|
|
|
|
{{else}}
|
|
|
|
|
<h3>Add</h3>
|
|
|
|
|
{{/if}}
|
2013-03-14 00:26:30 +00:00
|
|
|
|
</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">
|
2013-06-19 06:33:16 +00:00
|
|
|
|
<i class="icon-question-sign" title="The name for this quality profile"/>
|
2013-03-14 00:26:30 +00:00
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Cutoff</label>
|
|
|
|
|
<div class="controls">
|
2013-06-25 07:21:10 +00:00
|
|
|
|
<select class="x-cutoff" name="cutoff.id">
|
2013-03-14 00:26:30 +00:00
|
|
|
|
{{#each allowed}}
|
2013-06-25 07:21:10 +00:00
|
|
|
|
<option value="{{id}}">{{name}}</option>
|
2013-03-14 00:26:30 +00:00
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
|
|
|
|
<span class="help-inline">
|
2013-06-19 06:33:16 +00:00
|
|
|
|
<i class="icon-question-sign" title="Once this quality is reached NzbDrone will no longer download episodes"/>
|
2013-03-14 00:26:30 +00:00
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-05-31 05:56:00 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="offset1 span3">
|
|
|
|
|
<h3>Available</h3>
|
|
|
|
|
<select multiple="multiple" class="x-available-list">
|
|
|
|
|
{{#each available}}
|
|
|
|
|
<option value="{{id}}">{{name}}</option>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span3">
|
|
|
|
|
<h3>Allowed</h3>
|
|
|
|
|
<select multiple="multiple" class="x-allowed-list">
|
|
|
|
|
{{#each allowed}}
|
|
|
|
|
<option value="{{id}}">{{name}}</option>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2013-03-14 00:26:30 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
2013-06-25 07:21:10 +00:00
|
|
|
|
{{#if id}}
|
|
|
|
|
<button class="btn btn-danger pull-left x-remove">delete</button>
|
|
|
|
|
{{/if}}
|
2013-03-14 00:26:30 +00:00
|
|
|
|
<button class="btn" data-dismiss="modal">cancel</button>
|
|
|
|
|
<button class="btn btn-primary x-save">save</button>
|
2013-05-31 05:56:00 +00:00
|
|
|
|
</div>
|