mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-23 00:39:59 +00:00
Guest upload visual fix.
This commit is contained in:
parent
4a7d8646b6
commit
fb91b2bbf8
|
@ -40,10 +40,11 @@
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<label class="control-label">Torrent flags</label><br>
|
<label class="control-label">Torrent flags</label><br>
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-default" title="Upload torrent anonymously (don't display your username)">
|
<label class="btn btn-default {% if not g.user %}active disabled{% endif %}" title="Upload torrent anonymously (don't display your username)">
|
||||||
{{ upload_form.is_anonymous(disabled=(False if g.user else ""), checked=(False if g.user else "")) }}
|
{{ upload_form.is_anonymous(disabled=(False if g.user else ""), checked=(False if g.user else "")) }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
{% if not g.user %}<span class="glyphicon glyphicon-asterisk"></span>{% endif %}
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
{% if g.user %}<span class="glyphicon glyphicon-ok"></span>{% endif %}
|
||||||
|
{% if g.user %}<span class="glyphicon glyphicon-remove"></span>{% endif %}
|
||||||
Anonymous
|
Anonymous
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-grey" title="Hide torrent from listing">
|
<label class="btn btn-grey" title="Hide torrent from listing">
|
||||||
|
|
Loading…
Reference in a new issue