mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 19:40:00 +00:00
Align fields better, move Anonymous as first flag
This commit is contained in:
parent
af0cca2f8c
commit
f31efcdaa1
|
@ -25,10 +25,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-6">
|
||||||
{{ render_field(form.information, class_='form-control', placeholder='Your website or IRC channel') }}
|
{{ render_field(form.information, class_='form-control', placeholder='Your website or IRC channel') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-8">
|
<div class="col-md-6">
|
||||||
<label class="control-label">Torrent flags</label>
|
<label class="control-label">Torrent flags</label>
|
||||||
<div>
|
<div>
|
||||||
{% if editor.is_admin %}
|
{% if editor.is_admin %}
|
||||||
|
|
|
@ -32,12 +32,16 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row form-group">
|
<div class="row form-group">
|
||||||
<div class="col-md-4">
|
<div class="col-md-6">
|
||||||
{{ render_field(form.information, class_='form-control', placeholder='Your website or IRC channel') }}
|
{{ render_field(form.information, class_='form-control', placeholder='Your website or IRC channel') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-8">
|
<div class="col-md-6">
|
||||||
<label class="control-label">Torrent flags</label>
|
<label class="control-label">Torrent flags</label>
|
||||||
<div>
|
<div>
|
||||||
|
<label class="btn btn-primary" title="Upload torrent anonymously (don't display your username)">
|
||||||
|
{{ form.is_anonymous(disabled=(False if user else ""), checked=(False if user else "")) }}
|
||||||
|
Anonymous
|
||||||
|
</label>
|
||||||
<label class="btn btn-default" style="background-color: darkgray; border-color: #ccc;" title="Hide torrent from listing">
|
<label class="btn btn-default" style="background-color: darkgray; border-color: #ccc;" title="Hide torrent from listing">
|
||||||
{{ form.is_hidden }}
|
{{ form.is_hidden }}
|
||||||
Hidden
|
Hidden
|
||||||
|
@ -50,10 +54,6 @@
|
||||||
{{ form.is_complete }}
|
{{ form.is_complete }}
|
||||||
Complete
|
Complete
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary" title="Upload torrent anonymously (don't display your username)">
|
|
||||||
{{ form.is_anonymous(disabled=(False if user else ""), checked=(False if user else "")) }}
|
|
||||||
Anonymous
|
|
||||||
</label>
|
|
||||||
{% if user.is_trusted %}
|
{% if user.is_trusted %}
|
||||||
<label class="btn btn-success" title="Mark torrent trusted">
|
<label class="btn btn-success" title="Mark torrent trusted">
|
||||||
{{ form.is_trusted(checked="") }}
|
{{ form.is_trusted(checked="") }}
|
||||||
|
|
Loading…
Reference in a new issue