@@ -131,7 +131,7 @@ function generateWorkflowUI(wf, wfIndex) {
let $wfCollapsiblePanel = $("
", {
- class: `panel-collapse collapse ${isOpen ? 'in' : ''}`,
+ class: `box panel-collapse collapse ${isOpen ? 'in' : ''}`,
id: `wf-${wfIndex}-collapsible-panel`
});
@@ -154,7 +154,7 @@ function generateWorkflowUI(wf, wfIndex) {
// Trigger Section with dropdowns
let $triggerSection = $("
",
{
- class: "box box-secondary col-sm-12 col-sx-12"
+ class: " col-sm-12 col-sx-12"
}
).append($triggerTitle);
@@ -200,7 +200,7 @@ function generateWorkflowUI(wf, wfIndex) {
// Actions with action.field as dropdown
let $actionsContainer = $("
",
{
- class: "actions-list box box-secondary"
+ class: "actions-list col-sm-12 col-sx-12 box "
}
).append($actionsTitle);
@@ -273,6 +273,7 @@ function generateWorkflowUI(wf, wfIndex) {
});
// add action button
+ let $actionAddButtonWrap = $("
", { class: "button-container col-sm-12 col-sx-12" });
let $actionAddIcon = $("
", {
class: "fa-solid fa-plus"
});
@@ -282,7 +283,8 @@ function generateWorkflowUI(wf, wfIndex) {
wfIndex: wfIndex
}).append($actionAddIcon).append("Add Action")
- $actionsContainer.append($actionAddButton)
+ $actionAddButtonWrap.append($actionAddButton)
+ $actionsContainer.append($actionAddButtonWrap)
let $wfRemoveButtonWrap = $("", { class: "button-container col-sm-12 col-sx-12" });
@@ -318,6 +320,15 @@ function renderConditions(wfIndex, parentIndexPath, conditionGroupsIndex, condit
lastConditionIndex = 0
+ let $conditionListWrap = $("
", {
+ class: `condition-list-wrap ${conditionGroupsIndex==0?"col-sm-12":"col-sm-11"} col-sx-12`,
+ conditionGroupsIndex: conditionGroupsIndex
+ });
+
+ let $deleteConditionGroupWrap = $("
", {
+ class: "condition-group-wrap-del col-sm-1 col-sx-12"
+ });
+
$.each(conditions, function (conditionIndex, condition) {
let currentPath = `${parentIndexPath}.conditions[${conditionIndex}]`;
@@ -394,7 +405,7 @@ function renderConditions(wfIndex, parentIndexPath, conditionGroupsIndex, condit
class: "fa-solid fa-trash"
});
let $conditionRemoveButton = $("