bfederle
5e94b0d12e
Implement tag UI widget
...
Create UI for handling new tag API. This currently supports the detail view and multi-edit
To enable tags UI, add a 'tags' object to each detailView/multiEdit configuration:
tabs: {
...
details: {
...
tags: {
actions: {
add: function(args) {
setTimeout(function() {
args.response.success({
notification: {
desc: 'Add tags for instance',
poll: testData.notifications.testPoll
}
});
}, 500);
},
remove: function(args) {
args.response.success({
notification: {
desc: 'Remove tags for instance',
poll: testData.notifications.testPoll
}
});
}
},
dataProvider: function(args) {
args.response.success({
data: [
{
id: '1',
key: 'user',
value: 'brian'
},
{
id: '2',
key: 'region',
value: 'usa'
}
]
});
}
}
...
Conflicts:
ui/css/cloudstack3.css
ui/scripts/ui/widgets/tagger.js
2012-07-23 15:18:36 -07:00
Pranav Saxena
018a243ca1
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
2012-07-24 00:52:22 +05:30
Jessica Wang
2a822de5e0
cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default.
2012-07-20 16:13:03 -07:00
Jessica Wang
f3841b3b8f
cloudstack 3.0 UI - VPC - add LB rule - fix a JS error "args.context.networks is undefined" when configure stickiness.
2012-07-20 16:10:35 -07:00
Jessica Wang
1381fa46e1
cloudstack 3.0 UI - listView widget - pass context from caller function.
2012-07-20 16:05:11 -07:00
Jessica Wang
9176d13246
cloudstack 3.0 UI - VPC - infrasture page - network service providers - add "VPC Virtual Router".
2012-07-20 15:59:05 -07:00
Jessica Wang
254c05813c
cloudstack 3.0 UI - VPC - add zone wizard - enable VpcVirtualRouter element, enable VpcVirtualRouter provider for advanced zone.
2012-07-20 15:49:13 -07:00
Jessica Wang
dc847ed832
cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action.
2012-07-20 15:44:45 -07:00
Jessica Wang
20db2e515b
cloudstack 3.0 UI - VPC - add network offering dialog - when service(s) has VPC Virtual Router as provider: (1) conserve mode is set to unchecked and grayed out. (2) redundant router capability checkbox is set to unchecked and grayed out. (3) remove Firewall service, SecurityGroup service.
2012-07-20 14:28:20 -07:00
Jessica Wang
ee9074a175
cloudstack 3.0 UI - VPC - sync VPC UI from citrix-hosted repo to apache-hosted repo.
2012-07-20 14:12:53 -07:00
Brian Federle
152b17b7f3
Remove dummy VPC UI from networks section
2012-07-20 14:05:44 -07:00
bfederle
71bfeae487
Update VPC UI
2012-07-20 11:02:28 -07:00
bfederle
2b2e491f27
CS-15572: Fix page index for list view filters
...
This fixes an issue where the page index is not reset back 1 when
activating the search or filter functionality, causing truncation when
trying to scroll down to later pages.
2012-07-17 11:41:53 -07:00
Pranav Saxena
374be31b63
CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI
2012-07-13 12:32:38 +05:30
Brian Federle
50373b99d6
Detail view: Fix layout of text actions
2012-07-12 15:29:15 -07:00
Brian Federle
2a971d7c1b
Detail view UI: Support for text action buttons
...
Currently, only icons are rendered on detail view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.
To make an action have a text label, add a 'textLabel' attribute to
the action properties:
editVpc: {
label: 'Edit VPC',
// textLabel property
textLabel: 'label.configure',
action: {
...
}
}
2012-07-12 15:29:15 -07:00
Brian Federle
9b039d9a8d
List view UI: Support for text action buttons
...
Currently, only icons are rendered on list view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.
To make an action have a text label, add a 'textLabel' attribute to
the action properties:
editVpc: {
label: 'Edit VPC',
// textLabel property
textLabel: 'label.configure',
action: {
...
}
}
2012-07-12 13:46:19 -07:00
Hugo Trippaers
79c7da07ab
Phase 1 of Nicira integration
2012-07-11 17:16:06 -07:00
Brian Federle
262bbbe800
Add block to show/hide tier select
...
-- Hidden by default, needs real conditional code
2012-07-10 15:41:23 -07:00
Brian Federle
9f093817f3
Implement static NAT tier select UI
...
Adds a new drop-down to the enable static NAT dialog to allow selecting a tier to be associated with the VM. This is in the header of the list view.
It is defined as follows:
enableStaticNAT: {
...
action: {
noAdd: true,
custom: cloudStack.uiCustom.enableStaticNAT({
// VPC
tierSelect: function(args) {
args.response.success({
data: [
{ id: '1', description: 'VPC 1' },
{ id: '2', description: 'VPC 2' }
]
});
},
...
2012-07-10 15:41:23 -07:00
Brian Federle
5b8f5d6ae3
multiEdit: Correctly pass context to header fields
2012-07-10 14:57:07 -07:00
Brian Federle
dd52157f09
Add code to show/hide 'tiers' header fields
2012-07-10 14:57:07 -07:00
Brian Federle
5fa4f4cf37
Pass mulit-edit form data to add VM dialogs, as part of context
2012-07-10 14:57:06 -07:00
Brian Federle
04ac28202f
Multi-edit: refactor form serialization
...
To support header-level form items, serialize every form within the
multi-edit div (not just the main table form). For reusability, make
data serialization handled in separate 'getMultiData' function.
2012-07-10 14:57:06 -07:00
Brian Federle
7de02b6d5c
Update dummy tier data
2012-07-10 14:57:05 -07:00
Brian Federle
081f1e335d
Add header fields
2012-07-10 14:57:05 -07:00
Brian Federle
b000b8047e
CS-15475: Fix missing 'add guest network' action from network list
...
Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-10 11:24:07 -07:00
Brian Federle
10e70bcb9c
CS-15392: Add error handling to edit user action
...
Original patch by: Olga Smola <olya.smola@gmail.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-09 14:54:15 -07:00
Brian Federle
5fafb0e5e5
CS-15313: Error handling for account section
...
This fixes an issue where an error is not displayed when entering an
invalid account name.
Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
reviewed-by: Brian Federle <brian.federle@citrix.com>
2012-07-02 11:01:38 -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
Brian Federle
49c3c8b2e3
VPC UI: Add link to site-to-site VPN
...
Add link in tooltip for site-to-site VPN, which opens a new panel
showing the list view. This draws from the existing 'siteToSiteVpn'
network subsection, so no modification should be required to the
existing list view.
2012-06-29 13:36:07 -07:00
Brian Federle
683b7d7822
Add configure VPC tooltip and links
2012-06-29 13:13:59 -07:00
Brian Federle
f026387103
Add configure icon to VPC
2012-06-29 13:13:59 -07:00
Brian Federle
4c6738266d
Fix add tier UI
...
Properly pass context for add tier dialog, which broke due to recent
changes that requires context to be present, for the action filter.
2012-06-28 15:34:22 -07:00
Brian Federle
b1a5ec13cd
VPC tier UI: Update state after performing actions
...
After performing an action that changes state, namely starting and
stopping a tier, run through the action pre-filter again, to make sure
that the allowable actions are properly refreshed.
Conflicts:
ui/scripts/ui-custom/vpc.js
2012-06-28 15:23:37 -07:00
Brian Federle
28e49e8880
VPC UI: Refactor tier action filter handling
...
For reusability, move action filter handling for VPC tier actions to a
separate function. This allows for easier refreshing of actions after a
tier's state has changed.
2012-06-28 15:22:41 -07:00
Brian Federle
9bbbc4e356
Pass _custom correctly to VPC tier add VM action
2012-06-28 14:21:08 -07:00
Brian Federle
6d78cc4000
Add Apache license to new JS files
2012-06-28 13:40:19 -07:00
Brian Federle
2fe2a0e2fb
Fix missing actionFilter causing instance wizard to never complete
2012-06-28 12:30:11 -07:00
Brian Federle
808a3d75d9
Instance wizard: Don't try to add a new row if list view isn't present
2012-06-28 11:14:02 -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
Brian Federle
e6a6f84361
Pass context to instance wizard
2012-06-28 10:51:56 -07:00
bfederle
6015df9137
CS-13535: Error handling for add domain operation
...
Original patch by: olga.smola
reviewed-by: jessica, r5583
2012-06-27 16:20:30 -07:00
Jessica Wang
af1d5d00f7
cloudstack 3.0 UI - fix space problem from a patch
2012-06-27 14:11:25 -07:00
olgasmola
a30fe62b11
CS-14047: Return the user to the log in page when login time out.
2012-06-27 13:43:05 -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
bfederle
4e9a97177f
CS-15290: Fix 'Path' field validation
...
Original patch by: olga.smola
reviewed-by: brian
2012-06-26 13:43:30 -07:00
bfederle
cbe1f3e4c4
CS-15287
...
Support validation on edit detail view
Original patch by: olga.smola
reviewed-by: brian
2012-06-26 13:30:36 -07:00
bfederle
80b8515347
CS-15315: Fix overlay positioning
...
Original patch by: olga.smola
reviewed-by: brian
2012-06-26 10:24:54 -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
Jessica Wang
3ee3e4122a
cloudstack 3.0 UI - add zone wizard - (1) When sdn.ovs.controller is true and when the physical network is in Advanced zone, show isolation method dropdown with two options (VLAN, GRE). VLAN is the default option in the dropdown.
...
(2) When sdn.ovs.controller is false: hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
(3) When the physical network is in Basic zone (regardless of sdn.ovs.controller) : hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
2012-06-22 16:07:12 -07:00
bfederle
e442e3a7cf
CS-12478: Add cluster name to primary storage list view
...
Original patch by: olga.smola
reviewed-by: brian
2012-06-22 10:50:04 -07:00
Jessica Wang
791986268a
(1) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
...
(2) CS-15312 - cloudstack 3.0 UI - Add Zone Wizard - add physical network - remove "L3" option from isolation method.
2012-06-21 13:48:11 -07:00
Jessica Wang
aac1ac555d
CS-14854: cloudstack 3.0 UI - (1) extend detailView widget to take in dynamic isEditable value. (2) template page - edit template action - for regular user and domain admin: make Extractable field and Featured field non-editable. Do NOT send “isfeatured”, “isextractable” to updateTemplatePermission API when they are non-editable.
2012-06-21 13:43:04 -07:00
Jessica Wang
79410f90bc
cloudstack 3.0 UI - account page - fix a bug that happens when account name includes ampersand or other special characters. Encode account name before it's being passed to API calls.
2012-06-21 13:02:52 -07:00
Jessica Wang
a00c21686f
(1) CS-15057: Remove jquery.timer.js from source code. Replace it with native JavaScript functions.
...
(2) CS-14604: cloudstack 3.0 UI - Add Zone Wizard - skip Guest Traffic step if OVS tunnel manager is enabled.
(3) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
(4) CS-14769: Don't pass subdomainaccess param when scope=project.
(5) CS-15157: cloudstack 3.0 UI - infrastructure page - physical network - network service providers - reset nspMap before populating listNetworkServiceProviders response to nspMap.
2012-06-21 12:13:41 -07:00
olgasmola
e48ebf07a8
Make templates or Isos calls when setup new instance on templates tab.
2012-06-20 18:13:18 -07:00
bfederle
01f172cd37
CS-14110: Show timestamp for general alerts
...
Original patch by: olga.smola
reviewed-by: brian
2012-06-20 14:51:36 -07:00
bfederle
9e9b2cbdcc
cs-15286: incorrect result when edit pod
...
Original patch by: olga.smola
reviewed-by: brian
2012-06-20 14:21:05 -07:00
Brian Federle
e5db0ebc0f
CS-15148 : Delete Nexus dvSwitch UI option is not Functional so removing this functionality
...
reviewed-by: brian
2012-06-19 11:11:11 -07:00
Brian Federle
920eadffd5
CS-15126: Removing the zone field for now
...
Conflicts:
ui/scripts/system.js
2012-06-19 11:11:11 -07:00
Brian Federle
073829638f
CS-14769
...
-Don't pass subdomainaccess param when scope=project
-Fix guest network detail view by passing projectid=-1, due to project
details not returning response for project-level guest networks
2012-06-19 11:11:11 -07:00
Brian Federle
7c1698fb15
CS-15126
...
-Hide 'type' field, as dvSwitch doesn't return a type
-Get zone name from the cluster's data
reviewed-by: jessica
2012-06-19 11:11:11 -07:00
Brian Federle
237fd426e1
CS-14230
...
Add password confirm to add account/user forms
Original patch by: oyla.smola@gmail.com
Reviewed-by: brian
2012-06-14 11:33:28 -07:00
Pranav Saxena
52c8feb670
CS-15202: Rename all references in UI of Nexus VSM/dvswitch to Nexus 1000v
2012-06-13 11:24:09 -07:00
Brian Federle
1371764abd
Update breadcrumb hover effect
...
-Use 1s interval (instead of 2s) until showing panel
-Use .fadeOut on panel focus, for smoother transition
2012-06-11 15:13:14 -07:00
Brian Federle
93e87a5b31
CS-14877: Focus browser panel on breadcrumb hover
...
When mouse is over a breadcrumb for a period of > 2s, show its
respective panel until mouseout. This allows a user to see the
contents of the panel without having to select it.
reviewed-by: brian
Original commit:
commit 88be929e04826cd1159a2db7dbca220f7eadf5fd
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Fri Jun 8 14:17:42 2012 +0530
CS-14877: Expanded breadcrumb navigation on hover UI Requirement
2012-06-11 12:52:22 -07:00
bfederle
815f55d916
CS-14010
...
Add 'about' dialog to the CloudStack top header, showing current verison
information.
Patch submitted by: oyla.smola@gmail.com
Reviewed-by: brian
Conflicts:
ui/scripts/ui/core.js
2012-06-11 11:40:55 -07:00
Devdeep Singh
1593900402
CS-9919: Changes to integrate UI changes for nexus feature.
...
Reviewed by: Sateesh, Pranav.
Conflicts:
ui/scripts/system.js
2012-05-25 18:33:53 -07:00
Brian Federle
c71790b5c7
CS-15096: Disable network actions for non-admins
...
reviewed-by: jessica
2012-05-25 12:55:47 -07:00
Brian Federle
70687e4b44
CS-14844: Fix edit action
...
Fix edit action by referring to the new td.value <span>, instead of
td.value
2012-05-25 12:24:19 -07:00
Brian Federle
96982933df
CS-14844
...
-If value label in detail view gets too long, then add horizontal
scrollbar to value, to avoid truncation
-Lower font size to 11px (-1px) to better fit longer data into UI
reviewed-by: sonny
2012-05-25 12:08:29 -07:00
Sanjay Tripathi
dd3b40218b
CS-12111: No e-mail validation for edit user form
...
reviewed-by: brian
2012-05-25 11:09:48 -07:00
Brian Federle
0753b1035f
CS-13091: Remove enable/disable physical network actions
...
Due to limitations in the API, for now the enable/disable
functionality for physical networks will be removed.
2012-05-25 11:01:57 -07:00
Sanjay Tripathi
fff3fdb216
CS-12407: F5 & Netscaler when dedicated is selected capacity field should be disabled.
2012-05-25 12:09:56 +05:30
Sanjay Tripathi
92442765d4
CS-12407: F5 & Netscaler when dedicated is selected capacity field should be disabled.
2012-05-25 12:09:29 +05:30
Sanjay Tripathi
835afec6b9
Nexus Vswitch UI development modified enable disable and list vswitch response
2012-05-25 11:52:48 +05:30
Brian Federle
9f2a823d6e
CS-13091: Enable/disable physical network UI actions
2012-05-24 12:17:58 -07:00
Pranav Saxena
28b0df590e
CS-15078:Standard name for vSwitch
2012-05-25 00:00:37 +05:30
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
6f0fc82fff
CS-15067
...
Provide Nexus vSwitch fields on add cluster form, if on VMware
hypervisor and vSwitch is enabled in configuration
2012-05-23 13:09:50 -07:00
Brian Federle
7eb9977b86
Don't send VSM details if vSwitch isn't enabled
2012-05-23 13:09:50 -07:00
Brian Federle
8a5211f62c
vSwitch UI fixes
...
commit 531ebe165de441fdf8e8bb86c76056504cf3aadb
Author: Brian Federle <brian.federle@citrix.com>
Date: Wed May 23 10:27:51 2012 -0700
Fix vSwitch password field
commit e51a0bd5e198483704d6d7f2dc4cb4c74e7c9167
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Wed May 23 19:40:13 2012 +0530
CS-9919: Changes to integrate UI changes for nexus feature
2012-05-23 11:15:42 -07:00
Jessica Wang
1fa25b1964
CS-14206: cloudstack 3.0 UI - create network offering - show LB Isolation dropdown when LB service is checked and LB service provider is Netscaler or F5, regardless of Guest Type.
2012-05-23 10:40:11 -07:00
Jessica Wang
89c22f647f
CS-15042: cloudstack 3.0 UI - Create Network Offering dialog - when Guest Type is "Isolated", exclude "Security Groups" from services list.
2012-05-22 15:36:24 -07:00
Jessica Wang
8f6d836a81
CS-14206: cloudstack 3.0 UI - Create Network Offering dialog - When Guest Type is "Shared", include LB and StaticNAT in services regardless of zone type.
2012-05-22 14:50:12 -07:00
Brian Federle
e8e3698e4e
Add cluster: conditionally hide vSwitch fields
...
-When in add cluster screen, show the add vSwitch fields when
hypervisor == VMware and 'vmware.use.nexus.vswitch' configuration
flag is enabled.
-Remove 'add Nexus vSwitch' checkbox, as the vSwitch fields will
always be shown for VMware if the above config flag is set.
2012-05-22 13:45:35 -07:00
Brian Federle
d64adf1913
Remove trailing comma
2012-05-22 12:33:49 -07:00
Brian Federle
67f88398a6
Use IE-compatible method for changing browser title
2012-05-22 12:32:43 -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
Brian Federle
4b88f454a3
CS-14953: 'CloudStack' -> 'CloudPlatform'
...
reviewed-by: brian
commit 4488f0a66766286e960a47d34cd2e5148162bcab
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Tue May 22 15:15:40 2012 +0530
Renaming CloudStack to CloudPlatform for Proprietary builds
2012-05-22 11:45:58 -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
5168995905
CS-15015: cloudstack 3.0 UI - detailView widget - disable "pollAgainIfValueIsIn" function for now.
2012-05-21 16:12:01 -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
Brian Federle
eb6392d48c
CS-12462: no close button on select project list view popup
2012-05-21 10:29:29 -07:00
Pranav Saxena
d800c4474f
Nexus UI development nexusActionfilter
2012-05-21 10:03:20 -07:00