Commit Graph

216 Commits

Author SHA1 Message Date
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
Salvatore Orlando 4643e403ff Finishing merge with 3.0.x 2012-05-01 15:08:51 +01:00
Brian Federle 1e2e3b524c Make default language English, if no cookie set 2012-05-01 13:14:33 +01:00
Brian Federle 913e465e29 bug 13815
Add language drop-down to login screen

status 13815: resolved fixed
2012-05-01 13:09:17 +01:00
Brian Federle 10d3dffd94 Hide Citrix logo if no EULA is present (i.e., is OSS version) 2012-05-01 13:07:35 +01:00
Brian Federle 5a812feed6 Complete localization for quick install wizard
-- Also separates EULA into an iframe-embedded HTML file
2012-05-01 13:02:09 +01:00
Jessica Wang 3f2bbee9c3 cloudstack 3.0 new UI - localize messages during zone creation. 2012-05-01 13:00:41 +01:00
Brian Federle d7f90116fc bug 13743: New zone wizard step -- configure storage traffic
For an advanced zone, with the storage traffic type assigned to a
network, add a new step to configure the IP ranges of the storage
traffic type.
2012-05-01 12:59:58 +01:00
Brian Federle 8f583b1bc5 bug 13729: Support adding network tags
Allow editing of physical network tags, by going to
physical network->guest details->edit

status 13729: resolved fixed
2012-05-01 12:53:00 +01:00
Brian Federle fb7575f8a6 WIP: Install wizard localization 2012-05-01 12:47:34 +01:00
bfederle d80688ddce CS-14461: Add more infrastructure page shortcuts
-Add additional shortcuts for:
  -Primary storage
  -Secondary storgage
  -Virtual routers
  -System VMs

-Replace host stats with the new shortcuts

-Add 'zone' dropdown to create form for the newly added-shortcuts'
 sections, to support creating these items without a zone context

Conflicts:

	ui/index.jsp
2012-04-30 10:36:02 -07:00
Jessica Wang bf4232974f CS-14272: cloudstack 3.0 UI - Add Zone Wizard - physical networks step - add Isolation Method dropdown. 2012-04-26 16:18:42 -07:00
Jessica Wang 33504bc47e CS-14559: cloudstack 3.0 UI - VM Wizard - last step - screen doesn't change, but user-entered VM name will be passed as hostname and displayname to deployVirtualMachine API. Add validation of user-entered name field to match naming rule of hostname. 2012-04-18 17:44:47 -07:00