From 564b3a5b8857e19ec5f8b281c46b56e335098363 Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Tue, 29 Oct 2024 15:16:46 -0600 Subject: [PATCH] UI tweaks Signed-off-by: Florent Poinsard --- go/admin/templates/add_new_executions.html | 42 ++++++++++++---------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/go/admin/templates/add_new_executions.html b/go/admin/templates/add_new_executions.html index efe06cea..4029e8c1 100644 --- a/go/admin/templates/add_new_executions.html +++ b/go/admin/templates/add_new_executions.html @@ -1,25 +1,24 @@
-
-
- - -
-
- - -
+
+ + +
+
+
+ +

@@ -153,6 +152,7 @@ hx-target="#response" class="bg-green-500 hover:green text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" type="submit" + onclick="clearHelperText()" > Add Execution @@ -177,6 +177,10 @@ } }); + function clearHelperText() { + document.getElementById("response").innerHTML = ""; + } + function toggleProfilingFields() { const checkbox = document.getElementById('enableProfilingCheckbox'); const profilingFields = document.getElementById('profilingFields');