From 32d7978c9efe9d2563e101c53daf658e9603f37b Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 16 Oct 2024 19:15:53 +0300 Subject: [PATCH] Flex layout replacements. Switch to tailwind.css. --- ...scada-symbol-behavior-panel.component.html | 6 ++--- .../scada-symbol-behaviors.component.html | 7 +++-- .../scada-symbol-metadata-tags.component.html | 5 ++-- .../scada-symbol-metadata.component.html | 20 +++++++------- .../scada-symbol-properties.component.html | 7 +++-- ...scada-symbol-property-panel.component.html | 4 +-- .../scada-symbol-editor.component.html | 10 +++---- .../scada-symbol/scada-symbol.component.html | 22 ++++++++-------- .../pages/security/security.component.html | 26 +++++++++---------- ui-ngx/tailwind.config.js | 15 ++++++++--- 10 files changed, 63 insertions(+), 59 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-behavior-panel.component.html b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-behavior-panel.component.html index 849a8661ab..9494fb8092 100644 --- a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-behavior-panel.component.html +++ b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-behavior-panel.component.html @@ -92,7 +92,7 @@
scada.behavior.default-settings
-
scada.behavior.default-settings
-
scada.behavior.default-settings
- - drag_indicator @@ -60,6 +60,5 @@
- {{ 'scada.behavior.no-behaviors' | translate }} + {{ 'scada.behavior.no-behaviors' | translate }} diff --git a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata-tags.component.html b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata-tags.component.html index 32bb345ecf..c8f900ce54 100644 --- a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata-tags.component.html +++ b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata-tags.component.html @@ -24,7 +24,7 @@
- @@ -35,6 +35,5 @@
- {{ 'scada.tag.no-tags' | translate }} + {{ 'scada.tag.no-tags' | translate }} diff --git a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata.component.html b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata.component.html index 67c77f7f2a..c505546286 100644 --- a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata.component.html +++ b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-metadata.component.html @@ -25,17 +25,17 @@
-
+
scada.title
- +
scada.description
- + @@ -43,8 +43,8 @@
scada.search-tags
-
- +
scada.widget-size
-
+
{{ 'scada.cols' | translate }}
- + {{ 'scada.state-render-function' | translate }} @@ -89,7 +89,7 @@
-
+
-
+
-
+
diff --git a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-properties.component.html b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-properties.component.html index 1b553a5130..684609937e 100644 --- a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-properties.component.html +++ b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-properties.component.html @@ -30,7 +30,7 @@
- drag_indicator @@ -59,6 +59,5 @@
- {{ 'scada.property.no-properties' | translate }} + {{ 'scada.property.no-properties' | translate }} diff --git a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-property-panel.component.html b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-property-panel.component.html index 6090a9504e..94efffca85 100644 --- a/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-property-panel.component.html +++ b/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-property-panel.component.html @@ -83,7 +83,7 @@
scada.property.number-settings
-
+
scada.property.min
- + {{ 'scada.property.advanced-ui-settings' | translate }} diff --git a/ui-ngx/src/app/modules/home/pages/scada-symbol/scada-symbol-editor.component.html b/ui-ngx/src/app/modules/home/pages/scada-symbol/scada-symbol-editor.component.html index 3ece699a83..8f75949a47 100644 --- a/ui-ngx/src/app/modules/home/pages/scada-symbol/scada-symbol-editor.component.html +++ b/ui-ngx/src/app/modules/home/pages/scada-symbol/scada-symbol-editor.component.html @@ -15,11 +15,11 @@ limitations under the License. --> -
-
+
+
-
+
@@ -27,7 +27,7 @@
-
+
-
+
-
+
-