From: Nizamudeen A Date: Thu, 9 Jul 2026 08:14:05 +0000 (+0530) Subject: mgr/dashboard: fix all prettier warnings X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=daa89763adf599320fb89bbb1bd4d404e947c1b1;p=ceph.git mgr/dashboard: fix all prettier warnings basically ran `npm run fix:html` and commited everything Fixes: https://tracker.ceph.com/issues/77112 Signed-off-by: Nizamudeen A --- diff --git a/src/pybind/mgr/dashboard/frontend/.prettierignore b/src/pybind/mgr/dashboard/frontend/.prettierignore deleted file mode 100644 index 2d19fc766d9..00000000000 --- a/src/pybind/mgr/dashboard/frontend/.prettierignore +++ /dev/null @@ -1 +0,0 @@ -*.html diff --git a/src/pybind/mgr/dashboard/frontend/.prettierrc b/src/pybind/mgr/dashboard/frontend/.prettierrc index d9e92822716..d92e8a2f46d 100644 --- a/src/pybind/mgr/dashboard/frontend/.prettierrc +++ b/src/pybind/mgr/dashboard/frontend/.prettierrc @@ -6,6 +6,6 @@ "tabWidth": 2, "useTabs": false, "endOfLine": "lf", - "singleAttributePerLine": true, + "singleAttributePerLine": true, "htmlWhitespaceSensitivity": "css" } diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html index b19941ae0d5..813e3c42bf0 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html @@ -1,57 +1,86 @@ -
- - - + - + - + -
+
- - + +
- - + +
- + Must be greater than or equal to {{ limits['min'] }}. - + Must be less than or equal to {{ limits['max'] }}.
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.html index ec4d07e235a..bf8d2d43da6 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.html @@ -1,16 +1,22 @@ diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.html index 29937e48cd2..c7c6f0fabe4 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.html @@ -2,40 +2,56 @@
iSCSI Topology - + - - {{node?.data?.cdIcon}} - + + {{ node?.data?.cdIcon }} + {{ node?.name }}   - + {{ node?.status }}
- - + {{ value }} {{ value }} diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.html index 5bf720fe53e..90d700ed378 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.html @@ -1,127 +1,177 @@ - Discovery Authentication + Discovery Authentication -
+
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html index 694eeb3c64c..50411519940 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html @@ -1,111 +1,160 @@ -
-
+
+
-
{{ action | titlecase }} {{ resource | upperFirst }}
+
+ {{ action | titlecase }} {{ resource | upperFirst }} +
- +
- -
- This field is required. - - IQN has wrong pattern. - - - An IQN has the following notation - 'iqn.$year-$month.$reversedAddress:$definedName' -
- For example: iqn.2016-06.org.dashboard:storage:disk.sn-a8675309 -
- More information + This field is required. + + IQN has wrong pattern. + + + An IQN has the following notation + 'iqn.$year-$month.$reversedAddress:$definedName' +
+ For example: iqn.2016-06.org.dashboard:storage:disk.sn-a8675309 +
+ More information
- This target has modified advanced settings. + This target has modified advanced settings.
- +
-
- -
- - + + Add portal
- - - At least {{ minimum_gateways }} gateways are required. + + + At least {{ minimum_gateways }} gateways are required.
@@ -113,68 +162,102 @@
- +
- -
lun: {{ imagesSettings[image]['lun'] }}
- - -
- Backstore: {{ imagesSettings[image].backstore | iscsiBackstore }}.  - - This image has modified settings. + Backstore: + {{ imagesSettings[image].backstore | iscsiBackstore }}.  + + This image has modified settings.
- - - Duplicated LUN numbers. - - Duplicated WWN. + + + Duplicated LUN numbers. + + Duplicated WWN.
- - + + Add image
@@ -188,14 +271,19 @@
- - + +

@@ -203,319 +291,444 @@
-
- +
-
-
-
-
-
-
- -
-
+
+ +
+
Initiator: {{ initiator.getValue('client_iqn') }} - +
- +
- - - Initiator IQN needs to be unique. - - This field is required. - - IQN has wrong pattern. + + + Initiator IQN needs to be unique. + + This field is required. + + IQN has wrong pattern.
- +
- - This field is required. - - User names must have a length of 8 to 64 characters and can contain - alphanumeric characters, '.', '@', '-', '_' or ':'. + + This field is required. + + User names must have a length of 8 to 64 characters and can contain + alphanumeric characters, '.', '@', '-', '_' or ':'.
- +
- - - + + +
- This field is required. - - Passwords must have a length of 12 to 16 characters and can contain - alphanumeric characters, '@', '-', '_' or '/'. + This field is required. + + Passwords must have a length of 12 to 16 characters and can contain + alphanumeric characters, '@', '-', '_' or '/'.
-
-
- +
- - - + + +
- This field is required. - - Passwords must have a length of 12 to 16 characters and can contain - alphanumeric characters, '@', '-', '_' or '/'. + This field is required. + + Passwords must have a length of 12 to 16 characters and can contain + alphanumeric characters, '@', '-', '_' or '/'.
- +
- -
- Initiator belongs to a group. Images will be configure in the group. + Initiator belongs to a group. Images will be configure in the group. -
+
- - + + Add image
@@ -527,16 +740,22 @@
- No items added. - -
@@ -547,69 +766,94 @@
-
- -
-
+
+ +
+
Group: {{ group.getValue('group_id') }} - +
- +
- +
-