From 650e402f848f71fd3db073900b6f3004be9333bb Mon Sep 17 00:00:00 2001 From: mst Date: Tue, 26 Nov 2024 14:59:06 +0300 Subject: [PATCH] various rs layout improvements --- .../snippets/layout/homepage/retrospring.html | 131 ++++++++++-------- 1 file changed, 75 insertions(+), 56 deletions(-) diff --git a/templates/snippets/layout/homepage/retrospring.html b/templates/snippets/layout/homepage/retrospring.html index bd6b3c8..c0cd9c2 100644 --- a/templates/snippets/layout/homepage/retrospring.html +++ b/templates/snippets/layout/homepage/retrospring.html @@ -1,62 +1,81 @@ -{% include 'snippets/layout/description/retrospring.html' %} -
-
-
-
- Ask a question - -
-
- {% if cfg.lockInbox == false %} -
-
+
+ {% include 'snippets/layout/description/retrospring.html' %} +
+
+ {% if not cfg.lockInbox %} +
+
+ Ask a question + +
+
+ +
+
+ + +
+
- - + +
-
-
- - -
-
- - -

Markdown supported {{ cfg.charLimit }}

-
-
- - -
-
- {# -
- reserved for version 1.6.0 or later - - - +
+ + +

Markdown supported {{ cfg.charLimit }}

- #} - -
- -
- {% else %} -
-

New questions cannot be asked right now.

- {% endif %} + {% if cfg.antispam.enabled %} + {% if cfg.antispam.type == 'basic' %} +
+ + +
+ {% elif cfg.antispam.type == 'recaptcha' %} +
+ {% if cfg.antispam.recaptcha.sitekey %} +
+ {% else %} + + {% endif %} +
+ {% elif cfg.antispam.type == 'turnstile' %} +
+ {% elif cfg.antispam.type == 'frc' %} +
+ {% else %} +
Warning: antispam type is not set!
+ {% endif %} + {% endif %} +
+ {# +
+ reserved for version 1.6.0 or later + + + +
+ #} + +
+ +
+
+ {% else %} +

New questions cannot be asked right now.

+ {% endif %}
+ {% include 'snippets/layout/questions_list.html' %}
- {% include 'snippets/layout/questions_list.html' %} -
\ No newline at end of file +