From 1ac33b0bc7b1c548ab14706d0043fad0441b5cdf Mon Sep 17 00:00:00 2001 From: Joshua Rodriguez Date: Wed, 1 May 2024 14:35:10 -0700 Subject: [PATCH] Layout tweaks --- cws-ui/src/main/webapp/css/dashboard.css | 8 ++++++++ install/cws-ui/initiators-table.ftl | 2 +- install/cws-ui/initiators.ftl | 4 +++- install/cws-ui/sidebar.ftl | 13 +------------ 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/cws-ui/src/main/webapp/css/dashboard.css b/cws-ui/src/main/webapp/css/dashboard.css index 0561ff32..db87079d 100644 --- a/cws-ui/src/main/webapp/css/dashboard.css +++ b/cws-ui/src/main/webapp/css/dashboard.css @@ -435,3 +435,11 @@ a.nav-link img { :target { scroll-margin-top: 56px; } + +.dt-input { + margin-right: 5px; +} + +#datepicker-div { + width: 150px; +} diff --git a/install/cws-ui/initiators-table.ftl b/install/cws-ui/initiators-table.ftl index c78ada16..6dc84eaf 100644 --- a/install/cws-ui/initiators-table.ftl +++ b/install/cws-ui/initiators-table.ftl @@ -21,7 +21,7 @@ -->
- +
diff --git a/install/cws-ui/initiators.ftl b/install/cws-ui/initiators.ftl index 055c925b..673bf362 100644 --- a/install/cws-ui/initiators.ftl +++ b/install/cws-ui/initiators.ftl @@ -76,7 +76,7 @@
- +
@@ -323,9 +323,11 @@ //if there is no "false" in the list, then all are enabled. if (Object.values(initiatorEnabled).indexOf("false") == -1) { $("#active-all input").prop('checked', true); + $("#active-all label").text("On"); } else { $("#active-all input").prop('checked', false); + $("#active-all label").text("Off"); } // diff --git a/install/cws-ui/sidebar.ftl b/install/cws-ui/sidebar.ftl index fd2f2ce9..cdbe79aa 100644 --- a/install/cws-ui/sidebar.ftl +++ b/install/cws-ui/sidebar.ftl @@ -10,22 +10,11 @@ const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstra