mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-11 11:55:03 -05:00
2ab436b764
Fix for default provider not being passed in properly.
63 lines
3.1 KiB
Cheetah
63 lines
3.1 KiB
Cheetah
#import sickbeard
|
|
#from sickbeard.common import *
|
|
#from sickbeard import subtitles
|
|
|
|
#if $sickbeard.USE_SUBTITLES:
|
|
<div class="field-pair alt">
|
|
<input type="checkbox" name="subtitles" id="subtitles" #if $sickbeard.SUBTITLES_DEFAULT then "checked=\"checked\"" else ""# />
|
|
<label for="subtitles" class="clearfix">
|
|
<span class="component-title">Subtitles</span>
|
|
<span class="component-desc">Download subtitles for this show?</span>
|
|
</label>
|
|
</div>
|
|
#end if
|
|
|
|
<div class="field-pair">
|
|
<label for="statusSelect" class="nocheck clearfix">
|
|
<span class="component-title">
|
|
<select name="defaultStatus" id="statusSelect">
|
|
#for $curStatus in [$SKIPPED, $WANTED, $ARCHIVED, $IGNORED]:
|
|
<option value="$curStatus" #if $sickbeard.STATUS_DEFAULT == $curStatus then 'selected="selected"' else ''#>$statusStrings[$curStatus]</option>
|
|
#end for
|
|
</select>
|
|
</span>
|
|
<span class="component-desc">Set the initial status of missing episodes</span>
|
|
</label>
|
|
</div>
|
|
|
|
<div class="field-pair alt">
|
|
<input class="cb" type="checkbox" name="flatten_folders" id="flatten_folders" #if $sickbeard.FLATTEN_FOLDERS_DEFAULT then "checked=\"checked\"" else ""# />
|
|
<label for="flatten_folders" class="clearfix">
|
|
<span class="component-title">Flatten Folders</span>
|
|
<span class="component-desc">Disregard sub-folders?</span>
|
|
</label>
|
|
</div>
|
|
|
|
<div class="field-pair alt">
|
|
<input type="checkbox" name="anime" id="anime" #if $sickbeard.ANIME_DEFAULT then "checked=\"checked\"" else ""# />
|
|
<label for="anime" class="clearfix">
|
|
<span class="component-title">Anime</span>
|
|
<span class="component-desc">Is this show an Anime?</span>
|
|
</label>
|
|
</div>
|
|
|
|
<div class="field-pair alt">
|
|
<input type="checkbox" name="scene" id="scene" #if $sickbeard.SCENE_DEFAULT then "checked=\"checked\"" else ""# />
|
|
<label for="scene" class="clearfix">
|
|
<span class="component-title">Scene Numbering</span>
|
|
<span class="component-desc">Is this show scene numbered?</span>
|
|
</label>
|
|
</div>
|
|
|
|
#set $qualities = $Quality.splitQuality($sickbeard.QUALITY_DEFAULT)
|
|
#set global $anyQualities = $qualities[0]
|
|
#set global $bestQualities = $qualities[1]
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_qualityChooser.tmpl")
|
|
|
|
<div class="field-pair alt">
|
|
<label for="saveDefaultsButton" class="nocheck clearfix">
|
|
<span class="component-title"><input class="btn" type="button" id="saveDefaultsButton" value="Save Defaults" disabled="disabled" /></span>
|
|
<span class="component-desc">Persist current values as the defaults</span>
|
|
</label>
|
|
</div>
|