Browse Source
Change improve clarity of anime group lists by using terms Allow list and Block list.tags/release_0.25.1
23 changed files with 307 additions and 277 deletions
@ -0,0 +1,68 @@ |
|||
<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 --> |
@ -1,68 +0,0 @@ |
|||
<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, 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-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, 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-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, key=lambda x: x['name'].lower()) |
|||
#if $group['name'] 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"> </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"> </div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</span> |
|||
</div><!-- /blackwhitelist --> |
Loading…
Reference in new issue