This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acm.upgrade.bottomPanel = new Ext.Panel({ | |
id: 'acm.upgrade.bottomPanel', | |
labelAlign: 'top' | |
,frame:true | |
,layout: 'fit' | |
,items: [{ | |
layout: 'column' | |
,items: [{ | |
columnWidth: .10 | |
,layout: 'form' | |
,buttons: [{ | |
id: 'upgrade-add-clients-btn' | |
,text: 'Add Clients' | |
,qtip: 'Add Clients' | |
,listeners: { | |
click: function() { | |
Ext.getCmp('acm-upgrade-card-panel').layout.setActiveItem( acm.upgrade.client.listPanel ); | |
acm.upgrade.client.store.load({ | |
params: { | |
gridIds: 'ALL' | |
,page: 1 | |
,rows: 10 | |
,start: 0 | |
} | |
}); | |
acm.upgrade.client.listPanel.doLayout(); | |
} | |
} | |
}] | |
},{ | |
layout: 'form' | |
,columnWidth: .10 | |
,flex: 1 | |
},{ | |
columnWidth: .80 | |
,layout: 'form' | |
,buttons: [{ | |
id: 'upgrade-change-version-btn' | |
,text: 'Change Version' | |
,qtip: 'Change Version' | |
,listeners: { | |
click: function() { | |
var versionWindow = getVersionWindow(); | |
versionWindow.show(); | |
} | |
} | |
},{ | |
id: 'upgrade-start-upgrade-btn' | |
,text: 'Start Upgrade' | |
,qtip: 'Start Upgrade' | |
,listeners: { | |
click: function() { | |
Ext.Msg.alert("Alert", "Under Development", null); | |
} | |
} | |
}] | |
}] | |
}] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code written by someone else, for discussion about style see http://gist.github.com/357981#comments