Commit Graph

132 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
Jessica Wang 2e00c539b7 bug 7257: Pod page - pod node in tree gets updated when right panel is updated. (merge from 2.2.beta1 branch to master branch) 2010-11-23 20:14:26 -08:00
Jessica Wang 8666fb3fc4 new UI - Add Direct IP Range dialog box - add new field "guest gateway". (merge from 2.2.beta1 branch to master branch) 2010-11-23 16:55:36 -08:00
Jessica Wang 85cc68a742 bug 7253: show error message when addnig host fails. (merge from 2.2.beta1 branch to master branch) 2010-11-23 16:34:11 -08:00
Jessica Wang 489f4909b4 new UI - cluster page - fix a bug that zone name and pod name didn't show in Add Host dialog, Add Primary Storage dialog. 2010-11-19 11:49:43 -08:00
Jessica Wang ae1274e976 bug 7064: resource pages - give every addXXX action a dedicate button. 2010-11-19 11:23:49 -08:00
Jessica Wang 3bada61491 bug 7062: add primary storage dialog - changing protocol (NFS, ISCSI) will hide/show different fields. 2010-11-18 19:57:53 -08:00
Jessica Wang 71141bcd5b new UI - Edit Zone - not call updatePod API if nothing is changed. 2010-11-18 19:21:50 -08:00
Jessica Wang 8c8188afec bug 7151: cluster page - add "Add Host", "Add Primary Storage" option. 2010-11-17 15:18:09 -08:00
Jessica Wang d491490cde bug 7038: Pod page - Add Direct IP Range dialog - remove gateway field. Get gateway value from pod. 2010-11-17 14:18:52 -08:00
Jessica Wang 745d3e816d bug 7206: pod page - use zone's network type ("Basic", "Advanced") to decide what to show/hide. 2010-11-17 10:38:32 -08:00
Jessica Wang b577015795 new UI - zone page, pod page - clicking Add VLAN, Add Secondary storage will show corresponding tab. 2010-11-16 16:39:52 -08:00
Jessica Wang c88ead415f bug 7038: Pod page - has option to Add Direct IP Range if its zone is basic-mode. 2010-11-16 16:24:30 -08:00
Jessica Wang fa2b3e70a3 new UI - to keep comma, not escape tags input. 2010-11-16 11:17:15 -08:00
Jessica Wang d7a56c838d bug 7152: refresh cluster dropdown field after adding host fails. 2010-11-15 16:23:30 -08:00
Jessica Wang 8b106c7271 new UI - apply noNull() or fromdb() to all fields that get value from API. 2010-11-15 14:05:39 -08:00
Jessica Wang c8a0cd13e1 new UI - pod page - network tab - add "Delete VLAN" action link. 2010-11-12 10:43:30 -08:00
Jessica Wang a22ed1f952 new UI - Pod page - hide network tab if VLAN is not at pod-level. 2010-11-11 20:31:22 -08:00
Jessica Wang 856b5d1581 new UI - Pod page - add network tab that list Guest IP Range. 2010-11-11 19:29:16 -08:00
will 3514d59f45 bug 7095: cluster name can no longer be null when adding into a new cluster pool
status 7095: resolved fixed
2010-11-10 19:46:38 -08:00
will 21f8bfde8b bug 7103: fixed session timeout error handling of all AJAX calls. You will now properly timeout. 2010-11-08 21:15:55 -08:00
Jessica Wang 2c48c8e267 new UI - Pod page - Delete Pod - slowly slide up middle menu item and remove element from DOM. 2010-11-08 20:09:23 -08:00
will eeb98499d5 bug 7059: fixed more JS to accomodate new api output. 2010-11-05 20:58:00 -07:00
will bcb53ec363 bug 7059: Fixing adding primary and secondary storage to use new api output. 2010-11-05 20:30:55 -07:00
Jessica Wang 853f6610c2 new UI - change function names since the 2 functions are not only used by details tab, but also other tabs (e.g. resource limits tab). 2010-11-05 10:14:11 -07:00
Jessica Wang f6d3aff25e new UI - update pod - embedded object was just added in API return. This is corresponding UI change. 2010-11-03 19:48:35 -07:00
Jessica Wang f9f40d3a4c new UI - implement Edit Pod action. 2010-11-03 17:01:29 -07:00
Jessica Wang 5b879096d7 new UI - add grid header title. 2010-11-02 16:08:03 -07:00
Jessica Wang 95c99a5c6e new UI - if adding primary storage on a closed pod node (not showing cluster node under), pod node will be expanded and cluster node will be clicked after action succeeds. 2010-11-02 16:00:01 -07:00
Jessica Wang 33d620cf2c new UI - add host - default cluster dropdown to host's cluster or primary storage's cluster (depending on which page you are on). 2010-11-02 14:32:43 -07:00
Jessica Wang b8e2c8c86d new UI - add primary storage - default cluster dropdown to host's cluster or primary storage's cluster. 2010-11-02 14:25:59 -07:00
Jessica Wang 686928aef7 new UI - add primary storage - if on cluster node, add newly created primary storage to middle menu and remove "no items available" if there is. 2010-11-02 13:31:42 -07:00
will 034ec649a0 Did some renaming of the javascript files in new 2.2 UI. 2010-11-01 22:52:12 -07:00