Commit Graph

2923 Commits

Author SHA1 Message Date
Brian Federle 5af48ea6cf 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:18:06 -07:00
Jessica Wang 1753480ff8 cloudstack 3.0 UI - VPC - implement Delete VPC action. 2012-07-12 15:09:30 -07:00
Jessica Wang f1283f7bb1 cloudstack 3.0 UI - VPC - IP Addresses - Load Balancer - tier dropdown - if the IP is already associated with a tier, only populate that tier in the dropdown and hide the dropdown whose value will still be used later in listing VM dialog. 2012-07-12 14:28:47 -07:00
Jessica Wang 738c647612 cloudstack 3.0 UI - VPC - IP Addresses - Port Forwarding - tier dropdown - if the IP is already associated with a tier, only populate that tier in the dropdown and hide the dropdown whose value will still be used later in listing VM dialog. 2012-07-12 14:15:12 -07:00
Brian Federle b5ce813a94 VPC list view: Add text label for configure VPC action 2012-07-12 13:45:16 -07:00
Brian Federle 35d93a66ad 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:43:54 -07:00
Jessica Wang 4d5db13555 cloudstack 3.0 UI - VPC - IP Addresses - not pass vpcid to API call if it's undefined. 2012-07-12 11:41:39 -07:00
Jessica Wang 9c36ba1ac4 cloudstack 3.0 UI - network page - Guest Network section - list all networks including VPC and non-VPC ones. 2012-07-12 10:34:37 -07:00
Jessica Wang 86bbba39cd cloudstack 3.0 UI - VPC - tier - Add VM - zone dropdown - exclude Basic zones (since VPC is not supported in Basic zone). 2012-07-12 10:17:37 -07:00
Jessica Wang 16e0ccd4c0 cloudstack 3.0 UI - VPC - Enable StaticNat - tier dropdown - rename default option to be blank. 2012-07-11 16:55:40 -07:00
Brian Federle ca63738ec1 Forgot to re-add VPC ID filter to tier select 2012-07-11 16:29:53 -07:00
Jessica Wang 99c28a58f6 cloudstack 3.0 UI - VPC - gateways - regular user and domain admin are not allowed to Add Gateway. 2012-07-11 16:27:23 -07:00
Brian Federle 7de7b86870 Static NAT UI: Have tier dropdown filter VMs
On VM select list view for static NAT, tier selection will filter the
VM listing by tier (networkid).

By default, VMs for all tiers are shown, until the drop-down is changed.
2012-07-11 16:19:57 -07:00
Brian Federle 9b1395ec0f List view widget: Pass $listView object to dataProvider 2012-07-11 16:19:57 -07:00
Jessica Wang d0b8e59ab4 cloudstack 3.0 UI - VPC - create tier dialog - check all tiers under the VPC. If any of them includes LB service, exclude network offering including LB service from network offering dropdown. 2012-07-11 16:00:48 -07:00
Jessica Wang 76b8407b69 cloudstack 3.0 UI - VPC - gateways - implement Remove Gateway action. 2012-07-11 15:16:18 -07:00
Jessica Wang b727c58497 cloudstack 3.0 UI - VPC - gateways - static route - implement Remove action. 2012-07-11 14:51:19 -07:00
Jessica Wang 37786a8325 cloudstack 3.0 UI - VPC - gateways - static route - implement Add action. 2012-07-11 14:42:23 -07:00
Jessica Wang 9212d16080 cloudstack 3.0 UI - VPC - gateways - populate Static Routes tab. 2012-07-11 13:30:18 -07:00
Jessica Wang c04fd3461a cloudstack 3.0 UI - VPC - gateways - populate listView and detailView. 2012-07-11 13:19:29 -07:00
Jessica Wang 04142986c7 cloudstack 3.0 UI - VPC - implement Add Private Gateway action. 2012-07-11 12:15:35 -07:00
Brian Federle 77efcccee4 Pass context to add tier createForm 2012-07-11 11:39:04 -07:00
Jessica Wang deab99a533 cloudstack 3.0 UI - VPC - Add Tier dialog - check if any tier supports LB service before populating network offering dropdown. 2012-07-11 11:25:56 -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
Jessica Wang e1fbe9e530 cloudstack 3.0 UI - VPC - IP Addresses - Load Balancer - Add VM - populate only VMs under selected tier. 2012-07-10 18:56:46 -07:00
Jessica Wang f0fb52e346 cloudstack 3.0 UI - VPC - IP Addresses - Port Forwarding - Add VM - populate only VMs under selected tier. 2012-07-10 18:40:58 -07:00
Jessica Wang 3bb48742b8 cloudstack 3.0 UI - VPC - tier - ACL - add ACL action - add traffic type field (Ingress/Egress). 2012-07-10 18:06:33 -07:00
Jessica Wang 663ba8c898 cloudstack 3.0 UI - VPC - IP Address - PF, LB - if IP is associated with a tier, hide tier dropdown when creating PF, LB rule. 2012-07-10 17:51:30 -07:00
Jessica Wang 708b4f7003 cloudstack 3.0 UI - VPC - IP Address - create Port Forwarding rule with tier ID. 2012-07-10 17:07:37 -07:00
Jessica Wang 5ecd1c7492 cloudstack 3.0 UI - VPC - IP Address - enable StaticNat with tier id. 2012-07-10 16:40:06 -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
Jessica Wang b2e1dd7697 cloudstack 3.0 UI -IP Address - create LB rule screen - show tier dropdown if coming from VPC secton, hide tier dropdown if coming from Guest Network section. 2012-07-10 15:52:00 -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 4641559c9e cloudstack 3.0 UI - VPC - IP Address - create LB rule with tier id. 2012-07-10 15:31:46 -07:00
Brian Federle 2c13b82736 multiEdit: Correctly pass context to header fields 2012-07-10 14:54:10 -07:00
Brian Federle e4a00f1faf Add code to show/hide 'tiers' header fields 2012-07-10 14:17:38 -07:00
Brian Federle a42c837f95 Pass mulit-edit form data to add VM dialogs, as part of context 2012-07-10 14:01:56 -07:00
Brian Federle de3e9c7fcd 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:01:38 -07:00
Brian Federle 02dd57d019 Update dummy tier data 2012-07-10 13:59:51 -07:00
Brian Federle d67d93da5d Add header fields 2012-07-10 13:40:55 -07:00
Jessica Wang b36a13b941 cloudstack 3.0 UI - create network offering dialog - when service(s) has VPC Virtual Router as provider, Redundant router capability checkbox is set to unchecked and grayed out. 2012-07-10 11:38:16 -07:00
Brian Federle 99edf7423b 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:23:29 -07:00
Jessica Wang e25ac326fe cloudstack 3.0 UI - create network offering dialog - when service(s) has VPC Virtual Router as provider, conserve mode is set to unchecked and grayed-out. 2012-07-10 11:05:15 -07:00
Jessica Wang 9a669ab0bb cloudstack 3.0 UI - VPC - site to site VPN - delete action - not delete VPN gateway, only delete VPN connection and VPN customer gateway. 2012-07-09 19:11:33 -07:00
Jessica Wang 902a56fc7a cloudstack 3.0 UI - VPC - site to site VPN - there is only one VPN gateway per VPC. So, when creating 2nd, 3rd, ~ VPN connection, reuse the VPN gateway created when the first VPN connection is created. 2012-07-09 19:00:48 -07:00
Jessica Wang d53be4f6bd cloudstack 3.0 UI - VPC - IP from VPC section doesn't support Firewall, including both sourceNat IP and non-sourceNat IP. 2012-07-09 17:49:25 -07:00
Jessica Wang ec5d36a9c4 cloudstack 3.0 UI - VPC - acquire new IP - no passing tier ID. 2012-07-09 16:14:56 -07:00