mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 19:30:00 +00:00
change glyphs for buttons.
This commit is contained in:
parent
fb91b2bbf8
commit
34fe2c5c67
|
@ -265,15 +265,15 @@ a.text-purple:hover, a.text-purple:active, a.text-purple:focus { color: #a760e0;
|
|||
.btn-grey:hover, .btn-grey:focus, .btn-grey:active, .btn-grey.active, .open > .dropdown-toggle.btn-grey {
|
||||
background-color: #aaaaaa;
|
||||
}
|
||||
.btn span.glyphicon-ok {
|
||||
.btn span.glyphicon-check {
|
||||
display: none;
|
||||
}
|
||||
.btn.active span.glyphicon-ok {
|
||||
.btn.active span.glyphicon-check {
|
||||
display: inline;
|
||||
}
|
||||
.btn span.glyphicon-remove {
|
||||
.btn span.glyphicon-unchecked {
|
||||
display: inline;
|
||||
}
|
||||
.btn.active span.glyphicon-remove {
|
||||
.btn.active span.glyphicon-unchecked {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -35,34 +35,34 @@
|
|||
{% if torrent.uploader_id %}
|
||||
<label class="btn btn-default {% if torrent.anonymous %}active{% endif %}" title="Upload torrent anonymously (don't display your username)">
|
||||
{{ form.is_anonymous }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Anonymous
|
||||
</label>
|
||||
{% endif %}
|
||||
<label class="btn btn-grey {% if torrent.hidden %}active{% endif %}" title="Hide torrent from listing">
|
||||
{{ form.is_hidden }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Hidden
|
||||
</label>
|
||||
<label class="btn btn-danger {% if torrent.remake %}active{% endif %}" title="This torrent is derived from another release">
|
||||
{{ form.is_remake }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Remake
|
||||
</label>
|
||||
<label class="btn btn-warning {% if torrent.complete %}active{% endif %}" title="This torrent is a complete batch (eg. season)">
|
||||
{{ form.is_complete }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Complete
|
||||
</label>
|
||||
{% if g.user.is_trusted %}
|
||||
<label class="btn btn-success {% if torrent.trusted %}active{% endif %}" title="Mark torrent trusted">
|
||||
{{ form.is_trusted }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Trusted
|
||||
</label>
|
||||
{% endif %}
|
||||
|
@ -72,8 +72,8 @@
|
|||
{% if g.user.is_moderator %}
|
||||
<label class="btn btn-primary {% if torrent.deleted %}active{% endif %}">
|
||||
{{ form.is_deleted }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Deleted
|
||||
</label>
|
||||
{% endif %}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="/static/css/main.css?v=5" rel="stylesheet">
|
||||
<link href="/static/css/main.css?v=6" rel="stylesheet">
|
||||
|
||||
<!-- Core JavaScript -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
|
||||
|
|
|
@ -43,33 +43,33 @@
|
|||
<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 "")) }}
|
||||
{% if not g.user %}<span class="glyphicon glyphicon-asterisk"></span>{% endif %}
|
||||
{% if g.user %}<span class="glyphicon glyphicon-ok"></span>{% endif %}
|
||||
{% if g.user %}<span class="glyphicon glyphicon-remove"></span>{% endif %}
|
||||
{% if g.user %}<span class="glyphicon glyphicon-check"></span>{% endif %}
|
||||
{% if g.user %}<span class="glyphicon glyphicon-unchecked"></span>{% endif %}
|
||||
Anonymous
|
||||
</label>
|
||||
<label class="btn btn-grey" title="Hide torrent from listing">
|
||||
{{ upload_form.is_hidden }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Hidden
|
||||
</label>
|
||||
<label class="btn btn-danger" title="This torrent is derived from another release">
|
||||
{{ upload_form.is_remake }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Remake
|
||||
</label>
|
||||
<label class="btn btn-warning" title="This torrent is a complete batch (eg. season)">
|
||||
{{ upload_form.is_complete }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Complete
|
||||
</label>
|
||||
{% if g.user.is_trusted %}
|
||||
<label class="btn btn-success active" title="Mark torrent trusted">
|
||||
{{ upload_form.is_trusted(checked="") }}
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<span class="glyphicon glyphicon-check"></span>
|
||||
<span class="glyphicon glyphicon-unchecked"></span>
|
||||
Trusted
|
||||
</label>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue