mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-23 00:10:01 +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 {
|
.btn-grey:hover, .btn-grey:focus, .btn-grey:active, .btn-grey.active, .open > .dropdown-toggle.btn-grey {
|
||||||
background-color: #aaaaaa;
|
background-color: #aaaaaa;
|
||||||
}
|
}
|
||||||
.btn span.glyphicon-ok {
|
.btn span.glyphicon-check {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.btn.active span.glyphicon-ok {
|
.btn.active span.glyphicon-check {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
.btn span.glyphicon-remove {
|
.btn span.glyphicon-unchecked {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
.btn.active span.glyphicon-remove {
|
.btn.active span.glyphicon-unchecked {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,34 +35,34 @@
|
||||||
{% if torrent.uploader_id %}
|
{% if torrent.uploader_id %}
|
||||||
<label class="btn btn-default {% if torrent.anonymous %}active{% endif %}" title="Upload torrent anonymously (don't display your username)">
|
<label class="btn btn-default {% if torrent.anonymous %}active{% endif %}" title="Upload torrent anonymously (don't display your username)">
|
||||||
{{ form.is_anonymous }}
|
{{ form.is_anonymous }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Anonymous
|
Anonymous
|
||||||
</label>
|
</label>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<label class="btn btn-grey {% if torrent.hidden %}active{% endif %}" title="Hide torrent from listing">
|
<label class="btn btn-grey {% if torrent.hidden %}active{% endif %}" title="Hide torrent from listing">
|
||||||
{{ form.is_hidden }}
|
{{ form.is_hidden }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Hidden
|
Hidden
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-danger {% if torrent.remake %}active{% endif %}" title="This torrent is derived from another release">
|
<label class="btn btn-danger {% if torrent.remake %}active{% endif %}" title="This torrent is derived from another release">
|
||||||
{{ form.is_remake }}
|
{{ form.is_remake }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Remake
|
Remake
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-warning {% if torrent.complete %}active{% endif %}" title="This torrent is a complete batch (eg. season)">
|
<label class="btn btn-warning {% if torrent.complete %}active{% endif %}" title="This torrent is a complete batch (eg. season)">
|
||||||
{{ form.is_complete }}
|
{{ form.is_complete }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Complete
|
Complete
|
||||||
</label>
|
</label>
|
||||||
{% if g.user.is_trusted %}
|
{% if g.user.is_trusted %}
|
||||||
<label class="btn btn-success {% if torrent.trusted %}active{% endif %}" title="Mark torrent trusted">
|
<label class="btn btn-success {% if torrent.trusted %}active{% endif %}" title="Mark torrent trusted">
|
||||||
{{ form.is_trusted }}
|
{{ form.is_trusted }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Trusted
|
Trusted
|
||||||
</label>
|
</label>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -72,8 +72,8 @@
|
||||||
{% if g.user.is_moderator %}
|
{% if g.user.is_moderator %}
|
||||||
<label class="btn btn-primary {% if torrent.deleted %}active{% endif %}">
|
<label class="btn btn-primary {% if torrent.deleted %}active{% endif %}">
|
||||||
{{ form.is_deleted }}
|
{{ form.is_deleted }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Deleted
|
Deleted
|
||||||
</label>
|
</label>
|
||||||
{% endif %}
|
{% 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" />
|
<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 -->
|
<!-- 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 -->
|
<!-- Core JavaScript -->
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
|
<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)">
|
<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 "")) }}
|
||||||
{% if not g.user %}<span class="glyphicon glyphicon-asterisk"></span>{% endif %}
|
{% 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-check"></span>{% endif %}
|
||||||
{% if g.user %}<span class="glyphicon glyphicon-remove"></span>{% endif %}
|
{% if g.user %}<span class="glyphicon glyphicon-unchecked"></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">
|
||||||
{{ upload_form.is_hidden }}
|
{{ upload_form.is_hidden }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Hidden
|
Hidden
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-danger" title="This torrent is derived from another release">
|
<label class="btn btn-danger" title="This torrent is derived from another release">
|
||||||
{{ upload_form.is_remake }}
|
{{ upload_form.is_remake }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Remake
|
Remake
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-warning" title="This torrent is a complete batch (eg. season)">
|
<label class="btn btn-warning" title="This torrent is a complete batch (eg. season)">
|
||||||
{{ upload_form.is_complete }}
|
{{ upload_form.is_complete }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Complete
|
Complete
|
||||||
</label>
|
</label>
|
||||||
{% if g.user.is_trusted %}
|
{% if g.user.is_trusted %}
|
||||||
<label class="btn btn-success active" title="Mark torrent trusted">
|
<label class="btn btn-success active" title="Mark torrent trusted">
|
||||||
{{ upload_form.is_trusted(checked="") }}
|
{{ upload_form.is_trusted(checked="") }}
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<span class="glyphicon glyphicon-unchecked"></span>
|
||||||
Trusted
|
Trusted
|
||||||
</label>
|
</label>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue