82 Commits

Author SHA1 Message Date
Jessica Wang
3c6258a0bf Clear right panel after middle menu item is removed from DOM. Otherwise, removed item's content will be populated to right panel again. 2011-01-13 14:27:48 -08:00
Jessica Wang
fb04b04835 pod page, zone page - not update right panel after an action succeeds since the action might not belong to currently selected middle menu item. 2011-01-13 09:40:42 -08:00
Jessica Wang
ef66993779 Pod page - cluster dropdown field - no need to specify 1st entry selected. 1st entry is always selected if no entry is set to be selected. 2011-01-04 16:48:37 -08:00
Jessica Wang
215d894414 Pod page - add host dialog, add primary storage dialog - validate cluster dropdown (cluster value is required). 2011-01-04 16:09:16 -08:00
Jessica Wang
d867825e66 resource page - add host dialog, add primary storage dialog - validate cluster dropdown (cluster value is required). 2011-01-04 14:58:30 -08:00
Jessica Wang
3f60e579f7 bug 7823: refresh data binding when clicking each primary storage node (since each primary storage has different cluster info). 2011-01-03 16:30:08 -08:00
Jessica Wang
a9aa592df2 zone page, resource page - expand newly created cluster node automatically after a cluster is created successfully. 2010-12-30 19:30:53 -08:00
Jessica Wang
3b48f866be Cluster page - fix a bug that showed wrong field ("vCenter Datacenter", "vCenter Datastore") in Add Primary Storage dialog. 2010-12-30 18:52:24 -08:00
Jessica Wang
7919c7f938 expand newly created cluster node automatically after created. 2010-12-30 18:02:57 -08:00
Jessica Wang
5c1ceb4bf1 cluster page - after adding a host, cluster node will expand and host node will be clicked automatically. 2010-12-30 17:46:16 -08:00
Jessica Wang
8f67f58058 fix a bug that AddHostDialog/AddPrimaryStorageDialog didn't work when middle menu is empty. 2010-12-30 17:38:54 -08:00
Jessica Wang
0919b54488 Add Cluster - pod node becomes expandable if it's not after adding a cluster. 2010-12-30 17:10:03 -08:00
Jessica Wang
bcab9e5d0d AddCluster API return an array of embedded objects. This is related UI change. 2010-12-30 16:59:50 -08:00
Jessica Wang
f89fb73571 Add host dialog - remove cluster section (new cluster, existing cluster, standalone cluster). 2010-12-30 16:36:28 -08:00
Jessica Wang
1e6c16e294 physical resource - (1) always show host node and storage node even the cluster doesn't have any host/storage. (2) host page - remove Add Primary Storage option. (3) Primary Storage page - remove Add Host option. 2010-12-30 13:13:44 -08:00
Jessica Wang
e6cdb1a93b zonetree - hide storage node if there is no primary storage under a cluster. 2010-12-29 21:21:50 -08:00
Jessica Wang
a73b9dd7fb cluster page - Add Host dialog - fix a bug that Join cluster field didn't have right default value (default value should be the cluster that's currently on) 2010-12-29 21:00:55 -08:00
Jessica Wang
84ffea0599 host page - after adding a primary storage, select storage node to show the newly created storage. 2010-12-29 20:18:32 -08:00
Jessica Wang
b46b3918ef zone page - after adding a host, expand cluster node to show host node. 2010-12-29 19:10:02 -08:00
Jessica Wang
3e70151dad bug 7701: host page - do not switch tab when clicking add primary storage button. 2010-12-29 15:11:06 -08:00
Jessica Wang
9912fe8f09 bug 7701: pod page - after adding primary storage - add new storage node under cluster node. 2010-12-29 15:05:13 -08:00
Jessica Wang
abdd6e7426 bug 7701: pod page - after adding host, cluster node will be added and expanded and host node will be added under cluster node. 2010-12-29 14:36:54 -08:00
Jessica Wang
73194c2484 bug 7701: optimize bindAddClusterButton(). 2010-12-29 12:34:37 -08:00
Jessica Wang
6541c3ba2a bug 7701: optimize bindAddHostButton(), bindAddPrimaryStorageButton(). 2010-12-29 12:27:53 -08:00
Jessica Wang
2eb2024781 bug 7701: primary storage page - fix a bug that Add Host dialog didn't populate cluster dropdown field. 2010-12-29 12:17:04 -08:00
Kelven Yang
870ad08744 Bug 7709, forgot to update host.jsp and also a copule fixes in validation 2010-12-27 18:29:35 -08:00
Kelven Yang
0445358321 Bug 7709: let addPrimaryStorage be aware of hypervisors and do it smartly 2010-12-27 17:53:52 -08:00
Kelven Yang
de1d879008 fix typo in addHost dialog 2010-12-21 16:48:44 -08:00
Jessica Wang
6a1a88be5f pod page - clear grid header title after deleting a pod. 2010-12-21 14:09:32 -08:00
Kelven Yang
228eba363b Add clustertype field to response of ListHostCmd. Improve UI display related with cluster/host 2010-12-20 14:08:59 -08:00
will
b4029d0a49 Fixed guest ip range display issue 2010-12-20 14:08:55 -08:00
Jessica Wang
c7fb7f3aa3 Pod page - change network tab to IP Allocation tab. 2010-12-20 10:35:30 -08:00
Jessica Wang
09138f3173 Pod page - show "Add IP Range" option if its zone is in basic-mode. 2010-12-20 10:29:04 -08:00
Jessica Wang
5e8be4a431 Place Add XXX buttons in each related page instead of index.jsp. 2010-12-18 17:04:17 -08:00
Jessica Wang
e71f6cb547 Pod page - correct CIDR to netmask. 2010-12-17 20:26:13 -08:00
Kelven Yang
f92482fabf add clustertype and hypervisortype to ListClusterCmd API, improve addHost UI to deal with multi-hypervisor 2010-12-17 19:41:35 -08:00
Kelven Yang
e03693f0aa Make AddClusterCmd API generic to all hypervisors, change UI accordingly also 2010-12-17 16:30:27 -08:00
Jessica Wang
68f8f1ccf7 Network page - initialize JQuery dialog only when new JSP file is being loaded into right panel. 2010-12-17 11:48:06 -08:00
Kelven Yang
bef989c47f refresh UI correctly after adding external cluster 2010-12-17 10:50:26 -08:00
Jessica Wang
18762b397d Zone Tree - load JSP file into right panel only when clicking different type of node in zone tree. 2010-12-17 10:30:35 -08:00
Kelven Yang
4a6933fa9e 1) Enable addExternalCluster API command
2) UI changes for new addExternalCluster API command (for vmware)
2010-12-16 16:40:32 -08:00
Jessica Wang
1433c3ad6c We no longer place primary storage in middle menu. Here is related UI change. 2010-12-16 15:16:12 -08:00
Jessica Wang
b1d50a4abe Host page - After creating primary storage, add a subgrid item in primary storage tab in host page (instead of adding a new item in middle menu) 2010-12-16 13:58:17 -08:00
Kelven Yang
912cfef63c Let selection of hypervisor type when adding a host 2010-12-15 17:06:49 -08:00
Kelven Yang
7f199c5b71 Add VMFS (iscsi) storage support in UI for vmware 2010-12-15 15:21:25 -08:00
Jessica Wang
e393e15f7a fix a bug that "no items available" was not removed when primary storage was created. 2010-12-03 11:19:28 -08:00
Jessica Wang
34f660b403 replace noNull() with fromdb(). 2010-12-01 11:06:52 -08:00
Jessica Wang
cad49264e0 replace encodeURIComponent() with todb(). 2010-12-01 10:50:44 -08:00
Jessica Wang
8157294597 new UI - Pod page - implement refresh button. 2010-11-29 17:14:30 -08:00
Jessica Wang
6198d6ec73 new UI - pod page - get json object from middle menu item instead of details tab. 2010-11-24 17:13:36 -08:00