264 Commits

Author SHA1 Message Date
Jessica Wang
01d7fa4bed CLOUDSTACK-1166: cloudstack UI - dashboard - sanitize content before setting it to a HTML element. 2013-02-06 10:42:35 -08:00
Kanzhe Jiang
736b236eaf bigswitch controller support
Reviewed-by: Chiradeep Vittal <chiradeepv@gmail.com>

Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 12:42:04 +05:30
Brian Federle
894cb8f7d9 Advanced SG instance wizard: Fix back button
Fixes back button for select SG step, when using SG-enabled advanced
network.
2013-01-31 16:07:50 -08:00
Jessica Wang
867cb4aa81 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - when total number of selected sg networks is greater than 0 and total number of selected networks is greater than 1, pop up client-side validation error message "Can't create a vm with multiple networks one of which is Security Group enabled". 2013-01-29 16:44:58 -08:00
Pranav Saxena
453f749785 The overlay still exists when the Recurring Snapshots dialog is cancelled by pressing the esc key 2013-01-28 11:13:06 +05:30
Brian Federle
8f11f631a4 Instance wizard: Fix back button state
Fix case where select SG step is shown on back, instead of select guest network.
2013-01-25 08:58:07 -08:00
Brian Federle
a2b2d45e40 Conditionally show select SG step
Only show select security group step if at least one guest network
with SecurityGroup service is selected.
2013-01-24 14:57:43 -08:00
Jessica Wang
ff5477d1f1 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - remove obsolete variable(myNetworks), rename variable sharedNetworks to networkObjs. 2013-01-21 15:53:29 -08:00
Jessica Wang
77bc04b90f CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - Instance wizard UI: Support advanced zone with security groups
For advanced zones with SG enabled, show both the add guest network
step as well as the add security group step.

reviewed-by: jessica
2013-01-18 10:38:38 -08:00
John Kinsella
5658fc4249 CLOUDSTACK-646: Cleaning up Citrix/eula/CloudPlatform references
Tried to remove any references to license agreements, EULA, Citrix,
or CloudPlatform. Tested through devcloud, didn't see decreased UI
functionality.
2012-12-16 20:39:03 -08:00
Jessica Wang
e5ced5e4f4 CLOUDSTACK-537: cloudstack UI - zone wizard - Advanced zone with SG enabled - show Guest Traffic step with 5 fields (gateway, netmask, startIp, endIp, VLAN ID) and pass them to CreateNetwork API when creating default guest network. 2012-11-26 11:18:49 -08:00
Pranav Saxena
c26cb9d069 CS-16078:AutoScale UI development- adding sec to Duration field 2012-11-16 10:56:53 +05:30
Pranav Saxena
525912766a CS-15909:[Autoscale] UI: Autoscaler references to be replaced with Autoscale 2012-11-16 10:56:49 +05:30
Brian Federle
28513fa6c6 Autoscale UI actions: Support passing new actionFilter on complete
Conflicts:
	ui/scripts/ui-custom/autoscaler.js
2012-11-16 10:56:49 +05:30
Jessica Wang
08a73d1134 cloudstack 3.0 UI - autoscale -fix a bug that action bar was not refreshed after action was complete. 2012-11-16 10:56:48 +05:30
Jessica Wang
f348fcfb0e cloudstack 3.0 UI - autoscale - implement enableAutoScaleVmGroup API, disableAutoScaleVmGroup API. 2012-11-16 10:56:48 +05:30
Brian Federle
2e4923a286 Autoscale UI: Add actions to top of dialog
Support performing actions via the autoscaler dialog. This adds
'autoscaleActions' and 'actionFilter' options to the autoscaler, which
specify and handle the actions appearing in the UI.

Performing these actions will cause a loading overlay to appear until
actions are finished, when the action bar is refreshed via the action
filter.
2012-11-16 10:56:46 +05:30
Jessica Wang
45891a9269 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-11-16 10:56:46 +05:30
Brian Federle
bbfb13a1d9 Merge Autoscaler UI implemetation
This change includes the new dialog box for the CloudStack Autoscaler
implementation. It is accessible by a button ('Autoscaler') that
appears under each LB rule.

This also contains changes to the multiEdit widget to support features
required for Autoscaler:

-Fixes context/data passing to custom button widgets
-Fixes data retrieval for select fields
2012-11-16 10:56:45 +05:30
Brian Federle
27fcb788e9 Instance wizard UI: Support conditional hide/show of add network box
Adds new function 'showAddNetwork' to instance wizard configuration,
which conditionally hides the 'add network form' on the select network
step. If it returns true, then show the box, otherwise false hides it.
2012-11-15 12:16:42 -08:00
Brian Federle
83229aa460 Zone wizard UI: Change isolation mode selection
-Remove VLAN + SG radio buttons; replace with 'Security groups'
checkbox

-Pass boolean 'zone.sgEnabled' to zoneWizard action handler, instead of
'zone.isolationMode' from before.
2012-11-15 11:42:00 -08:00
Brian Federle
29978bdb81 CS-16802: Add isolation mode drop-down to zone wizard
-Adds new radio button pair, 'isolation mode' under Advanced zone
select, allowing selection of isolation mode

-Isolation mode is disabled if 'Basic' zone is selected

-Pass isolation mode via new property 'zone.isolationMode'
2012-11-09 14:38:46 -08:00
Pranav Saxena
04c5d89f80 CS-16681:Inconsistent behavior in custom disk offering selection page in Add VM instance wizard - Fixed by adding a Jquery bind event 2012-11-03 13:01:32 +05:30
Jessica Wang
0d7ed63e20 CS-16573: cloudstack UI - VM Wizard - makeSelects() - sanitize output value. 2012-11-02 11:20:24 -07:00
Brian Federle
53072af8f7 CS-16295: Fix select project search box
Adds search functionality to 'select project' dialog's input box,
which was not sending value to the listProjects API
2012-11-01 12:17:39 -07:00
Brian Federle
e6c3e59e39 UI custom actions/enable static NAT: fix loading state
Fixes a bug where the loading state is not immediataly set for the
detail view on performing certain custom UI actions, particularly
enable static NAT.

This passes a separate 'start' function to the custom widgets, which
triggers the loading state, and 'complete' when the action
completes (i.e., the server call is done)
2012-10-25 14:40:16 -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
Brian Federle
93c84c8291 CLOUDSTACK-85: Fix instance wizard review hypervisor
Fix hypervisor type not being shown in instance wizard review step
2012-09-18 14:18:48 -07:00
Pranav Saxena
330c89ce59 CS-16328:UI not calling the listCapacity correctly 2012-09-13 14:21:52 -07:00
Brian Federle
eb0caf10a2 CS-16218: Only show VPC router details for ROOT admin 2012-08-30 11:01:02 -07:00
Jessica Wang
05fef0fb25 cloudstack 3.0 UI - VPC - localize Configure VPC Chart (Reviewed-by: Brian) 2012-08-29 13:29:44 -07:00
Jessica Wang
bbf8bed8ee cloudstack 3.0 UI - VPC widget - localize text (Reviewed-by: Brian) 2012-08-28 15:59:46 -07:00
Brian Federle
a52889bb6a CS-16196: Fix VM wizard network selects
-Fixes case where 1 existing network is present, but cannot be
 unchecked when 'add new network' is checked

-Fixes regression with multiple networks and VPC tiers present, where
 unchecking all regular networks will select the hidden VPC network

reviewed-by: jessica
2012-08-28 13:52:15 -07:00
Brian Federle
e6ef6985f8 CS-16138: Fix instance wizard 'add network' radio button
When no guest networks are present but VPC tier is, fix 'add new
network' radio button being unselected.

reviewed-by: jessica
2012-08-22 15:24:58 -07:00
Jessica Wang
57d95d27f1 cloudstack 3.0 UI - VPC feature - fix a bug that shortLabel was not localizable. (Reviewed-by: Brian) 2012-08-21 16:51:22 -07:00
Brian Federle
5d94a8de8c VPC UI: Network ACL: Only show 'acl' tab on detail view
reviewed-by: jessica
2012-08-21 13:12:52 -07:00
Brian Federle
7d934d1039 CS-16085: Fix networks checkboxes
When both VPC and isolated networks are present, fix case where
unchecking first isolated networks triggers checkbox for VPC tier
network, thus making it appear as if no network is selected.

reviewed-by: jessica
2012-08-20 15:00:44 -07:00
Brian Federle
9394e838a5 CS-16001: Show router details on click of 'virtual router'
Clicking the 'Virtual Router' button will show the same router tab as seen on
the VPC detail view.

 -- Note that this is only clickable for admins, as users cannot view router
      details in the API.
2012-08-16 12:36:03 -07:00
Jessica Wang
78b3b1ad83 CS-15977: cloudstack 3.0 UI - VM Wizard - select network step (5th step) - if there is no visible network in Existing Networks Area, check checkbox in Add Network Area. 2012-08-14 15:53:18 -07:00
Mice Xia
29459549ba Fix a bug: zoneWizard uses incorrect vlan parameter to create storage network 2012-08-14 13:43:09 +08:00
Pranav Saxena
94d8eb71fb ACL restructuring label renaming 2012-08-13 14:29:21 +05:30
Pranav Saxena
f285ce4ef0 ACL restructuring UI changes 2012-08-13 14:22:32 +05:30
Brian Federle
42a9fd641e VPC UI: New ACL flow
-Remove the ACL action from the tier chart item

-Adds an ACL overview list view under the VPC configure menu which
 displays each tier and their total # of ACLs.

-Add ACL edit to tier detail view

- (misc) Also add IP address tab to tier detail view
2012-08-10 13:04:20 -07:00
Brian Federle
41afde3207 CS-15902: Remove loading overlay from VPC actions
For add VPN and add gateway actions: remove loading overlay to allow
user to perform other actions. The overlay is replaced with a set of
notification messages indicating the status of the job.
2012-08-09 16:15:29 -07:00
Jessica Wang
cd5b79414b CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:52:55 -07:00
Pranav Saxena
8f34776dd8 CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier' 2012-08-08 18:02:39 +05:30
Pranav Saxena
dd7a0da9a7 CS-15901:InterVlan - UI - Site-to-Site VPN Gateway - Confirmation Message should mention Site-to-Site VPN Gateway instead of just VPN Gateway 2012-08-08 15:00:48 +05:30
Pranav Saxena
feaea413c7 CS-15844:InterVlan - UI - Remove ACL Icon is not displayed properly for ACL Rules 2012-08-06 16:06:30 +05:30
Brian Federle
26a4132b11 CS-15841: Better add VPC gateway flow
- Because only 1 gateway can exist per VPC, remove 'add' button from
  list view and immediately show create form on click if no gateway is
  present; show list view on successful creation. If there is a
  gateway, go to list view immediately.

- Rename "Gateways" -> "Private Gateway"
2012-08-03 12:26:34 -07:00
Brian Federle
5cb356024f CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:42:40 -07:00