128 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
Marcus Sorensen
4f274d0b8e Summary: resizeVolume needs to be available in UI
Detail: Adds UI element for resizing a volume

BUG-ID: CLOUDSTACK-644
Reported-by: hongtu_zang@tcloudcomputing.com
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360091087 -0700
2013-02-05 12:04:47 -07:00
Jessica Wang
d1493880f0 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - apply action filter back. 2012-10-24 14:54:00 -07:00
Jessica Wang
145d0a7f76 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - encode data passed to API call. 2012-10-24 14:53:42 -07:00
Jessica Wang
9372171af1 CS-16573: cloudstack UI - create volume - encode data passed to API call. 2012-10-24 14:50:46 -07:00
Brian Federle
8bb273de8f Add tooltips to form fields
-Adds tooltips to all dialog-based form fields, to describe what each
 field represents. The tooltip appears on focus of the field, and
 hides once the field is blurred.

-Documentation content is pulled from a new namespace
 'cloudStack.docs', under docs.js. A new attribute, 'docID' is then
 specified on each createForm field to link the field to a specific
 tooltip string.

-If no docID is specified, then no tooltip is rendered.

-This only applies to the 'generic' forms that are rendered using the
 createForm widget

-This still needs to be localized

Conflicts:
	ui/index.jsp
	ui/scripts/configuration.js
	ui/scripts/network.js
	ui/scripts/ui/dialog.js
	ui/scripts/vpc.js
2012-10-22 15:18:22 -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
10d1a0cc6b cloudstack UI - advanced search on snapshot page - add domain dropdown, account text field. 2012-10-04 13:58:45 -07:00
Jessica Wang
90f608d216 cloudstack UI - advanced search on volume page - add domain dropdown, account text field. 2012-10-04 13:50:53 -07:00
Jessica Wang
18a09c9664 cloudstack UI - advanced search - implement advanced search on snapshot page. 2012-10-02 17:03:23 -07:00
Jessica Wang
c7c6d23762 cloudstack UI - advanced search - add a new shared function listViewDataProvider() to deal with data parameter passed to API call in listView. 2012-10-02 15:40:34 -07:00
Jessica Wang
71355c1941 cloudstack UI - advanced search - volume page - add domain dropdown, account field. 2012-10-02 15:40:00 -07:00
Jessica Wang
6266fcb8f7 cloudstack UI - advanced search - show advanced search icon on listView only when advSearch property is specified. 2012-10-02 15:39:14 -07:00
Jessica Wang
3187bc6d30 cloudstack UI - advanced search - add Tag Key field, Tag Value field in advanced search in volume page. 2012-10-01 16:58:33 -07:00
Saksham Srivastava
63f7c12333 no error message when we upload volume whose size is greater than storage.max.volume.upload.size value 2012-10-01 22:54:39 +05:30
Jessica Wang
45360b7a57 cloudstack UI - advanced search - introduce new property "advSearchFields" to lsitViewData. 2012-09-26 15:17:00 -07:00
Jessica Wang
d09b46751c cloudstack UI - advanced search - extend listView widget to pass data on Advanced Search Dialog to data provider. 2012-09-26 11:04:39 -07:00
Koushik Das
65eeeaf071 CS-14277
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
    Following changes are made:
    - Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
    - Create/delete of data volume on local storage
    - Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
    - Migration of VM instance is not supported if it uses local root or data volumes.
    - Migrate is not supported for local volumes.
    - Zone level config to enable/disable local storage usage for service and disk offerings.
    - Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
    - Deploy VM command validates service and disk offerings based on local storage config.
    - Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:22:43 +05:30
Pranav Saxena
250501c56d CS-14907:Download volume option to be present only if it is in READY state since it has moved to the primary storage 2012-08-01 10:58:22 +05:30
Pranav Saxena
ab6ef4bceb TAGS feature implementation throughout CloudStack UI 2012-07-24 15:07:43 -07:00
Brian Federle
b70bc92f46 CS-14907: Only allow download volume for uploaded volumes
This fixes an issue where an uploaded volume that hasn't been moved to
primary storage yet is downloaded, causing an error. This adjusts the
actionFilter to fix this.

Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
reviewed-by: Brian Federle <brian.federle@citrix.com>
2012-07-02 10:41:35 -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
Brian Federle
d64adf1913 Remove trailing comma 2012-05-22 12:33:49 -07:00
Brian Federle
f4b70e5f6e CS-15045
commit 7859d289debae622a15fdb6bda854a8936fd35cb
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Tue May 22 23:29:31 2012 +0530

    UI does not support RAW format when hypervisor used is OVM in upload volumes
2012-05-22 11:19:19 -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
62c456501a CS-15015: cloudstack 3.0 UI - detailView widget - add new property "pollAgainIfValueIsIn" to keep polling newest info from server when a column has a specific value (e.g. volume state column has value 'UploadNotStarted') 2012-05-21 14:04:15 -07:00
Jessica Wang
f38b823631 CS-15015: cloudstack 3.0 UI - Volume page - Upload Volume action - API has been changed from sync to async. Here is related UI change. 2012-05-21 10:48:03 -07:00
Jessica Wang
ba2eb092b4 CS-14905: volume page - Attach Disk action - Instance dropdown - (1) Populate all instances when volume's hypervisor is "None". (2) Populate only instances whose hypervisor matches this volume's hypervisor when volume's hypervisor is not "None". 2012-05-16 14:26:13 -07:00
Jessica Wang
1347b2218c CS-14905: volume page - Attach Disk action - Instance dropdown - populate only instances whose hypervisor matches this volume's hypervisor. 2012-05-15 15:20:53 -07:00
Jessica Wang
bed7b25ba8 CS-14760: volume page - (1) no actions are available when volume state is Uploading. (2) only remove action is available when volume state is UploadError. 2012-05-10 11:32:07 -07:00
Jessica Wang
5d27f2c886 CS-14761: volume page - make migration action available only when volume state is Ready. 2012-05-10 11:15:12 -07:00
Sanjay Tripathi
1d105da9e3 CS-13377: Can't mark a template as featured during template creation from a root volume. 2012-05-08 10:39:07 +05:30
Jessica Wang
44329ece75 CS-14295: cloudstack 3.0 UI - volume page - upload volume dialog - add checksum field. 2012-05-07 11:12:28 -07:00
Jessica Wang
452fc54c0e CS-14735: cloudstack 3.0 UI - Upload Volume - uploadVolume API is sync instead of async. Here is related UI change. 2012-05-04 17:01:58 -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
d0c3e21d85 CS-14295: cloudstack 3.0 UI - volume page - listView - implement "Upload Volume" action. 2012-05-02 16:24:14 -07:00
bfederle
57cc1ea378 WIP: Upload volume UI
Adds new action, upload volume, to the storage->volumes list view
header. This will present a dialog to specify URL & name of volume,
and select a VM to attach the volume to.

Server API calls are still incomplete and rely on hardcoded values.
2012-05-02 14:29:29 -07:00
Jessica Wang
4cc9bf95c8 CS-13589: cloudstack 3.0 UI - volume page - when a volume is in "Migrating" state, disallow any action. 2012-04-17 16:24:44 -07:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Jessica Wang
964eeeb515 bug 14514: cloudstack 3.0 UI - volume page - show download volume option when a volume's attached VM is stopped or when a volume is detached from a VM. 2012-03-28 14:35:10 -07:00
Jessica Wang
217e357c4e bug 14451: cloudstack 3.0 UI - volume page - remove the "Migrate Volume" option for regular user and domain admin. 2012-03-22 10:32:49 -07:00
Jessica Wang
be9ca30ffb Delete User action - fix a bug that loading image didn't disappear after action was finished. 2012-03-02 11:53:03 -08:00
Jessica Wang
27bfd62e0e delete template action, delete ISO action - use 'remove' instead of 'destroy' since their definitions have been switched. 2012-03-02 11:08:23 -08:00
Jessica Wang
bddbd30e11 delete volume action, delete snapshot action, delete router action - use 'remove' instead of 'destroy' since their definitions have been switched. 2012-03-01 16:41:43 -08:00
Jessica Wang
c390826359 Snapshot page - detail view - make API call to refresh data when Refresh button is clicked. 2012-03-01 11:13:57 -08:00
Jessica Wang
708c7d2168 Volume page - detail view - make API call to refresh data when Refresh button is clicked. 2012-03-01 11:13:29 -08:00
Jessica Wang
1cd1152dd0 bug 13923: volume page - make download volume action available on volumes whose hypervisor is OVM. 2012-02-22 10:54:02 -08:00
Jessica Wang
e27e721b9a bug 13736: volume page - take snapshot - after action completes, not return updated volume because volume is not changed at all from taking snapshot action. 2012-02-18 11:57:06 -08:00
Jessica Wang
0d1f207887 bug 13577: volume page - show "Download volume" option only when corresponding vm is stopped 2012-02-09 15:33:46 -08:00
Brian Federle
f1cd0a482a Localize storage->snapshots section 2012-02-09 15:09:13 -08:00