From 03ce1b8475c21b7afea8b41c3c7f70665e7cf484 Mon Sep 17 00:00:00 2001 From: Dorian Wood Date: Tue, 23 Jul 2024 12:28:34 -0400 Subject: [PATCH] final commit before launching the css strip --- Pipfile | 1 + brutaldon/templates/about.html | 7 ++- brutaldon/templates/base.html | 82 ++++++++++++++++------------------ 3 files changed, 44 insertions(+), 46 deletions(-) diff --git a/Pipfile b/Pipfile index da0d5c0..5f57881 100644 --- a/Pipfile +++ b/Pipfile @@ -27,5 +27,6 @@ inscriptis = "*" lxml = "*" uwsgi = "*" django-debug-toolbar = "*" +gunicorn = "*" [dev-packages] diff --git a/brutaldon/templates/about.html b/brutaldon/templates/about.html index 0878b25..3c1a21d 100644 --- a/brutaldon/templates/about.html +++ b/brutaldon/templates/about.html @@ -11,10 +11,13 @@

a brutalist web interface for Mastodon

- Brutaldon is a client for Mastodon. You can use it to log in to any Mastodon instance from any browser, including text browsers such as lynx. + Brutaldon is a client for Mastodon. + You can use it to log in to any Mastodon instance from any browser, + including text browsers such as lynx.

- You do not need a separate brutaldon account to use it. Brutaldon will authenticate you to your instance. + You do not need a separate brutaldon account to use it. + Brutaldon will authenticate you to your instance.

diff --git a/brutaldon/templates/base.html b/brutaldon/templates/base.html index dfcebd1..6b9f070 100644 --- a/brutaldon/templates/base.html +++ b/brutaldon/templates/base.html @@ -14,51 +14,45 @@ brutaldon {% endif %} {% endblock %} - - {% if own_acct %} - - {% else %} - + + {% if own_acct %} + + {% else %} + + {% endif %} + + + + + + + + + + + {% if not preferences %} + + + {% else %} + + + + {% if not preferences.no_javascript %} + + + + + + + {% block page_scripts %} + {% endblock %} {% endif %} - - - - - - - - - - -{% if not preferences %} - - - {% else %} - - - - {% if not preferences.theme.is_brutalist %} - {% endif %} - {% if not preferences.no_javascript %} - - - - - - - {% block page_scripts %} - {% endblock %} - {% endif %} - {% endif %} - - - - + {% endif %}