From bf2918795ff9b5d8012d7677970b9c68edb3252d Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 7 Sep 2022 17:57:09 +0000 Subject: [PATCH] Reformat with djlint --- divent/templates/base.html.j2 | 13 +++++-------- divent/templates/error.html.j2 | 4 +--- divent/templates/index.html.j2 | 14 +++++++++----- divent/templates/subscribe.html.j2 | 1 + 4 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 divent/templates/subscribe.html.j2 diff --git a/divent/templates/base.html.j2 b/divent/templates/base.html.j2 index d1aa5b7..4794411 100644 --- a/divent/templates/base.html.j2 +++ b/divent/templates/base.html.j2 @@ -6,10 +6,7 @@ - - {% block title %} - {% endblock title %} - + {{ client.user.display_name }} - {{ _('The discord scheduled event calendar generator') }} + id="logo" + height="36" + width="130" + alt="{{ _('Discord Logo') }}"/>
{% block content %} {% endblock content %} diff --git a/divent/templates/error.html.j2 b/divent/templates/error.html.j2 index 98873cc..2dce21b 100644 --- a/divent/templates/error.html.j2 +++ b/divent/templates/error.html.j2 @@ -8,9 +8,7 @@ width="173"/>

- - {{ error }} - + {{ error }}
diff --git a/divent/templates/index.html.j2 b/divent/templates/index.html.j2 index f13108e..e7f9231 100644 --- a/divent/templates/index.html.j2 +++ b/divent/templates/index.html.j2 @@ -3,7 +3,10 @@
- {{ _('Bot Logo') }} + {{ _('Bot Logo') }}

{{ client.user.display_name }}

{{ _('The discord scheduled event calendar generator') }}

@@ -22,11 +25,12 @@

{{ _('Choose a server:') }}

diff --git a/divent/templates/subscribe.html.j2 b/divent/templates/subscribe.html.j2 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/divent/templates/subscribe.html.j2 @@ -0,0 +1 @@ +