From d13eb9208970dc6c8c2bc06dab81ea8b70080781 Mon Sep 17 00:00:00 2001 From: Silvan Verhoeven Date: Thu, 8 Aug 2024 11:46:14 +0200 Subject: [PATCH] chore: apply shorter line length format --- myhpi/core/templates/core/minutes.html | 8 ++++++-- myhpi/core/templates/core/sidebar.html | 8 ++++++-- myhpi/polls/templates/polls/base_poll.html | 8 ++++++-- .../templates/polls/ranked_choice_poll.html | 4 +++- .../search/templates/search/search_field.html | 4 +++- myhpi/templates/403.html | 12 ++++++++--- myhpi/templates/base.html | 11 +++++++--- myhpi/templates/footer.html | 4 +++- myhpi/templates/login.html | 4 +++- .../templates/tenca_django/action.html | 4 +++- .../templates/tenca_django/backend_error.html | 4 +++- .../templates/tenca_django/delete_list.html | 4 +++- .../templates/tenca_django/manage_list.html | 20 ++++++++++++++----- .../tenca_django/manage_subscription.html | 4 +++- 14 files changed, 74 insertions(+), 25 deletions(-) diff --git a/myhpi/core/templates/core/minutes.html b/myhpi/core/templates/core/minutes.html index c258e92f..f40da447 100644 --- a/myhpi/core/templates/core/minutes.html +++ b/myhpi/core/templates/core/minutes.html @@ -12,7 +12,9 @@

{{ page.title }}

-
{{ parsed_md.0|touchify_abbreviations|tag_external_links }}
+
+ {{ parsed_md.0|touchify_abbreviations|tag_external_links }} +
diff --git a/myhpi/search/templates/search/search_field.html b/myhpi/search/templates/search/search_field.html index e69978c2..2f4c0c84 100644 --- a/myhpi/search/templates/search/search_field.html +++ b/myhpi/search/templates/search/search_field.html @@ -10,6 +10,8 @@ {% if search_query %}value="{{ search_query }}"{% endif %}> + aria-label="{% translate 'Search' %}"> + {% bs_icon "search" extra_classes="text-light" %} + diff --git a/myhpi/templates/403.html b/myhpi/templates/403.html index 90e433fc..00046b34 100644 --- a/myhpi/templates/403.html +++ b/myhpi/templates/403.html @@ -15,8 +15,14 @@

{% translate "Access denied" %}

{% endblock %} diff --git a/myhpi/templates/base.html b/myhpi/templates/base.html index 488e318d..ac25a859 100644 --- a/myhpi/templates/base.html +++ b/myhpi/templates/base.html @@ -36,7 +36,9 @@ href="{% static 'scss/myHPI.scss'|compile %}" rel="stylesheet"> - {% block extra_css %}{# Override this in templates to add extra stylesheets #}{% endblock %} + {% block extra_css %} + {# Override this in templates to add extra stylesheets #} + {% endblock %} @@ -150,7 +152,8 @@ + aria-label="{% translate 'Close' %}"> + {% endfor %} @@ -215,7 +218,9 @@ - {% block extra_js %}{# Override this in templates to add extra javascript #}{% endblock %} + {% block extra_js %} + {# Override this in templates to add extra javascript #} + {% endblock %} diff --git a/myhpi/templates/footer.html b/myhpi/templates/footer.html index 933f6bf9..29c3b974 100644 --- a/myhpi/templates/footer.html +++ b/myhpi/templates/footer.html @@ -5,7 +5,9 @@
{% for column in footer_columns %} {% endfor %}
diff --git a/myhpi/tenca_django/templates/tenca_django/manage_subscription.html b/myhpi/tenca_django/templates/tenca_django/manage_subscription.html index ad510261..af066435 100644 --- a/myhpi/tenca_django/templates/tenca_django/manage_subscription.html +++ b/myhpi/tenca_django/templates/tenca_django/manage_subscription.html @@ -38,7 +38,9 @@
- +
{% endblock %}