mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-16 09:55:05 +00:00
e56303798c
Initial SickGear for Python 3.
68 lines
3.1 KiB
Cheetah
68 lines
3.1 KiB
Cheetah
<div class="field-pair alt" id="anigrouplists">
|
|
<input type="hidden" name="allowlist" id="allowlist">
|
|
<input type="hidden" name="blocklist" id="blocklist">
|
|
|
|
<span class="component-title">Fansub groups</span>
|
|
<span class="component-desc">
|
|
|
|
<div class="anigrouplists-wrapper">
|
|
<div class="anigrouplists all">
|
|
|
|
<div class="anigrouplists anidb">
|
|
<div class="inuse" style="padding:0">
|
|
<div class="anigrouplists allow" style="margin-bottom:10px">
|
|
<h4 style="margin:0 41px 6px 0">Allow list<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="allow" multiple="multiple" size="12">
|
|
#for $keyword in sorted($allowlist, key=lambda x: x.lower()):
|
|
<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-allow" class="btn" value="<<" type="button">
|
|
<input id="remove-allow" class="btn clear:right" value=">>" type="button">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="anigrouplists block" style="position:relative; bottom: -1px">
|
|
<h4 style="margin:0 41px 6px 0">Block list<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="block" multiple="multiple" size="12">
|
|
#for $keyword in sorted($blocklist, key=lambda x: x.lower()):
|
|
<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-block" class="btn" value="<<" type="button">
|
|
<input id="remove-block" class="btn clear:right" value=">>" type="button">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="anigrouplists 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, key=lambda x: x['name'].lower())
|
|
#if $group['name'] not in $allowlist and $group['name'] not in $blocklist:
|
|
<option value="$group['name']">$group['name'] #if len($group['rating'])# ($group['rating'])#end if# $group['range']</option>
|
|
#end if
|
|
#end for
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="clear:both"> </div>
|
|
<div class="anigrouplists 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 Allow list" id="new-allow">
|
|
<input style="margin-right:0" class="btn btn-inline" type="button" value="Add to Block list" id="new-block">
|
|
</div>
|
|
<span class="pull-left">add a custom item to either the allow or block list</span>
|
|
<div style="clear:both"> </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</span>
|
|
</div><!-- /anigrouplists -->
|