mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-04 18:33:38 +00:00
97429c084f
Change list order of option on the right of the displayShow page to be mostly inline with the order of options on editShow. Change legend wording and text colour on the displayShow page. Add output message if no release group results are available. Add cleansing of text used in the processes to a add a show. Add sorting of AniDB available group results. Add error handling and related UI feedback to reflect result of AniDB communications. Change description of config/search ignore and require words.
49 lines
2.2 KiB
Cheetah
49 lines
2.2 KiB
Cheetah
#import sickbeard
|
|
#from sickbeard.common import Quality, qualityPresets, qualityPresetStrings
|
|
|
|
<div class="field-pair">
|
|
<label for="qualityPreset" class="clearfix">
|
|
#set $overall_quality = $Quality.combineQualities($anyQualities, $bestQualities)
|
|
<span class="component-title input">Quality</span>
|
|
<span class="component-desc">
|
|
#set $selected = None
|
|
<select id="qualityPreset" class="form-control form-control-inline input-sm">
|
|
<option value="0">Custom</option>
|
|
#for $curPreset in sorted($qualityPresets):
|
|
<option value="$curPreset" #if $curPreset == $overall_quality then "selected=\"selected\"" else ""# #if $qualityPresetStrings[$curPreset].endswith("0p") then "style=\"padding-left: 15px;\"" else ""#>$qualityPresetStrings[$curPreset]</option>
|
|
#end for
|
|
</select>
|
|
<span>preferred episode quality to download</span>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
|
|
<div id="customQualityWrapper">
|
|
<div id="customQuality">
|
|
<div class="component-group-desc">
|
|
<p>One of the <em>Initial</em> quality selections must succeed before attempting to process <em>Archive</em> selections.</p>
|
|
</div>
|
|
|
|
<span class="component-desc">
|
|
<div style="float:left; padding-right: 40px">
|
|
<h4 class="jumbo">Initial</h4>
|
|
#set $anyQualityList = filter(lambda x: x > $Quality.NONE, $Quality.qualityStrings)
|
|
<select id="anyQualities" name="anyQualities" multiple="multiple" size="$len($anyQualityList)" class="form-control form-control-inline input-sm">
|
|
#for $curQuality in sorted($anyQualityList):
|
|
<option value="$curQuality" #if $curQuality in $anyQualities then "selected=\"selected\"" else ""#>$Quality.qualityStrings[$curQuality]</option>
|
|
#end for
|
|
</select>
|
|
</div>
|
|
|
|
<div style="float:left">
|
|
<h4 class="jumbo">Archive</h4>
|
|
#set $bestQualityList = filter(lambda x: x > $Quality.SDTV and x < $Quality.UNKNOWN, $Quality.qualityStrings)
|
|
<select id="bestQualities" name="bestQualities" multiple="multiple" size="$len($bestQualityList)" class="form-control form-control-inline input-sm">
|
|
#for $curQuality in sorted($bestQualityList):
|
|
<option value="$curQuality" #if $curQuality in $bestQualities then "selected=\"selected\"" else ""#>$Quality.qualityStrings[$curQuality]</option>
|
|
#end for
|
|
</select>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
</div>
|