diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css old mode 100644 new mode 100755 index fbc8366..fc54a47 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -256,3 +256,17 @@ a.text-purple:hover, a.text-purple:active, a.text-purple:focus { color: #a760e0; .avatar { max-width: 120px; } + +.btn-grey { + color: #000000; + background-color: #cccfd2; + border-color: #ccc; +} +.btn-grey:hover, .btn-grey:focus, .btn-grey:active, .btn-grey.active, .open > .dropdown-toggle.btn-grey { + background-color: #aaaaaa; +} +.btn span.glyphicon { + opacity: 0; +} +.btn.active span.glyphicon { + opacity: 1; diff --git a/nyaa/templates/edit.html b/nyaa/templates/edit.html old mode 100644 new mode 100755 index e608f8d..f95cb83 --- a/nyaa/templates/edit.html +++ b/nyaa/templates/edit.html @@ -29,41 +29,48 @@ {{ render_field(form.information, class_='form-control', placeholder='Your website or IRC channel') }}
- -
- {% if g.user.is_moderator %} - - {% endif %} - - - - - - {# Only allow changing anonymous status when an uploader exists #} - {% if torrent.uploader_id %} - - {% endif %} - {% if g.user.is_trusted %} - - {% endif %} +
+
+ {# Only allow changing anonymous status when an uploader exists #} + {% if torrent.uploader_id %} + + {% endif %} + + + + {% if g.user.is_trusted %} + + {% endif %} +
+

+
+ {% if g.user.is_moderator %} + + {% endif %}
diff --git a/nyaa/templates/upload.html b/nyaa/templates/upload.html old mode 100644 new mode 100755 index e54beaa..74cd39b --- a/nyaa/templates/upload.html +++ b/nyaa/templates/upload.html @@ -38,31 +38,35 @@ {{ render_field(upload_form.information, class_='form-control', placeholder='Your website or IRC channel') }}
- -
-