Greg Sheremeta has uploaded a new change for review. Change subject: webadmin: cleanup whitespace ......................................................................
webadmin: cleanup whitespace cleanup whitespace Change-Id: Idea899b4fe4643b4c1b5ebc4e80b0523478db000 Signed-off-by: Greg Sheremeta <gsher...@redhat.com> --- M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/EntityModelWidgetWithInfo.ui.xml M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml 2 files changed, 126 insertions(+), 126 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/30/28230/1 diff --git a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/EntityModelWidgetWithInfo.ui.xml b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/EntityModelWidgetWithInfo.ui.xml index 8029a8a..cfff6be 100644 --- a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/EntityModelWidgetWithInfo.ui.xml +++ b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/EntityModelWidgetWithInfo.ui.xml @@ -1,25 +1,25 @@ <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" - xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:ge="urn:import:org.ovirt.engine.ui.common.widget.editor.generic" - xmlns:w="urn:import:org.ovirt.engine.ui.common.widget" xmlns:d="urn:import:org.ovirt.engine.ui.common.widget.dialog"> + xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:ge="urn:import:org.ovirt.engine.ui.common.widget.editor.generic" + xmlns:w="urn:import:org.ovirt.engine.ui.common.widget" xmlns:d="urn:import:org.ovirt.engine.ui.common.widget.dialog"> - <ui:style> - .labelStyle { - width: 100%; - padding: 0 5px; - } - </ui:style> + <ui:style> + .labelStyle { + width: 100%; + padding: 0 5px; + } + </ui:style> - <g:HorizontalPanel width="100%"> - <g:cell verticalAlignment="ALIGN_MIDDLE"> - <g:HorizontalPanel width="100%"> - <ge:EntityModelLabel ui:field="label" addStyleNames="{style.labelStyle}" /> - <d:InfoIcon ui:field="infoIcon" /> - </g:HorizontalPanel> - </g:cell> - <g:cell width="230px"> - <g:Composite ui:field="contentWidget" /> - </g:cell> - </g:HorizontalPanel> + <g:HorizontalPanel width="100%"> + <g:cell verticalAlignment="ALIGN_MIDDLE"> + <g:HorizontalPanel width="100%"> + <ge:EntityModelLabel ui:field="label" addStyleNames="{style.labelStyle}" /> + <d:InfoIcon ui:field="infoIcon" /> + </g:HorizontalPanel> + </g:cell> + <g:cell width="230px"> + <g:Composite ui:field="contentWidget" /> + </g:cell> + </g:HorizontalPanel> -</ui:UiBinder> \ No newline at end of file +</ui:UiBinder> diff --git a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml index e0b5f4a..1e0424a 100644 --- a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml +++ b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml @@ -1,19 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" - xmlns:g="urn:import:com.google.gwt.user.client.ui" - xmlns:ge="urn:import:org.ovirt.engine.ui.common.widget.editor.generic" - xmlns:d="urn:import:org.ovirt.engine.ui.common.widget.dialog" - xmlns:e="urn:import:org.ovirt.engine.ui.common.widget.editor" - xmlns:we="urn:import:org.ovirt.engine.ui.webadmin.widget.editor" - xmlns:v="urn:import:org.ovirt.engine.ui.webadmin.widget.vnicProfile" - xmlns:t="urn:import:org.ovirt.engine.ui.common.widget.dialog.tab" - xmlns:w="urn:import:org.ovirt.engine.ui.common.widget" - xmlns:p="urn:import:org.ovirt.engine.ui.webadmin.widget.provider"> + xmlns:g="urn:import:com.google.gwt.user.client.ui" + xmlns:ge="urn:import:org.ovirt.engine.ui.common.widget.editor.generic" + xmlns:d="urn:import:org.ovirt.engine.ui.common.widget.dialog" + xmlns:e="urn:import:org.ovirt.engine.ui.common.widget.editor" + xmlns:we="urn:import:org.ovirt.engine.ui.webadmin.widget.editor" + xmlns:v="urn:import:org.ovirt.engine.ui.webadmin.widget.vnicProfile" + xmlns:t="urn:import:org.ovirt.engine.ui.common.widget.dialog.tab" + xmlns:w="urn:import:org.ovirt.engine.ui.common.widget" + xmlns:p="urn:import:org.ovirt.engine.ui.webadmin.widget.provider"> - <ui:with field='resources' type='org.ovirt.engine.ui.webadmin.ApplicationResources' /> + <ui:with field='resources' type='org.ovirt.engine.ui.webadmin.ApplicationResources' /> - <ui:style type="org.ovirt.engine.ui.webadmin.section.main.view.popup.AbstractNetworkPopupView.WidgetStyle"> + <ui:style type="org.ovirt.engine.ui.webadmin.section.main.view.popup.AbstractNetworkPopupView.WidgetStyle"> .generalTabTopDecorator { background-color: #D3D3D3; @@ -24,101 +24,101 @@ padding-bottom: 6px; } - .mainLabel { - font-weight: bold; - padding: 5px; - } + .mainLabel { + font-weight: bold; + padding: 5px; + } - .sectionStyle { - margin-top: 20px; - } + .sectionStyle { + margin-top: 20px; + } - .dependentField { - padding-left: 10px; - } + .dependentField { + padding-left: 10px; + } - .valueBox { - width: 100px; - } + .valueBox { + width: 100px; + } - .checkBox { - padding: 0px !important; - } + .checkBox { + padding: 0px !important; + } - .vmNetworkStyle { - padding: 0px !important; - width: auto !important; - } + .vmNetworkStyle { + padding: 0px !important; + width: auto !important; + } - .vmNetworkImage { - margin-left: 3px; - margin-top: 4px; - } + .vmNetworkImage { + margin-left: 3px; + margin-top: 4px; + } - .tree { - overflow: auto; - } + .tree { + overflow: auto; + } - .message { - color: blue; - font-size: 8pt; - padding: 5px; - } + .message { + color: blue; + font-size: 8pt; + padding: 5px; + } - .qosStyle { - margin-left: 20px; - } + .qosStyle { + margin-left: 20px; + } - .propertyWidth { - width: 340px; - } + .propertyWidth { + width: 340px; + } - .inlineLabel { - display: inline-block; - } + .inlineLabel { + display: inline-block; + } - </ui:style> + </ui:style> - <d:SimpleDialogPanel ui:field="mainPanel" width="780px" height="550px"> - <d:content> - <t:DialogTabPanel ui:field="tabPanel" height="100%" width="100%"> + <d:SimpleDialogPanel ui:field="mainPanel" width="780px" height="550px"> + <d:content> + <t:DialogTabPanel ui:field="tabPanel" height="100%" width="100%"> <t:tab> <t:DialogTab ui:field="generalTab"> <t:content> - <g:FlowPanel> - <g:FlowPanel addStyleNames="{style.generalTabTopDecorator}"> - <g:HTML ui:field="messageLabel" addStyleNames="{style.message}"/> - <e:ListModelListBoxEditor ui:field="dataCenterEditor"/> - <ge:StringEntityModelTextBoxEditor ui:field="nameEditor" /> - <ge:StringEntityModelTextBoxEditor ui:field="descriptionEditor" /> - <ge:StringEntityModelTextBoxEditor ui:field="commentEditor" /> - </g:FlowPanel> - <g:FlowPanel addStyleNames="{style.sectionStyle}"> - <g:Label ui:field="exportLabel" addStyleNames="{style.mainLabel}" /> - <ge:EntityModelCheckBoxEditor ui:field="exportEditor" /> - <e:ListModelListBoxEditor ui:field="externalProviderEditor" addStyleNames="{style.dependentField}" /> - </g:FlowPanel> - <g:FlowPanel addStyleNames="{style.sectionStyle}"> - <g:Label ui:field="mainLabel" addStyleNames="{style.mainLabel}" /> - <g:HorizontalPanel addStyleNames="{style.dependentField}"> - <ge:EntityModelCheckBoxEditor ui:field="vlanTagging"/> - <ge:IntegerEntityModelTextBoxOnlyEditor ui:field="vlanTag" /> - </g:HorizontalPanel> - <g:HorizontalPanel addStyleNames="{style.dependentField}"> - <ge:EntityModelCheckBoxEditor ui:field="isVmNetworkEditor" /> - <g:Image resource="{resources.networkVm}" addStyleNames="{style.vmNetworkImage}" /> - </g:HorizontalPanel> - <g:HorizontalPanel addStyleNames="{style.dependentField}"> - <ge:EntityModelCheckBoxEditor ui:field="hasMtuEditor"/> - <ge:IntegerEntityModelTextBoxOnlyEditor ui:field="mtuEditor" /> - </g:HorizontalPanel> - <w:EntityModelWidgetWithInfo ui:field="networkLabelWithInfo" addStyleNames="{style.dependentField} {style.propertyWidth}" width="470px" /> - <g:HorizontalPanel verticalAlignment="ALIGN_MIDDLE" visible="false"> - <e:ListModelListBoxEditor ui:field="qosEditor" addStyleNames="{style.dependentField} {style.propertyWidth}" /> - <w:UiCommandButton ui:field="addQosButton" addStyleNames="{style.qosStyle}" /> - </g:HorizontalPanel> - </g:FlowPanel> - </g:FlowPanel> + <g:FlowPanel> + <g:FlowPanel addStyleNames="{style.generalTabTopDecorator}"> + <g:HTML ui:field="messageLabel" addStyleNames="{style.message}"/> + <e:ListModelListBoxEditor ui:field="dataCenterEditor"/> + <ge:StringEntityModelTextBoxEditor ui:field="nameEditor" /> + <ge:StringEntityModelTextBoxEditor ui:field="descriptionEditor" /> + <ge:StringEntityModelTextBoxEditor ui:field="commentEditor" /> + </g:FlowPanel> + <g:FlowPanel addStyleNames="{style.sectionStyle}"> + <g:Label ui:field="exportLabel" addStyleNames="{style.mainLabel}" /> + <ge:EntityModelCheckBoxEditor ui:field="exportEditor" /> + <e:ListModelListBoxEditor ui:field="externalProviderEditor" addStyleNames="{style.dependentField}" /> + </g:FlowPanel> + <g:FlowPanel addStyleNames="{style.sectionStyle}"> + <g:Label ui:field="mainLabel" addStyleNames="{style.mainLabel}" /> + <g:HorizontalPanel addStyleNames="{style.dependentField}"> + <ge:EntityModelCheckBoxEditor ui:field="vlanTagging"/> + <ge:IntegerEntityModelTextBoxOnlyEditor ui:field="vlanTag" /> + </g:HorizontalPanel> + <g:HorizontalPanel addStyleNames="{style.dependentField}"> + <ge:EntityModelCheckBoxEditor ui:field="isVmNetworkEditor" /> + <g:Image resource="{resources.networkVm}" addStyleNames="{style.vmNetworkImage}" /> + </g:HorizontalPanel> + <g:HorizontalPanel addStyleNames="{style.dependentField}"> + <ge:EntityModelCheckBoxEditor ui:field="hasMtuEditor"/> + <ge:IntegerEntityModelTextBoxOnlyEditor ui:field="mtuEditor" /> + </g:HorizontalPanel> + <w:EntityModelWidgetWithInfo ui:field="networkLabelWithInfo" addStyleNames="{style.dependentField} {style.propertyWidth}" width="470px" /> + <g:HorizontalPanel verticalAlignment="ALIGN_MIDDLE" visible="false"> + <e:ListModelListBoxEditor ui:field="qosEditor" addStyleNames="{style.dependentField} {style.propertyWidth}" /> + <w:UiCommandButton ui:field="addQosButton" addStyleNames="{style.qosStyle}" /> + </g:HorizontalPanel> + </g:FlowPanel> + </g:FlowPanel> </t:content> </t:DialogTab> </t:tab> @@ -126,37 +126,37 @@ <t:DialogTab ui:field="clusterTab"> <t:content> <g:VerticalPanel ui:field="attachPanel"> - <g:Label ui:field="assignLabel" addStyleNames="{style.mainLabel}"/> - <g:ScrollPanel height="160px" width="100%"> - <e:EntityModelCellTable ui:field="clustersTable" /> - </g:ScrollPanel> - </g:VerticalPanel> + <g:Label ui:field="assignLabel" addStyleNames="{style.mainLabel}"/> + <g:ScrollPanel height="160px" width="100%"> + <e:EntityModelCellTable ui:field="clustersTable" /> + </g:ScrollPanel> + </g:VerticalPanel> </t:content> </t:DialogTab> </t:tab> <t:tab> <t:DialogTab ui:field="subnetTab"> <t:content> - <g:FlowPanel> - <ge:EntityModelCheckBoxEditor ui:field="createSubnetEditor" /> - <p:ExternalSubnetWidget ui:field="subnetWidget" /> - </g:FlowPanel> + <g:FlowPanel> + <ge:EntityModelCheckBoxEditor ui:field="createSubnetEditor" /> + <p:ExternalSubnetWidget ui:field="subnetWidget" /> + </g:FlowPanel> </t:content> </t:DialogTab> </t:tab> <t:tab> <t:DialogTab ui:field="profilesTab"> <t:content> - <g:FlowPanel> - <g:Label ui:field="profilesLabel" addStyleNames="{style.mainLabel}" /> - <v:VnicProfilesEditor ui:field="profilesEditor" /> - </g:FlowPanel> + <g:FlowPanel> + <g:Label ui:field="profilesLabel" addStyleNames="{style.mainLabel}" /> + <v:VnicProfilesEditor ui:field="profilesEditor" /> + </g:FlowPanel> </t:content> </t:DialogTab> </t:tab> </t:DialogTabPanel> - </d:content> - </d:SimpleDialogPanel> - + </d:content> + </d:SimpleDialogPanel> + </ui:UiBinder> -- To view, visit http://gerrit.ovirt.org/28230 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idea899b4fe4643b4c1b5ebc4e80b0523478db000 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Greg Sheremeta <gsher...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches