Commit Graph

190 Commits

Author SHA1 Message Date
Brian Federle 1ac86e96cb Quick view UI: Fix to support multiple quick links
There was previously a limitation in the detail view/quickview where
only 1 'view all' link was visible per page. Change this to show n
number of view all links, if an array is passed to 'viewAll.' This also
lowers the # of clicks necessary to navigate to some items.

This also adds more view all buttons to instances, storage, and system
resources.
2013-02-21 15:09:03 -08:00
Pranav Saxena 534f5540a3 scale UP CPU and memory UI 2013-02-22 02:16:20 +05:30
Pranav Saxena b091ea6ead scale UP CPU and memory UI 2013-02-22 02:07:08 +05:30
Mice Xia 9a12756ae4 CLOUDSTACK-684 support vm snapshot 2013-02-14 01:26:30 +08:00
Pranav Saxena 30dd34d258 CLOUDSTACK-588:restoreVirtualMachine api functionality on the UI while the VMs are in running or stopped state 2012-12-06 02:35:49 +05:30
Pranav Saxena 1d0a1adb8e CLOUDSTACK-546:Guest vms which are in expunging state should be displayed 2012-11-28 15:34:28 +05:30
Jessica Wang 46cec7342a CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Instance menu - instance detailView - show SecurityGroups tab for Advanced SG-Enabled zone. 2012-11-27 15:09:55 -08:00
Pranav Saxena ed5bd846e8 CLOUDSTACK-550:Getting TypeError: items is undefined error in UI when we click on Instances tab while no instances are launched yet:Handling the null case for items 2012-11-27 17:29:50 +05:30
Pranav Saxena 8d4400946d CLOUDSTACK-546:Guest vms which are in expunging state should not be displayed in UI:Fixed by changing the response to blank in case of an expunging state 2012-11-27 07:23:20 +05:30
Jessica Wang de1fd5d0a8 CS-16573: cloudstack UI - create template from VM - encode data passed to API call. 2012-10-24 14:52:53 -07:00
Jessica Wang afeced1e43 CS-16573: cloudstack UI - update instance - encode data passed to API call. 2012-10-24 14:52:13 -07:00
Jessica Wang f4d085d609 CS-16486: cloudstack UI - listView dataProvider - not to pass details=min as default. 2012-10-16 11:05:06 -07:00
Jessica Wang ff8fccccb2 CS-16326: cloudstack UI - instance page - listView - (1) the column that maps to name property in API response is labelled as "Name" instead of "Host Name".
(2) add back Internal Name column for root-admin.
2012-10-16 10:01:15 -07:00
Brian Federle 991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07:00
Jessica Wang 7af3f6ef94 cloudstack 3.0 UI - instance page - listView - not pass details=min to API call since nic and securitygroup info is needed here. 2012-10-05 15:21:47 -07:00
Jessica Wang 7b1b9f8e95 cloudstack UI - advanced search - dropdown field - check API permission before making API call. 2012-10-04 17:17:28 -07:00
Jessica Wang 939e060e2e cloudstack UI - advanced search on instance page - domain field - add blank option, so admin has a choice to see all domains instead of being forced to stick with one domain for each search. 2012-10-04 12:34:30 -07:00
Jessica Wang f7667e8a88 cloudstack UI - dialog widget - (1) extend field's isHidden property to have function type other than boolean type. (2) do not call field's select function if field's isHidden property is false. 2012-10-04 12:12:19 -07:00
Jessica Wang 92864aa023 cloudstack UI - advanced search - instance page - add name field, zone dropdown, tag key field, tag value field. 2012-10-02 16:47:55 -07:00
Jessica Wang 56496a235f cloudstack UI - advanced search - implement advanced search on instance page which has filter dropdown in listView. 2012-10-02 16:38:23 -07:00
Brian Federle d266ac9f84 Instances details: Show host name 2012-09-28 12:17:52 -07:00
Brian Federle 6366eeec36 CLOUDSTACK-178: Show VM host name instead of internal name 2012-09-28 12:11:24 -07:00
Jessica Wang 8737762bde apache jira CLOUDSTACK-86: cloudstack UI - Instances page - NICs tab - fix a bug that got networkname from a wrong position in array of args.context.instances[0].nic. To correct and simplify it, use API response of "listVirtualMachines&details=nics&id=N" instead of API response of "listVirtualMachines&id=N" in $.map(). 2012-09-13 14:17:03 -07:00
Pranav Saxena eb116b6ecb CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button) 2012-08-02 14:22:53 +05:30
Brian Federle 3622039feb CS-15620
Fix edit instance 'displayname' parameter not being sent over, even if
content was updated.
2012-07-30 15:17:06 -07:00
Pranav Saxena 36fc2bd9b5 CS-15044:API changes and UI changes to provide option to view the name of the guestnetwork a virtual machine belongs 2012-07-31 02:57:46 +05:30
Pranav Saxena ab6ef4bceb TAGS feature implementation throughout CloudStack UI 2012-07-24 15:07:43 -07:00
Brian Federle 2fe2a0e2fb Fix missing actionFilter causing instance wizard to never complete 2012-06-28 12:30:11 -07:00
Brian Federle c347c6bd09 Add base VPC UI
** Note: this is a work-in-progress, and only contains dummy content

Implement UI for managing VPC tiers, via a custom chart-like UI list
tiers and allowing the management of VMs associated with the VPCs.
2012-06-28 10:51:56 -07:00
Jessica Wang d03fb2a7e2 cloudstack 3.0 UI - (1) to distinguish between getUpdatedItem() and getUpdatedData(), rename getUpdatedData() to getUpdatedItemWhenAsyncJobFails() since it's being called only when async job fails. (2) fix the space problem (tab size is not 2) from patch. 2012-06-27 10:57:29 -07:00
olgasmola 367e32adbc CS-15329: Instances with Error states appear in Instances list after creating. 2012-06-26 16:28:59 -07:00
David Nalley 9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
olgasmola e48ebf07a8 Make templates or Isos calls when setup new instance on templates tab. 2012-06-20 18:13:18 -07:00
Jessica Wang 89f704d88c CS-13739: localize more labels 2012-05-23 17:21:39 -07:00
Jessica Wang 593ce7c490 CS-14989: cloudstack 3.0 UI - VM wizard - select template step - populate only templates whose hypervisor(s) are supported in the selected zone. 2012-05-23 14:15:49 -07:00
Brian Federle 083831d37f CS-14911: Fix missing 'mine' filter from instances
reviewed-by: brian

commit 98ead3ad5b9266e0f2a1b0e037a4f511d9e1e240
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Wed May 16 01:04:12 2012 +0530

    CS-14911 : mine is missing from Instance Filter
2012-05-22 11:59:05 -07:00
Jessica Wang 0282f2d8c9 cloudstack 3.0 UI - Instance page - detail view - keep polling newest info from server if VM state is Starting or Stopping. 2012-05-21 15:37:46 -07:00
Jessica Wang 512e3427bf CS-14949: cloudstack 3.0 UI - Instance page - hide Edit option when status is Running. 2012-05-18 17:05:04 -07:00
Brian Federle b4d88d50a5 Fix trailing command breaking IE 2012-05-17 12:40:57 -07:00
Brian Federle 0bc65768b7 CS-14339, CS-14241
In instance wizard, use configuration value for max. custom disk
offering size, instead of hardcoding the max size to 100 GB
2012-05-14 11:45:21 -07:00
Jessica Wang 25957ab372 CS-14737: cloudstack 3.0 UI - state column in Volume/Snapshot/Instance/SecondaryStorage/Project page - should display state value as is (i.e. as returned in API call). Shouldn't localize value returned in API call. 2012-05-04 16:37:26 -07:00
Jessica Wang 73e83b79df CS-13162: cloudstack 3.0 UI - Instance page - detail view - add "Public IP" column. 2012-04-30 16:54:21 -07:00
Jessica Wang 192b58476d CS-14338: cloudstack 3.0 UI - Restore VM action - after action completed, show "Task completed: Restore Instance" instead of "Task completed: Restoring VM: null". 2012-04-30 16:54:06 -07:00
Jessica Wang 074f553cb7 CS-14338: cloudstack 3.0 UI - instance page - Destroy VM action - change after-action message. 2012-04-25 14:14:03 -07:00
Jessica Wang b7b77cea5c CS-14559: cloudstack 3.0 UI - VM Wizard - last step - screen doesn't change, but user-entered VM name will be passed as hostname and displayname to deployVirtualMachine API. Add validation of user-entered name field to match naming rule of hostname. 2012-04-18 17:45:41 -07:00
Jessica Wang cff7ff5fc4 cloudstack 3.0 UI - instance page - attach ISO - fix a localization error. 2012-04-18 14:02:18 -07:00
Jessica Wang e32449613d CS-14142: cloudstack 3.0 UI - Instance page - show Attached ISO name instead of Attached ISO Yes/No. 2012-04-18 13:52:53 -07:00
Jessica Wang e6d064952d cloudstack 3.0 UI - statistics tab in Instance page, Host page - Network Read, Network Write - if API returns 0, show 0 instead of N/A. 2012-04-18 13:31:11 -07:00
Jessica Wang 64b45722de cloudstack 3.0 UI - deployVM action - not show dialogbox of "password of new VM xxx is yyy" if deployVirtualMachine API doesn't return password (regardless of passwordenabled property). 2012-04-17 10:35:35 -07:00
Jessica Wang 193e835717 bug 14410: cloudstack 3.0 UI - instance page - Start VM action - show vm password on screen if startVM API returns it. 2012-04-16 18:22:12 -07:00
Pranav Saxena bc8685975a Bug 14211: CS- 14211 Redundant User Instance Field in UI 2012-04-11 14:34:00 -07:00
Brian Federle 297fbc171c bug 14569
Always show 'change service' action, even when VM is running. When VM
is running, show a popup indicating user to stop VM, and do not
perform action.
2012-04-03 11:44:21 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Jessica Wang bb7811c4e0 bug 14525: cloudstack 3.0 UI - Instance page - attach ISO action - populate ISO dropdown by 3 listISOs API call with 3 different isofilter parameter. 2012-03-28 15:43:11 -07:00
Jessica Wang 1945c70805 bug 14481: cloudstack 3.0 UI - instance page - after a regular user destroys a VM, listVirtualMachines API will no longer returns this destroyed VM to the regular user. So, add additional code in dataProvider() to handle this case. 2012-03-23 15:58:58 -07:00
Jessica Wang 54b89c78d8 bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable. 2012-03-21 14:13:51 -07:00
Jessica Wang c4c68e2995 cloudstack 3.0 UI - fix a JS error "str.replace is undefined". 2012-03-14 14:36:44 -07:00
Jessica Wang 4b4cba10c7 cloudstack 3.0 UI - replace old sanitizeXSS() with new cloudStack.sanitize(). 2012-03-14 14:03:28 -07:00
Jessica Wang 4761b9ec58 cloudstack 3.0 UI - (1) listView widget - add PreFilter() to exclude fields that shouldn't show upon conditions. (2) Instance page - add new field "Internal name" (e.g. "i-3-5-JW") that only shows for root-admin. 2012-03-08 13:30:06 -08:00
Jessica Wang 389b981532 cloudstack 3.0 UI - detailView widget - refresh embedded data in corresponding list view row when dataProvider is called. 2012-02-29 17:23:36 -08:00
Jessica Wang a12f30e539 bug 13971: deployVM wizard - select network step - pass new API parameter zoneId to listNetworkOfferings API. 2012-02-23 17:18:22 -08:00
Brian Federle 3c61e205a1 bug 13965
Remove listPhysicalNetworks API altogether from network step
2012-02-23 13:47:17 -08:00
Brian Federle ee6dc038f2 bug 13965
For regular user, don't do list physical networks API call on instance
wizard
2012-02-23 12:14:47 -08:00
Jessica Wang b068b7ae83 bug 13943: deployVM wizard - select network step - get network offerings - pass specifyvlan=false 2012-02-22 17:01:10 -08:00
Jessica Wang 9f59ad15d5 deployVM wizard - select network step - get network offerings - pass istagged=true if selected zone has more than 1 guest traffic types in multiple physical networks. 2012-02-22 17:00:36 -08:00
Brian Federle 240dabea4b Navigation organizational changes
-Rename 'System' -> 'Infrastructure'

-Rename 'service offering' -> 'compute offering'
 (including all associated labels)

-Rename 'Configuration' -> 'Service Offerings'

-Move hypervisor capabilities under global settings

-Rename 'Compute' -> 'Compute and storage'
2012-02-21 18:54:43 -08:00
Brian Federle 17b34f4678 bug 13866
Display public IP on VM details panel if static NAT is enabled for
that VM

status 13866: resolved fixed
2012-02-21 12:31:57 -08:00
Jessica Wang f2503d2c69 instance page - edit Instance - not pass displayname to API when displayname is equal to name. 2012-02-20 17:05:04 -08:00
Jessica Wang e86b5b4407 instance page - remove name field from listView since name field has the same value of ID field (UUID). 2012-02-18 11:57:48 -08:00
Brian Federle f58cec83c6 bug 13702
Fix missing labels for instance state/actions
2012-02-17 16:01:16 -08:00
Brian Federle 4b2709ceff Add missing localization for instances.js 2012-02-16 15:42:01 -08:00
Jessica Wang e8c309b447 cloudstack 3.0 new UI - add more localization labels. 2012-02-16 13:55:56 -08:00
Jessica Wang 2e97670745 bug 13697: title in window.open() can't have space nor longer than 8 characters. Otherwise, IE browser will have error. 2012-02-15 11:25:27 -08:00
Brian Federle 82da2fc1dd Fix localization for instances filter drop-down 2012-02-14 14:46:20 -08:00
Brian Federle 67f074e867 Fix missing labels for attach/detach iso action 2012-02-14 14:01:40 -08:00
Brian Federle cd8dd8fe38 Add missing instance detail tab localization 2012-02-14 12:54:39 -08:00
Brian Federle 18d6fa6c57 bug 13618
Fix instance wizard zone name display issue in IE9 compat.

status 13618: resolved fixed
2012-02-13 10:33:37 -08:00
Brian Federle d2284e4439 UI: localization
-Put localization wrappers around listView, detailView widgets

-Add initial localization for instances section
2012-02-09 10:39:59 -08:00
Jessica Wang 5c7789f1fb bug 13461: deployVM wizard - select ISO step - fix a bug that hypervisor div didn't get removed if ISO in another tab is selected (select ISO step has 3 tabs now). 2012-02-08 20:22:22 -08:00
Jessica Wang 2756b0fdcc bug 13461: deployVM wizard - select ISO step - split one tab (All ISOs) to three tabs (Featured ISOs, Community ISOs, My ISOs) 2012-02-08 19:43:05 -08:00
Jessica Wang fa7b4816b0 cloudstack 3.0 new UI - listcapabilitiesresponse.capability.securitygroupsenabled is obsolete. Remove it from UI code. 2012-02-07 16:50:43 -08:00
Jessica Wang 107ae09acb cloudstack 3.0 new UI - Instance detail page - show/hide Security Group tab upon zone's networktype and guest network's including SecurityGroup service or not. 2012-02-07 16:37:31 -08:00
Jessica Wang 0eb583df1a cloudstack 3.0 new UI - deployVM - step 5 - (1) Show network list if it's an advanced zone. (2) Show security group list if it's a Basic zone with SecurityGroup service. (3) Show nothing if it's a Basic zone without SecurityGroup service. 2012-02-07 15:55:38 -08:00
bfederle fbf1c958db bug 12497
Fix back button causing erratic behavior, due to force re-populating
of form fields in each step; data only repopulates now if an item on a
previous step has changed.

status 12497: resolved fixed
2012-02-03 15:36:42 -08:00
Jessica Wang e8d7220ff3 bug 12728: extend listView widget to take in preFilter. filter Destroyed option from listView filters for regular user. 2012-02-01 13:29:35 -08:00
bfederle bee3efd0d2 bug 12792: Fix restore VM action
status 12792: resolved fixed
2012-02-01 09:54:52 -08:00
bfederle 472912ad70 bug 12888: Fix update row on stop VM
status 12888: resolved fixed
2012-01-30 16:06:27 -08:00
bfederle a9d427eea6 Remove unneeded success and complete messages 2012-01-30 16:02:07 -08:00
bfederle d1b0b0954a bug 13245: Fix VM listing 'mine' filter when in project
status 13245: resolved fixed
2012-01-30 15:03:58 -08:00
bfederle 45a8d4e811 bug 13364: Fix security group listing when in projects mode
status 13364: resolved fixed
2012-01-27 10:55:47 -08:00
bfederle 83bc7d1c81 Remove UI test data 2012-01-27 09:01:57 -08:00
Jessica Wang 645ebd6655 bug 13009: cloudstack 3.0 new UI - instances page - select "Running", "Stopped", "Destroyed" in top filter will also pass listAll=true to API call. 2012-01-11 11:47:34 -08:00
Jessica Wang 4d1924ca11 bug 13009: cloudstack 3.0 new UI - instances page - select "All" in top filter will pass listAll=true to API call. 2012-01-11 11:43:51 -08:00
Jessica Wang bb04f6feeb cloudstack 3.0 new UI - instance page - search - do not pass keyword parameter to API if its value is empty. 2012-01-05 13:52:19 -08:00
Jessica Wang 367605bcd2 bug 12455: cloudstack 3.0 new UI - instance page - detach ISO action - correct icon tooltip. 2012-01-04 18:21:48 -08:00
Jessica Wang a8c50dd824 bug 12147: cloudstack 3.0 new UI - host page - add "View Instances" which will display instances under the host when being clicked. 2012-01-03 15:58:30 -08:00
Jessica Wang 899f512a41 cloudStack 3.0 new UI - instance page - actions - get ID from args.context.instances[0].id instead of obsolete args.data.id 2011-12-28 16:21:47 -08:00
Jessica Wang ffdea8fd4b bug 11546: cloudstack 3.0 new UI - Stop Instance action - add "Force Stop" option. 2011-12-28 15:46:14 -08:00
Jessica Wang 43a0989230 bug 12764: cloudStack 3.0 new UI - VM wizard - basic zone - select security group step - fix a bug that appeared when only one security group is selected. 2011-12-28 14:48:13 -08:00
Jessica Wang c2c0d09154 bug 12744: cloudStack 3.0 new UI - VM Wizard - step 5 - fix data passed to args.response.success() 2011-12-23 10:44:11 -08:00