Commit Graph

228 Commits

Author SHA1 Message Date
Brian Federle bf77446f15 VPC: Update site-to-site VPN creation flow
If no VPN gateway exists for a VPC, then immediately show a dialog box
asking if user wants to add. If so, create VPN gateway and show list
view afterwards.

- This removes the 'add' button from the list view, moving the code up
  a level in the object to siteToSiteVPN.add

- In addition there is a new function, siteToSiteVPN.preCheck, which
  returns true/false. If true, then show list view immediately; if
  false, show dialog and go through creation process, showing list
  view afterwards.
2012-08-02 11:32:02 -07:00
Jessica Wang cedf4f4c47 cloudstack 3.0 UI - autoscale - service offering, disk offering, security group can not be changed after autosccale is created. So, disable the 3 dropdowns in edit mode. 2012-07-31 17:45:22 -07:00
Jessica Wang d218641559 cloudstack 3.0 UI - autoscale - rename add action to apply action since the action is used by both creation mode and edit mode now. 2012-07-31 15:03:30 -07:00
Jessica Wang 0320fc1b65 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-07-31 14:21:45 -07:00
Brian Federle 431b8fe708 CS-15753:
Re-enable 'view all ip addresses' link on tier details.

--this was disabled previously due to a bug in the VPC widget, which
  is also fixed with this commit.
2012-07-30 15:10:48 -07:00
Brian Federle 665829703f Clean up indentation/whitespace for autoscaler UI code 2012-07-30 11:08:04 -07:00
Brian Federle c11aab3c7e 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-07-30 11:08:04 -07:00
Brian Federle f8bfead038 Cleanup formatting/whitespace 2012-07-26 15:38:56 -07:00
Brian Federle 3d2d1a2efc VPC tier UI: Fix loading state for other actions
Fix actions other than the add VM action, whose loading state was
never removed
2012-07-26 14:41:53 -07:00
Brian Federle dafbdcb838 VPC UI: Better launch VM loading state for tiers
When launching a VM via the 'add VM' button on a VPC tier, show
loading icon to the side of the VM count, so that the tier area isn't
blocked, allowing the user to add more VMs or do other actions to the
tier.
2012-07-26 14:32:10 -07:00
Brian Federle ce536daffa CS-15619: Concatenate long tier names, to prevent overlap 2012-07-19 14:31:23 -07:00
Brian Federle 9c59082658 Add tier name to ACL and VM list dialogs 2012-07-13 13:39:47 -07:00
Brian Federle 77efcccee4 Pass context to add tier createForm 2012-07-11 11:39:04 -07:00
Brian Federle dd653618fb Widen ACL UI dialog box, to prevent overflow 2012-07-11 10:43:00 -07:00
Brian Federle ae38623b88 Fix $browser undefined exception, in case add tier fails 2012-07-11 10:30:36 -07:00
Brian Federle c33aeb43e5 Add VPC gateway config UI
-Add a list view which lists gateways associated with a VPC

-Add detail view with ability to edit a gateway's static routes

** Note: this currently uses dummy content
2012-07-11 10:21:31 -07:00
Brian Federle 722d8faf17 VPC: Add tier detail view
On click of tier name, show a detail view of the specific tier.

This implemented as follows:

    tiers: {
      detailView: {
        name: 'Tier details',
        tabs: {
          details: {
            title: 'Details',
            fields: [
              { id: { label: 'ID' }},
              {
                name: { label: 'Name' },
                cidr: { label: 'CIDR' }
              }
            ],
            dataProvider: function(args) {
              args.response.success({
                data: args.context.networks[0]
              });
            }
          }
        }
      },
      ...
2012-07-10 16:23:43 -07:00
Brian Federle e212b6420a Add block to show/hide tier select
-- Hidden by default, needs real conditional code
2012-07-10 15:39:09 -07:00
Brian Federle 8e638ed752 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:32:01 -07:00
Jessica Wang c237e0a960 cloudstack 3.0 UI - VPC section - rename context.tiers to context.networks to be consistent with Guest Network section. 2012-07-08 15:20:18 -07:00
Jessica Wang ecf730356d cloudstack 3.0 UI - VPC - site-to-site VPN - pass vpcid to listVpnConnections and listVirtualMachines API since site-to-site VPN has been moved under VPC. 2012-07-08 14:05:54 -07:00
Jessica Wang 2602acb0b7 cloudstack 3.0 UI - VPC - implement "IP Addresses" in VPC. 2012-07-08 11:18:18 -07:00
Jessica Wang 33cf9468b6 cloudstack 3.0 UI - VPC - tier - implement Remove Tier action. 2012-07-07 13:35:01 -07:00
Jessica Wang 3a5b43796c cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-06 16:03:44 -07:00
Jessica Wang 883d061dd7 cloudstack 3.0 UI - VPC - Edit VPC chart - populate tiers by API call instead of hardcoding. 2012-07-06 10:43:28 -07:00
Jessica Wang 6eebd7aa0d cloudstack 3.0 UI - VPC - create tier action is sync, not async. 2012-07-05 18:33:43 -07:00
Jessica Wang a39a08a40d cloudstack 3.0 UI: ui-custom VPC - add error handling to addTierDialog(). 2012-07-05 13:19:33 -07:00
Brian Federle a3a965a5a8 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:35:47 -07:00
Brian Federle f87c719b03 Add configure VPC tooltip and links 2012-06-29 13:11:43 -07:00
Brian Federle d5e8a5f227 Add configure icon to VPC 2012-06-29 11:50:58 -07:00
Brian Federle f6fb322c7b 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:08 -07:00
Brian Federle 196ef1c1e0 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.
2012-06-28 15:19:06 -07:00
Brian Federle 0a14f09fd7 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 14:50:13 -07:00
Brian Federle 252e599a6c Pass _custom correctly to VPC tier add VM action 2012-06-28 14:21:30 -07:00
Brian Federle 27eceaabdf Add Citrix license to new JS files 2012-06-28 13:41:29 -07:00
Brian Federle 017885b5f1 Instance wizard: Don't try to add a new row if list view isn't present 2012-06-28 11:12:26 -07:00
Brian Federle 8a94f5c5da Pass context to instance wizard 2012-06-28 10:52:35 -07:00
Brian Federle 98924a0579 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:52:34 -07:00
Jessica Wang 4edc71b8ad CS-14724: 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 15:15:48 -07:00
Jessica Wang ff74234fe3 CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic. 2012-06-18 16:36:05 -07:00
Jessica Wang f569b75f3f CS-15312 - cloudstack 3.0 UI - Add Zone Wizard - add physical network - remove "L3" option from isolation method. 2012-06-18 15:01:41 -07:00
Jessica Wang 03b559bbb9 CS-15057: Remove jquery.timer.js from source code. Replace it with native JavaScript functions. 2012-06-04 18:06:00 -07:00
Brian Federle ff3c236776 CS-13091: Enable/disable physical network UI actions
Conflicts:

	ui/index.jsp
2012-05-24 12:16:51 -07:00
Jessica Wang 219bbb4324 CS-13739: localize more labels 2012-05-23 17:20:45 -07:00
Brian Federle 2ae25b7a2f 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:50:12 -07:00
Brian Federle 3bd33d5c31 CS-12462: no close button on select project list view popup 2012-05-21 10:30:10 -07:00
Brian Federle 4699172db2 CS-13123: Hide diagram parts on change password form 2012-05-15 11:57:30 -07:00
Brian Federle 6da9d20a82 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:37 -07:00
Jessica Wang b0ccfc9d14 cloudstack 3.0 UI - login page - add a blank option to language dropdown. When this blank option is selected, browser's default language will be used. 2012-05-03 15:40:22 -07:00
bfederle 3848dfe109 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.

Conflicts:

	ui/index.jsp
2012-05-02 14:30:16 -07:00