From 63a2503fc385b1450cde879a3a1cf2b05584e5bd Mon Sep 17 00:00:00 2001 From: markobean Date: Sat, 21 Oct 2023 10:09:29 -0400 Subject: [PATCH] NIFI-11874 update Process Group configuration layout in the UI (#7591) * NIFI-11874 update Process Group configuration layout in the UI * NIFI-11874: relocate checkbox for recursive application of paramenter context * NIFI-11874 remove comments tab from process group configuration * NIFI-11874 minor cleanup of float CSS for process-group-parameter-context-combo This closes #7591 --- .../canvas/process-group-configuration.jsp | 238 +++++++++--------- .../css/process-group-configuration.css | 11 +- 2 files changed, 134 insertions(+), 115 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/process-group-configuration.jsp b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/process-group-configuration.jsp index f4858a4405..4064ec5cf0 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/process-group-configuration.jsp +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/process-group-configuration.jsp @@ -26,130 +26,142 @@
-
-
Process group name
- -
- -
-
- -
-
-
-
Process group parameter context
-
-
-
-
-
Apply recursively
-
+
+
+
+
Process group name
+ +
+ +
+
+ +
-
-
-
- Unauthorized -
-
-
-
Execution Engine
-
-
-
-
- -
-
-
-
-
Max Concurrent Tasks
-
- +
+
Process group parameter context
+
+
+
+
+
Apply recursively
+
+
+
+
+
+ Unauthorized +
-
- +
+
Execution Engine
+
+
+
+
+ +
+
+
+
+
Max Concurrent Tasks
+
+ +
+
+ +
+
+
+
Stateless Flow Timeout
+
+ +
+
+ +
+
+
+
+
Process group FlowFile concurrency
+
+
+
+
+ +
+
+
+
Process group outbound policy
+
+
+
+
+ +
-
-
Stateless Flow Timeout
-
- +
+
+
Default FlowFile Expiration +
+
+
+ +
+
+ +
-
- +
+
Default Back Pressure Object Threshold +
+
+
+ +
+
+ +
+
+
+
Default Back Pressure Data Size Threshold +
+
+
+ +
+
+ +
+
+
+
Log File Suffix +
+
+
+ +
+
+ +
-
-
Process group FlowFile concurrency
-
-
-
-
- -
+
+
+
Process group comments
+
+
-
-
Process group outbound policy
-
-
-
-
- -
-
-
-
Default FlowFile Expiration
-
- -
-
- -
-
-
-
Default Back Pressure Object Threshold
-
- -
-
- -
-
-
-
Default Back Pressure Data Size Threshold
-
- -
-
- -
-
-
-
Log File Suffix -
-
-
- -
-
- -
-
-
-
Process group comments
-
- -
-
- -
+
+
+
-
-
Apply
-
-
+
+
Apply
+
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/process-group-configuration.css b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/process-group-configuration.css index ca0b80f8eb..1059af3956 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/process-group-configuration.css +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/process-group-configuration.css @@ -76,6 +76,14 @@ /* general */ +#general-process-group-configuration div.settings-columns { + display: flex; +} + +#general-process-group-configuration div.settings-columns .settings-column { + margin-right: 50px; +} + #general-process-group-configuration input, #general-process-group-configuration textarea { width: 350px; vertical-align: middle; @@ -83,11 +91,9 @@ #process-group-parameter-context-combo { width: 328px; - float: left; } #parameter-contexts-recursive-container { - float: left; margin-left: 10px; } @@ -126,6 +132,7 @@ #process-group-comments { height: 100px; + width: 750px; } #read-only-process-group-comments {