From 7da4d16944ea29a150ae374718b4d3b3b57f30ac Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Tue, 12 Mar 2024 10:22:28 +0100 Subject: [PATCH 1/2] Minor change --- app/templates/infrastructures.html | 2 +- app/templates/list.html | 4 ++-- app/templates/reconfigure.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/infrastructures.html b/app/templates/infrastructures.html index 881d5d616..ba1c5beb7 100644 --- a/app/templates/infrastructures.html +++ b/app/templates/infrastructures.html @@ -11,7 +11,7 @@ } else if (state == "failed" || state == "unconfigured" || state == "unknown" || state == "error" || state == "timeout") { return ""; } else { - return ""; + return " "; } } diff --git a/app/templates/list.html b/app/templates/list.html index fbbedd6af..4ac572c78 100644 --- a/app/templates/list.html +++ b/app/templates/list.html @@ -69,10 +69,10 @@ v = parts[1] } input_template = ` -
+
-
+
`; {% else %} diff --git a/app/templates/reconfigure.html b/app/templates/reconfigure.html index 2667b9171..f0083cffb 100644 --- a/app/templates/reconfigure.html +++ b/app/templates/reconfigure.html @@ -18,7 +18,7 @@ -
+
{% for tab, input_dict in inputs.items() %} From 46df34a2b8a0851e8fa71547c38dc562e543148a Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Tue, 12 Mar 2024 10:25:17 +0100 Subject: [PATCH 2/2] Disable inf table order --- app/templates/infrastructures.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/templates/infrastructures.html b/app/templates/infrastructures.html index ba1c5beb7..140407652 100644 --- a/app/templates/infrastructures.html +++ b/app/templates/infrastructures.html @@ -564,8 +564,7 @@ "columnDefs": [ { "targets" : 'no-sort', "orderable": false, - }], - "order": [[ 2, "desc" ]] + }] }); {% if reload %}