From a386fa420b01026de7ab9ca0ac52749cb4e965f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Tue, 18 Apr 2023 11:51:04 +0200 Subject: [PATCH] Adjust admin automation sessions UI/UX --- .../admin/src/themes/corteza-base/custom.scss | 7 +- .../src/views/Automation/Scripts/Index.vue | 1 + .../src/views/Automation/Session/List.vue | 86 ++++++++++++++++--- .../src/views/System/Actionlog/Index.vue | 3 +- lib/vue/src/components/input/CInputSearch.vue | 6 +- .../components/resourceList/CResourceList.vue | 11 ++- 6 files changed, 93 insertions(+), 21 deletions(-) diff --git a/client/web/admin/src/themes/corteza-base/custom.scss b/client/web/admin/src/themes/corteza-base/custom.scss index e9110150d..7d563d029 100644 --- a/client/web/admin/src/themes/corteza-base/custom.scss +++ b/client/web/admin/src/themes/corteza-base/custom.scss @@ -59,7 +59,12 @@ th { // custom height for resource lists with buttons .custom-resource-list-height { - height: calc(100vh - 115px); + height: calc(100vh - 120px); +} + +// custom height for resource lists without buttons +.custom-resource-list-height-no-buttons { + height: calc(100vh - 105px); } // to remove the gap on top of the sticky header table diff --git a/client/web/admin/src/views/Automation/Scripts/Index.vue b/client/web/admin/src/views/Automation/Scripts/Index.vue index 920dcce96..6d0f3acbe 100644 --- a/client/web/admin/src/views/Automation/Scripts/Index.vue +++ b/client/web/admin/src/views/Automation/Scripts/Index.vue @@ -1,5 +1,6 @@