From 31d27fb686c6cc33aebf07ed39d399da7e89e262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Mon, 8 Jul 2024 09:04:35 +0100 Subject: [PATCH] Execute djlint formatter on ui templates --- src/ui/templates/account.html | 17 +- src/ui/templates/card_filter.html | 2 +- src/ui/templates/configs.html | 6 +- src/ui/templates/jobs.html | 316 +++++++++--------- src/ui/templates/services.html | 470 +++++++++++++-------------- src/ui/templates/setting_select.html | 2 +- src/ui/templates/setup_loading.html | 12 +- 7 files changed, 411 insertions(+), 414 deletions(-) diff --git a/src/ui/templates/account.html b/src/ui/templates/account.html index 5a75f8f66..af22b82d8 100644 --- a/src/ui/templates/account.html +++ b/src/ui/templates/account.html @@ -3,18 +3,15 @@ {% set pro_setting = {} %} {% for plugin in plugins %} {% if plugin.get('name')|lower == 'pro' %} - {% if pro_setting.update({'method' : plugin.get('method', 'ui')}) %}{% endif %} - - {% for setting, value in plugin.get('settings').items() %} - {% if setting == "PRO_LICENSE_KEY" %} - {% if pro_setting.update({'value' : value.get('value', '')}) %}{% endif %} - {% endif %} - {% endfor %} - + {% if pro_setting.update({'method' : plugin.get('method', 'ui')}) %}{% endif %} + {% for setting, value in plugin.get('settings').items() %} + {% if setting == "PRO_LICENSE_KEY" %} + {% if pro_setting.update({'value' : value.get('value', '')}) %}{% endif %} + {% endif %} + {% endfor %} {% endif %} {% endfor %} {% set attribute_name = "account" %} -
SETTINGS
@@ -161,7 +158,7 @@ name="license" class="col-span-12 regular-input" placeholder="enter new license key" - value="{{pro_setting.get('value', '')}}" + value="{{ pro_setting.get('value', '') }}" pattern="^.*$" required />