From b3fdd1ad51809775f0ad3d2d47a2d53483adc178 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 28 Sep 2021 13:02:09 -0700 Subject: [PATCH] Puts sections into boxes on site page --- bookwyrm/templates/preferences/edit_user.html | 4 +- bookwyrm/templates/settings/site.html | 151 +++++++++--------- 2 files changed, 80 insertions(+), 75 deletions(-) diff --git a/bookwyrm/templates/preferences/edit_user.html b/bookwyrm/templates/preferences/edit_user.html index c51ef3631..f3cabbc78 100644 --- a/bookwyrm/templates/preferences/edit_user.html +++ b/bookwyrm/templates/preferences/edit_user.html @@ -62,7 +62,7 @@ -
+

{% trans "Display preferences" %}

@@ -94,7 +94,7 @@
-
+

{% trans "Privacy" %}

diff --git a/bookwyrm/templates/settings/site.html b/bookwyrm/templates/settings/site.html index 37a344145..da5b7705f 100644 --- a/bookwyrm/templates/settings/site.html +++ b/bookwyrm/templates/settings/site.html @@ -15,35 +15,36 @@ {% endblock %} {% block panel %} -
{% csrf_token %}

{% trans "Instance Info" %}

-
- - {{ site_form.name }} -
-
- - {{ site_form.instance_tagline }} -
-
- - {{ site_form.instance_description }} -
-
- -

{% trans "Used when the instance is previewed on joinbookwyrm.com. Does not support html or markdown." %}

- {{ site_form.instance_short_description }} -
-
- - {{ site_form.code_of_conduct }} -
-
- - {{ site_form.privacy_policy }} +
+
+ + {{ site_form.name }} +
+
+ + {{ site_form.instance_tagline }} +
+
+ + {{ site_form.instance_description }} +
+
+ +

{% trans "Used when the instance is previewed on joinbookwyrm.com. Does not support html or markdown." %}

+ {{ site_form.instance_short_description }} +
+
+ + {{ site_form.code_of_conduct }} +
+
+ + {{ site_form.privacy_policy }} +
@@ -51,16 +52,16 @@

{% trans "Images" %}

-
-
+
+
{{ site_form.logo }}
-
+
{{ site_form.logo_small }}
-
+
{{ site_form.favicon }}
@@ -71,21 +72,23 @@ @@ -93,35 +96,37 @@

{% trans "Registration" %}

-
- -
-
- -
-
- -

{% trans "(Recommended if registration is open)" %}

-
-
- - {{ site_form.registration_closed_text }} -
-
- - {{ site_form.invite_request_text }} - {% for error in site_form.invite_request_text.errors %} -

{{ error|escape }}

- {% endfor %} +
+
+ +
+
+ +
+
+ +

{% trans "(Recommended if registration is open)" %}

+
+
+ + {{ site_form.registration_closed_text }} +
+
+ + {{ site_form.invite_request_text }} + {% for error in site_form.invite_request_text.errors %} +

{{ error|escape }}

+ {% endfor %} +