From 3a5ab479f00371db7af42eae0640d84aad2c007b Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 17 Oct 2024 11:45:35 +0300 Subject: [PATCH] Flex layout replacements. Switch to tailwind.css. --- .../custom_pretty_create_dialog_html.md | 62 +++++++-------- .../custom_pretty_edit_dialog_html.md | 76 +++++++++--------- .../custom_pretty_clone_device_html.md | 11 ++- .../custom_pretty_create_dialog_html.md | 62 +++++++-------- .../custom_pretty_create_user_html.md | 29 +++---- .../custom_pretty_create_user_js.md | 10 +-- .../custom_pretty_edit_dialog_html.md | 78 +++++++++---------- .../custom_pretty_edit_image_html.md | 10 +-- .../widget/action/mobile_process_image_fn.md | 10 +-- .../widget/editor/examples/alarm_widget.md | 6 +- .../editor/examples/latest_values_widget.md | 4 +- .../widget/editor/examples/rpc_widget.md | 2 +- .../widget/editor/examples/static_widget.md | 2 +- 13 files changed, 178 insertions(+), 184 deletions(-) diff --git a/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md b/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md index e9a2a90ef7..db3c17e0b5 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md @@ -4,9 +4,9 @@ {:code-style="max-height: 400px;"}
- +

Add entity

- + @@ -14,21 +14,21 @@
-
-
- +
+
+ Entity Name Entity name is required. - + Entity Label
-
+
-
-
- +
+
+ Latitude - + Longitude
-
- +
+ Address - + Owner
-
- +
+ Integer Value Invalid integer value. -
+
{{ (addEntityFormGroup.get('attributes.booleanValue').value ? "value.true" : "value.false") | translate }} @@ -89,11 +89,11 @@
Relations
-
-
-
-
-
+
+
+
+
+
Direction @@ -106,20 +106,20 @@
-
+
-
+
-
+
@@ -14,57 +14,57 @@
-
-
- +
+
+ Entity Name - + Entity Label
-
- +
+ Entity Type - + Type
-
-
- +
+
+ Latitude - + Longitude
-
- +
+ Address - + Owner
-
- +
+ Integer Value Invalid integer value. -
+
{{ (editEntityFormGroup.get('attributes.booleanValue').value ? "value.true" : "value.false") | translate }} @@ -74,12 +74,12 @@
Relations
-
-
+
-
-
-
+
+
+
Direction @@ -92,20 +92,20 @@
-
+
-
+
-
+
@@ -14,21 +14,21 @@
-
-
- +
+
+ Entity Name Entity name is required. - + Entity Label
-
+
-
-
- +
+
+ Latitude - + Longitude
-
- +
+ Address - + Owner
-
- +
+ Integer Value Invalid integer value. -
+
{{ (addEntityFormGroup.get('attributes.booleanValue').value ? "value.true" : "value.false") | translate }} @@ -89,11 +89,11 @@
Relations
-
-
-
-
-
+
+
+
+
+
Direction @@ -106,20 +106,20 @@
-
+
-
+
-
+
@@ -15,10 +15,9 @@
-
-
- +
+
+ Email @@ -30,25 +29,22 @@
-
- +
+ First Name
-
- +
+ Last Name
-
- +
+ User activation method @@ -60,8 +56,7 @@
-
+
-
+
-
-
{{ activationLink }}
+
+
{{ activationLink }}
@@ -14,57 +14,57 @@
-
-
- +
+
+ Entity Name - + Entity Label
-
- +
+ Entity Type - + Type
-
-
- +
+
+ Latitude - + Longitude
-
- +
+ Address - + Owner
-
- +
+ Integer Value Invalid integer value. -
+
{{ (editEntityFormGroup.get('attributes.booleanValue').value ? "value.true" : "value.false") | translate }} @@ -74,12 +74,12 @@
Relations
-
-
+
-
-
-
+
+
+
Direction @@ -92,20 +92,20 @@
-
+
-
+
-
+
@@ -13,15 +13,15 @@
-
-
+
+
-
+
' + '' + '
' + '
' + - '
' + + '
' + '
' + '' + '
' + '
' + '
' + '
' + - '
' + - '' + + '
' + + '' + '' + '
' + '' + diff --git a/ui-ngx/src/assets/help/en_US/widget/editor/examples/alarm_widget.md b/ui-ngx/src/assets/help/en_US/widget/editor/examples/alarm_widget.md index f3ba4c0590..c0126214c7 100644 --- a/ui-ngx/src/assets/help/en_US/widget/editor/examples/alarm_widget.md +++ b/ui-ngx/src/assets/help/en_US/widget/editor/examples/alarm_widget.md @@ -19,9 +19,9 @@ The **Widget Editor** will be opened, pre-populated with the content of the defa - Put the following HTML code inside the HTML tab of "Resources" section: ```html -
+
My first Alarm widget.
- +
@@ -30,7 +30,7 @@ The **Widget Editor** will be opened, pre-populated with the content of the defa diff --git a/ui-ngx/src/assets/help/en_US/widget/editor/examples/latest_values_widget.md b/ui-ngx/src/assets/help/en_US/widget/editor/examples/latest_values_widget.md index afe4f6a0e1..19f79d0962 100644 --- a/ui-ngx/src/assets/help/en_US/widget/editor/examples/latest_values_widget.md +++ b/ui-ngx/src/assets/help/en_US/widget/editor/examples/latest_values_widget.md @@ -11,9 +11,9 @@ The **Widget Editor** will open, pre-populated with the content of the default * - Put the following HTML code inside the HTML tab of "Resources" section: ```html -
+
My first latest values widget.
-
+
{{dataKeyData.dataKey.label}}:
{{(dataKeyData.data[0] && dataKeyData.data[0][0]) | date : 'yyyy-MM-dd HH:mm:ss' }}
{{dataKeyData.data[0] && dataKeyData.data[0][1]}}
diff --git a/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md b/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md index 2fa83c2062..44abed8a46 100644 --- a/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md +++ b/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md @@ -12,7 +12,7 @@ The **Widget Editor** will open, pre-populated with default **Control** template ```html
-
+
RPC method diff --git a/ui-ngx/src/assets/help/en_US/widget/editor/examples/static_widget.md b/ui-ngx/src/assets/help/en_US/widget/editor/examples/static_widget.md index 7e73b63307..d7c7901052 100644 --- a/ui-ngx/src/assets/help/en_US/widget/editor/examples/static_widget.md +++ b/ui-ngx/src/assets/help/en_US/widget/editor/examples/static_widget.md @@ -10,7 +10,7 @@ The **Widget Editor** will be opened pre-populated with the content of default * - Put the following HTML code inside the HTML tab of "Resources" section: ```html -
+

My first static widget.

{{dataKey.label}}
+ [style]="getAlarmCellStyle(alarm, dataKey)"> {{getAlarmValue(alarm, dataKey)}}