From 1efdf66c19d0d9fdc62e159fe7f3778d0d9f39dd Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sat, 15 Mar 2025 13:19:58 +1100 Subject: [PATCH] wf work --- front/appEventsCore.php | 3 +- front/css/app.css | 18 ++ front/plugins/workflows/config.json | 2 +- front/workflowsCore.php | 204 +++++++++--- server/plugin.py | 6 +- server/workflows/app_events.py | 471 +++++++--------------------- 6 files changed, 302 insertions(+), 402 deletions(-) diff --git a/front/appEventsCore.php b/front/appEventsCore.php index 346e50a3..729ec9ce 100755 --- a/front/appEventsCore.php +++ b/front/appEventsCore.php @@ -67,7 +67,8 @@ function processData(data) { { data: 'ObjectSecondaryID', title: getString('AppEvents_ObjectSecondaryID') }, { data: 'ObjectStatus', title: getString('AppEvents_ObjectStatus') }, { data: 'ObjectPlugin', title: getString('AppEvents_Plugin') }, - { data: 'ObjectGUID', title: "GUID" }, + { data: 'ObjectGUID', title: "Object GUID" }, + { data: 'GUID', title: "Event GUID" }, // Add other columns as needed ], // Add column-specific configurations if needed diff --git a/front/css/app.css b/front/css/app.css index c92ebc09..a0342a85 100755 --- a/front/css/app.css +++ b/front/css/app.css @@ -1849,10 +1849,28 @@ input[readonly] { padding: 5px; } +.workflows .section-title +{ + padding: 10px; + font-weight: bolder; + font-size: large; +} + +.workflows .panel, .workflows .box { + padding-top: 10px; + padding-bottom: 10px; + +} + .workflows .btn-secondary{ color: #000; } +.workflows .bottom-buttons button +{ + margin: 5px; +} + .workflows .condition-list button { margin: 2px; diff --git a/front/plugins/workflows/config.json b/front/plugins/workflows/config.json index 1e7ad72e..32bcdbfb 100755 --- a/front/plugins/workflows/config.json +++ b/front/plugins/workflows/config.json @@ -40,7 +40,7 @@ } ] }, - "default_value": 5000, + "default_value": 100, "options": [], "localized": ["name", "description"], "name": [ diff --git a/front/workflowsCore.php b/front/workflowsCore.php index cec3cb9e..8797e2b4 100755 --- a/front/workflowsCore.php +++ b/front/workflowsCore.php @@ -10,21 +10,20 @@
-
-
-
-
-
-