Daniel Erez has uploaded a new change for review. Change subject: webadmin: style for discover button in DiscoverTargetsView ......................................................................
webadmin: style for discover button in DiscoverTargetsView * Added a style for 'Discover Targets' button (to override default style). * Amended style of the message label. Change-Id: I06aadea871fb9b3c7edf613f78503c09a93de3d1 Signed-off-by: Daniel Erez <[email protected]> --- M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.java M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.ui.xml 2 files changed, 10 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/30/29030/1 diff --git a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.java b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.java index e8104d5..3199333 100644 --- a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.java +++ b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.java @@ -129,6 +129,8 @@ chapUserEditor.addLabelStyleName(style.chapLabel()); chapPassEditor.addLabelStyleName(style.chapLabel()); + discoverTargetsImageButton.setStylePrimaryName(style.discoverTargetsButton()); //$NON-NLS-1$ + SafeHtml expanderImage = SafeHtmlUtils .fromTrustedString(AbstractImagePrototype.create( resources.expanderImage()).getHTML()); @@ -253,6 +255,8 @@ String collapsedDiscoverTargetsPanel(); String expandedDiscoverTargetsPanel(); + + String discoverTargetsButton(); } } diff --git a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.ui.xml b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.ui.xml index b535ca3..7dd0e48 100644 --- a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.ui.xml +++ b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/IscsiDiscoverTargetsView.ui.xml @@ -85,7 +85,7 @@ .messageLabel { color: red; font-size: 9px; - width: 500px; + width: 100%; padding-left: 5px; padding-right: 5px; padding-top: 1px; @@ -100,7 +100,11 @@ width: 225px; text-align: right; } - </ui:style> + + .discoverTargetsButton { + margin: 2px; + } + </ui:style> <g:FlowPanel> <g:HorizontalPanel ui:field="discoverTargetsLabelPanel" addStyleNames="{style.discoverTargetsLabelPanel}"> -- To view, visit http://gerrit.ovirt.org/29030 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I06aadea871fb9b3c7edf613f78503c09a93de3d1 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Daniel Erez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
