Use new style for help in Angular ModalFormService
ModalFormService (horizon.framework.widgets.form.ModalFormService,
used in create key pair dialog or create user dialog) and WizardModalService
(horizon.framework.widgets.modal.wizard-modal.service, used in create instance
dialog or create image dialog) are used in dialogs for create/edit/etc in Angularized
panel. But their help descriptions are shown in different style.
Angularization proposes new look and feel, so ModalFormService should follow
new style for help description like WizardModalService.
This patch proposes new style for help in dialogs that uses ModalFormService.
And "?" button for opening help panel is overlaped on input field on the first row,
so this patch moves it up little bit.
In this new style, if the help contents is too simple, it is not needed to
make description space in the right harf of dialog for looks consistency,
it is prefer not to add help panel, i.e. simply do not show "?" button.
Reviewed: https:/ /review. openstack. org/581618 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=f5666eed009 be13d710f342095 4a9cfbb4378c88
Committed: https:/
Submitter: Zuul
Branch: master
commit f5666eed009be13 d710f3420954a9c fbb4378c88
Author: Shu Muto <email address hidden>
Date: Wed Jul 11 16:56:52 2018 +0900
Use new style for help in Angular ModalFormService
ModalFormSe rvice (horizon. framework. widgets. form.ModalFormS ervice, framework. widgets. modal.wizard- modal.service, used in create instance
used in create key pair dialog or create user dialog) and WizardModalService
(horizon.
dialog or create image dialog) are used in dialogs for create/edit/etc in Angularized
panel. But their help descriptions are shown in different style.
Angularization proposes new look and feel, so ModalFormService should follow
new style for help description like WizardModalService.
This patch proposes new style for help in dialogs that uses ModalFormService.
And "?" button for opening help panel is overlaped on input field on the first row,
so this patch moves it up little bit.
In this new style, if the help contents is too simple, it is not needed to
make description space in the right harf of dialog for looks consistency,
it is prefer not to add help panel, i.e. simply do not show "?" button.
Change-Id: Ia720180c7aaef1 f3d9c5e24dbebe3 fe2d796d6c7
Closes-Bug: #1781151