SickGear/gui/slick/interfaces/default/inc_blackwhitelist.tmpl
JackDandy e630cc0fdf Change layout of quality custom to improve clarity.
Change tweak text of SD DVD to include BD/BR.
2018-01-29 19:26:52 +00:00

68 lines
3 KiB
Cheetah

<div class="field-pair alt" id="blackwhitelist">
<input type="hidden" name="whitelist" id="whitelist">
<input type="hidden" name="blacklist" id="blacklist">
<span class="component-title">Fansub groups</span>
<span class="component-desc">
<div class="bwlWrapper">
<div class="blackwhitelist all">
<div class="blackwhitelist anidb">
<div class="inuse" style="padding:0">
<div class="blackwhitelist white" style="margin-bottom:10px">
<h4 style="margin:0 41px 6px 0">Whitelist<br /><span class="grey-text">Only snatch releases by group(s)</span></h4>
<div style="width:243px; height:110px">
<select style="width:202px" class="pull-left" id="white" multiple="multiple" size="12">
#for $keyword in sorted($whitelist):
<option value="$keyword">$keyword</option>
#end for
</select>
<div style="position:relative; width:36px; height:64px; margin: -32px 0 0; top: 50%;" class="pull-right">
<input id="add-white" class="btn" value="<<" type="button">
<input id="remove-white" class="btn clear:right" value=">>" type="button">
</div>
</div>
</div>
<div class="blackwhitelist black" style="position:relative; bottom: -1px">
<h4 style="margin:0 41px 6px 0">Blacklist<br /><span class="grey-text">Ignore releases by group(s)</span></h4>
<div style="width:243px; height:110px">
<select style="width:202px" class="pull-left" id="black" multiple="multiple" size="12">
#for $keyword in sorted($blacklist):
<option value="$keyword">$keyword</option>
#end for
</select>
<div style="position:relative; width:36px; height:64px; margin: -32px 0 0; top: 50%;" class="pull-right">
<input id="add-black" class="btn" value="<<" type="button">
<input id="remove-black" class="btn clear:right" value=">>" type="button">
</div>
</div>
</div>
</div>
<div class="blackwhitelist pool">
<h4 style="margin:0 0 6px 0">Available groups<br /><span class="grey-text">Name (Rating) Number of subbed episodes</span></h4>
<select id="pool" multiple="multiple" size="12">
#for $group in sorted($groups)
#if $group not in $whitelist and $group['name'] not in $blacklist:
<option value="$group['name']">$group['name'] ($group['rating']) $group['range']</option>
#end if
#end for
</select>
</div>
</div>
<div style="clear:both">&nbsp;</div>
<div class="blackwhitelist manual">
<div class="pull-left">
<input type="text" id="addToPoolText" class="form-control form-control-inline input-sm input200" style="width:202px">
<input class="btn btn-inline" type="button" value="Add to Whitelist" id="new-white">
<input style="margin-right:0" class="btn btn-inline" type="button" value="Add to Blacklist" id="new-black">
</div>
<span class="pull-left">add a custom item to either the whitelist or blacklist</span>
<div style="clear:both">&nbsp;</div>
</div>
</div>
</div>
</span>
</div><!-- /blackwhitelist -->