From a564bb8ecc6f5753b7d3a4660fd088c46d77a0e6 Mon Sep 17 00:00:00 2001 From: 8chan Date: Wed, 3 Dec 2014 00:18:24 -0800 Subject: [PATCH] Display some important information under the post form --- stylesheets/style.css | 2 +- templates/post_form.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index bebd4813..4a038483 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -819,7 +819,7 @@ pre { margin-top: 1em; } -.new-threads { +.new-threads, .board-settings { text-align: center; } diff --git a/templates/post_form.html b/templates/post_form.html index 93e6465f..1b01b93b 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -178,3 +178,15 @@ + +

+{% if not config.disable_images %} +Allowed file types: {{ config.allowed_ext|join(', ') }}{% if config.allowed_ext_files %}, {{ config.allowed_ext_files|join(', ') }}{% endif %}
+Max filesize is {{ config.max_filesize|filesize }}.
+Max image dimensions are {{ config.max_height }} x {{ config.max_width }}.
+You may upload {{ config.max_images }} per post.
+{% endif %} +{% if config.allow_roll %} +You may roll dice on this board, type "dice XdY+Z" in the email field where X is number of dice, Y is max roll and Z is modifier.
+{% endif %} +