diff --git a/templates/asset.qtpl.go b/templates/asset.qtpl.go index ce8b514..95106bc 100644 --- a/templates/asset.qtpl.go +++ b/templates/asset.qtpl.go @@ -71,6 +71,7 @@ article pre.codeblock {background-color:#eee; padding:.5rem; white-space: pre-wr .navi-title a {text-decoration:none; } .navi-title__separator { margin: 0 .25rem; } .navi-title__colon { margin-right: .5rem; } +.upload-amnt { clear: both; border: #eee 1px solid; padding: .5rem; border-radius: .25rem; } .img-gallery { text-align: center; margin-top: .25rem; margin-bottom: .25rem; } .img-gallery_many-images { background-color: #eee; border-radius: .25rem; padding: .5rem; } diff --git a/templates/default.css b/templates/default.css index 44030bf..b19484c 100644 --- a/templates/default.css +++ b/templates/default.css @@ -46,6 +46,7 @@ article pre.codeblock {background-color:#eee; padding:.5rem; white-space: pre-wr .navi-title a {text-decoration:none; } .navi-title__separator { margin: 0 .25rem; } .navi-title__colon { margin-right: .5rem; } +.upload-amnt { clear: both; border: #eee 1px solid; padding: .5rem; border-radius: .25rem; } .img-gallery { text-align: center; margin-top: .25rem; margin-bottom: .25rem; } .img-gallery_many-images { background-color: #eee; border-radius: .25rem; padding: .5rem; } diff --git a/templates/http_readers.qtpl b/templates/http_readers.qtpl index 6d7f861..cb63f5e 100644 --- a/templates/http_readers.qtpl +++ b/templates/http_readers.qtpl @@ -47,16 +47,15 @@ If `contents` == "", a helpful message is shown instead. {% endif %} -
{% if u := user.FromRequest(rq); !user.AuthUsed || u.Group != "anon" %}
+ method="post" enctype="multipart/form-data" + class="upload-amnt">
-
{% endif %}