From: Pedro Gonzalez Gomez Date: Thu, 27 Mar 2025 01:09:02 +0000 (+0100) Subject: mgr/dashboard: add separation for service section in smb cluster form X-Git-Tag: v20.3.0~199^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=82990e1ea389b2e56b729606d7e5e4ba91dedee3;p=ceph.git mgr/dashboard: add separation for service section in smb cluster form update the form-advanced component to use a custom title to display for custom advanced section Fixes: https://tracker.ceph.com/issues/70693 Signed-off-by: Pedro Gonzalez Gomez --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.html index e0db02f92703..45a95a32b557 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.html @@ -206,205 +206,99 @@ - - -
- - - - -
- - -
- + + +
+ - - - - Hosts + + +
+ + +
+ This field is required. - -
+ +
+ + This field is required. + +
- -
- - - -
+ +
+ + + +
+
- - -
- -
- - -
-
- DNS - - -
-
- - - - -
+
+
- - -
- - One or more IP Addresses that will be - applied to the Samba containers to override - the default DNS resolver(s). This option is - intended to be used when the host Ceph node - is not configured to resolve DNS entries within - AD domain(s). - -
- -
- - - -
- - - - + +
- -
- Address - - - - - This field is required. - - -
-
+ [columnNumbers]="{ lg: 14 }"> Destination - + >DNS +
- + +
-
-
- - Assign virtual IP addresses that will be managed - by the clustering subsystem and may automatically - move between nodes running Samba containers. -
+ +
+ + One or more IP Addresses that will be + applied to the Samba containers to override + the default DNS resolver(s). This option is + intended to be used when the host Ceph node + is not configured to resolve DNS entries within + AD domain(s). + +
+ + +
+ + + +
+ + + + +
+ +
+ Address + + + + + This field is required. + + +
+ +
+ Destination + + +
+
+ + + +
+
+
+
+
+ + Assign virtual IP addresses that will be managed + by the clustering subsystem and may automatically + move between nodes running Samba containers. +
+ - @@ -9,7 +9,8 @@ - -
Advanced
+ +
{{title}}
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-advanced-fieldset/form-advanced-fieldset.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-advanced-fieldset/form-advanced-fieldset.component.ts index e4b71d10e657..722f5a8a6804 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-advanced-fieldset/form-advanced-fieldset.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-advanced-fieldset/form-advanced-fieldset.component.ts @@ -1,4 +1,4 @@ -import { Component } from '@angular/core'; +import { Component, Input } from '@angular/core'; @Component({ selector: 'cd-form-advanced-fieldset', @@ -6,5 +6,7 @@ import { Component } from '@angular/core'; styleUrls: ['./form-advanced-fieldset.component.scss'] }) export class FormAdvancedFieldsetComponent { + @Input() + title: string = 'Advanced'; showAdvanced: boolean = false; }