1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 23:05:11 -05:00
SickRage/gui/slick/interfaces/default/inc_blackwhitelist.tmpl

53 lines
2.1 KiB
Cheetah

<b>Fansub Groups:</b>
<div class="bwlWrapper" id="Anime">
<div class="component-group-desc">
<p>Select your preferred fansub groups from the <b>Available Groups</b> and add them to the <b>Whitelist</b>. Add groups to the <b>Blacklist</b> to ignore them.</p>
<p>The <b>Whitelist</b> is checked <i>before</i> the <b>Blacklist</b>.</p>
<p>Groups are shown as <b>Name</b> | <b>Rating</b> | <b>Number of subbed episodes</b>.</p>
<p>You may also add any fansub group not listed to either list manually.</p>
</div>
<div class="blackwhitelist all">
<div class="blackwhitelist anidb">
<div class="blackwhitelist white">
<span><h4>Whitelist</h4></span>
<select id="white" multiple="multiple" size="12">
#for $keyword in $whitelist:
<option value="$keyword">$keyword</option>
#end for
</select>
<br/>
<input class="btn" style="float: left;" id="removeW" value="Remove" type="button"/>
</div>
<div class="blackwhitelist pool">
<span><h4>Available Groups</h4></span>
<select id="pool" multiple="multiple" size="12">
#for $group in $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>
<br/>
<input class="btn" style="float: left;" id="addW" value="Add to Whitelist" type="button"/>
<input class="btn" style="float: right;" id="addB" value="Add to Blacklist" type="button"/>
</div>
<div class="blackwhitelist black">
<span><h4>Blacklist</h4></span>
<select id="black" multiple="multiple" size="12">
#for $keyword in $blacklist:
<option value="$keyword">$keyword</option>
#end for
</select>
<br/>
<input class="btn" style="float: right;" id="removeB" value="Remove" type="button"/>
</div>
</div>
<br style="clear:both" />
<div class="blackwhitelist manual">
<input type="text" id="addToPoolText" size="30" />
<input class="btn" type="button" value="Add to Whitelist" id="addToWhite">
<input class="btn" type="button" value="Add to Blacklist" id="addToBlack">
</div>
</div>
<br style="clear:both" />
</div>