diff --git a/templates/admin/index.html b/templates/admin/index.html index ce16c3f..be3266f 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -3,160 +3,264 @@ {% set adminLink = 'active' %} {% block additionalHeadItems %} + {% endblock %} {% block content %}

Admin panel

Skip to preview -
Skip to preview
-
-

Instance

-
- - -

Title of this CatAsk instance

-
-
- - -

Description of this CatAsk instance

-
-
- - -

Rules of this CatAsk instance

-
-
- - -

Image that's going to be used in a link preview

-
-
- - -

Full URL to homepage of this CatAsk instance without a trailing slash

-
-

General

-
- - -

Max length of a question in characters; questions extending this character limit will not be added to the database

-
-
- - -

This name will be used for questions asked to you by anonymous users

-
+
+ +

+ Instance + +

+
+ + +

Title of this CatAsk instance

+
+
+ + +

Description of this CatAsk instance

+
+
+ + +

Rules of this CatAsk instance

+
+
+ + +

Image that's going to be used in a link preview

+
+
+ + +

Full URL to homepage of this CatAsk instance without a trailing slash

+
+
+ +
+ +

Customize

+

Favicon

+
+

Current favicon: {{ cfg.instance.title }}'s icon

+
+ + +
+
+ +
+
+
+

Accent color

+ {#

Color

#} +
+ + +

Default: #6345d9

+
+
+ + +

Default: #7259d9

+
+ {# brain doesn't feel like implementing this rn (9/27/24) +

Background

+
+ + +

Default: #ffffff

+
+
+ + +

Default: #202020

+
+ #} +
+ + + +
+ {# +
+ + + +
+ #} +

Navbar link style

+
+ + +
+
+ + +
+

Info box layout

+
+ + +
+
+ + +
+

Trimmed content

+
+ + +

Maximum length of content before it gets trimmed (used in sharing options); set to 0 to disable

+
+

General

+
+ + +

Max length of a question in characters; questions extending this character limit will not be added to the database

+
+
+ + +

This name will be used for questions asked to you by anonymous users

+
- - - - - - - - - - -
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- -
-
-
-
- -
- -

Blacklisted words for questions; one word per line

- - -
-
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ +
+ +
+
+ +
+ +

Blacklisted words for questions; one word per line

+ + +
+
-
-

Preview

- -
- The preview is not guaranteed to render the same as on other pages, because it uses a different renderer (marked (js) while everything else uses mistune (python))
The reason for this is live markdown rendering support
-
+
+
+
+

Preview

+ +
+ The preview is not guaranteed to render the same as on other pages, because it uses a different renderer (marked (js) while everything else uses mistune (python))
The reason for this is live markdown rendering support
+
+

{{ cfg.instance.title }}

- {% autoescape off %} -

{{ cfg.instance.description | render_markdown }}

- {% endautoescape %} -
-
-
-

- -

-
-
-
{{ cfg.instance.rules | render_markdown }}
-
+ {% autoescape off %} +

{{ cfg.instance.description | render_markdown }}

+ {% endautoescape %} +
+
+
+

+ +

+
+
+
{{ cfg.instance.rules | render_markdown }}
+
+
@@ -167,45 +271,67 @@ {% block scripts %} + {% endblock %}