Lior Vernia has uploaded a new change for review.

Change subject: webadmin: Hide panels related to Host Network QoS
......................................................................

webadmin: Hide panels related to Host Network QoS

Due to missing capabilities on the VDSM side, this patch hides the GUI
elements related to the Host Network QoS feature, effectively making
this a "dormant" feature. It does this simply by rendering containing
panels invisible for the moment, and should be easily-revertible when
the functionality is implemented.

Change-Id: Ibd7eb87542dc460ad09615fb850cc0354375d3e3
Bug-Url: https://bugzilla.redhat.com/1043230
Signed-off-by: Lior Vernia <[email protected]>
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.ui.xml
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/98/23898/1

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 83337d0..bac9641 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
@@ -112,7 +112,7 @@
                                                                                
<e:EntityModelTextBoxOnlyEditor ui:field="mtuEditor" />
                                                                        
</g:HorizontalPanel>
                                                                        
<ge:ListModelSuggestBoxEditor ui:field="networkLabel" 
addStyleNames="{style.dependentField} {style.propertyWidth}" />
-                                                                       
<g:HorizontalPanel verticalAlignment="ALIGN_MIDDLE">
+                                                                       
<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>
diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.ui.xml
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.ui.xml
index 25ec488..2fda21b 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.ui.xml
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.ui.xml
@@ -36,7 +36,7 @@
                                                <e:EntityModelTextBoxEditor 
ui:field="address" />
                                                <e:EntityModelTextBoxEditor 
ui:field="subnet" />
                                                <e:EntityModelTextBoxEditor 
ui:field="gateway" />
-                                               <g:FlowPanel 
addStyleNames="{style.sectionStyle}" >
+                                               <g:FlowPanel 
addStyleNames="{style.sectionStyle}" visible="false" >
                                                        
<ge:EntityModelCheckBoxEditor ui:field="qosOverridden" />
                                                        <n:NetworkQosWidget 
ui:field="qosWidget" />
                                                </g:FlowPanel>


-- 
To view, visit http://gerrit.ovirt.org/23898
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd7eb87542dc460ad09615fb850cc0354375d3e3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Lior Vernia <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to