diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1347b7e..f407d66 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: # Automatically sort python imports - repo: https://github.com/PyCQA/isort - rev: 9.0.0a3 + rev: 9.0.0b1 hooks: - id: isort args: [--profile, black] @@ -35,7 +35,7 @@ repos: # Autoformat: HTML, Jinja, etc. - repo: https://github.com/djlint/djLint - rev: v1.36.4 + rev: v1.43.2 hooks: - id: djlint-reformat-jinja files: "\\.html" @@ -55,7 +55,7 @@ repos: # Lint: Dockerfile - repo: https://github.com/hadolint/hadolint - rev: v2.14.0 + rev: v2.15.1 hooks: - id: hadolint-docker entry: hadolint/hadolint:v2.12.1-beta hadolint @@ -90,7 +90,7 @@ repos: # Lint: Markdown - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.48.0 + rev: v0.49.1 hooks: - id: markdownlint args: ["--fix"] diff --git a/templates/account/index.html b/templates/account/index.html index 65d27b9..c9c462a 100644 --- a/templates/account/index.html +++ b/templates/account/index.html @@ -1,24 +1,24 @@ {% extends "base.html" %} {% block header %} -

- {% block title %} - Accounts - {% endblock title %} -

+

+ {% block title %} + Accounts + {% endblock title %} +

{% endblock header %} {% block content %} - {% for account in accounts %} -
-
-
-

{{ account['account_number'] }}

-
in {{ account['branch_name'] }}
-
- Edit -
-

€ {{ account['balance'] }}

-
- {% if not loop.last %}
{% endif %} - {% endfor %} + {% for account in accounts %} +
+
+
+

{{ account['account_number'] }}

+
in {{ account['branch_name'] }}
+
+ Edit +
+

€ {{ account['balance'] }}

+
+ {% if not loop.last %}
{% endif %} + {% endfor %} {% endblock content %} diff --git a/templates/account/update.html b/templates/account/update.html index f52fc55..bb84f16 100644 --- a/templates/account/update.html +++ b/templates/account/update.html @@ -1,36 +1,36 @@ {% extends "base.html" %} {% block header %} -

- {% block title %} - Account {{ account['account_number'] }} | Edit - {% endblock title %} -

+

+ {% block title %} + Account {{ account['account_number'] }} | Edit + {% endblock title %} +

{% endblock header %} {% block content %} -
- - - - - -
-
-
- -
+
+ + + + + +
+
+
+ +
{% endblock content %} diff --git a/templates/base.html b/templates/base.html index ff1e09b..50800bb 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,25 +1,25 @@ - {% block title %} - {% endblock title %} + {% block title %} + {% endblock title %} - Bank
-
- {% block header %} - {% endblock header %} -
- {% for message in get_flashed_messages() %}
{{ message }}
{% endfor %} - {% block content %} - {% endblock content %} +
+ {% block header %} + {% endblock header %} +
+ {% for message in get_flashed_messages() %}
{{ message }}
{% endfor %} + {% block content %} + {% endblock content %}