659 Commits

Author SHA1 Message Date
Brian Federle
469e180515 multiEdit: better handling for tag widget
Place tagging widget in a separate action and dialog class; it is
indicated by a 'tag' icon for better clarity.

-- This removes the requirement to specify a dummy 'edit' action on
multi-rules; instead, the separate tag action will appear automatically
as long as 'tags' is specified under the multiEdit's properties.

Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/css/cloudstack3.css
	ui/index.jsp
2012-08-06 14:15:41 -07:00
Brian Federle
e149459358 VPC ACL UI: Fix alignment of multiEdit tables
Conflicts:
	ui/css/cloudstack3.css
2012-08-06 11:23:14 -07:00
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
Alena Prokharchyk
5a72044dc7 Merge branch 'master' into vpc 2012-08-03 14:30:54 -07:00
Chip Childers
7998362b18 License header updates for the UI folder 2012-08-03 12:45:47 -04:00
Alena Prokharchyk
7706a9c32f Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
2012-07-31 13:37:28 -07:00
Brian Federle
4507df088d Fix positioning of tags error labels 2012-07-30 10:44:02 -07:00
olgasmola
0be4230f91 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 23:37:45 -04:00
Alena Prokharchyk
a39fd61249 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00
olgasmola
b7d68ac5d5 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 16:27:59 +03:00
Brian Federle
a440c1fbf5 Move position of VPC tier loading icon 2012-07-26 15:24:22 -07:00
Brian Federle
1ba451b65f 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:33:14 -07:00
olgasmola
1075344f03 CS-15353: Larger click boxes in UI. 2012-07-25 11:54:45 +03:00
Brian Federle
bdc376d42f Fix tagger UI wrapping in some browsers 2012-07-24 15:26:17 -07:00
Brian Federle
50322b4762 Fix tagger UI wrapping in some browsers 2012-07-24 15:22:37 -07:00
Alena Prokharchyk
766b7a2706 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java
2012-07-23 16:38:58 -07:00
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
bfederle
71bfeae487 Update VPC UI 2012-07-20 11:02:28 -07:00
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
Brian Federle
dd57e8bb38 VPC UI: CSS fixes
-Fix hover state for virtual router block -- should not have a
 highlight effect

-Add gray BG for multi-edit header area, for VPC PF/LB form

-Remove border around static NAT tier select
2012-07-11 14:04:56 -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
c87501d8ae Fix placement of header 2012-07-10 14:58:06 -07:00
Brian Federle
081f1e335d Add header fields 2012-07-10 14:57:05 -07:00
Brian Federle
ca231fe8be CS-15401: Fix arrow BG for PF/LB UI for Japanese language
When opening Network screen, arrows to the right side of "show all"
for firewall, load balancer and port forwarding are divided in
Japanese localized environment. This fix adjusts the CSS to fit longer
characters in this condition.

Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-06 14:04:08 -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
dfb6670fe8 CS-15211: More noticable 'Back' button on quick install
Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
reviewed-by: Brian Federle <brian.federle@citrix.com>
2012-06-28 13:35:32 -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
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
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
Brian Federle
3d4edfed03 CS-15099: Merge reviewed changes
commit 17d4337f2d0b35acb414cbe0a19627fc75c0ca00
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Sat May 26 02:54:18 2012 +0530

    CS-15099:Account deletion - buttons overlap the text on the Account deletion confirmation page.
2012-05-25 14:55:17 -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
Brian Federle
45311fefc1 CS-13739: Localize 'login' button 2012-05-24 12:41:14 -07:00
Pranav Saxena
63116385c4 CS-14053: IE compatibility issues 2012-05-25 00:42:23 +05:30
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
eb6392d48c CS-12462: no close button on select project list view popup 2012-05-21 10:29:29 -07:00
Brian Federle
f3a73d722f UI proprietary build: rename 'CloudStack' -> 'CloudPlatform'
When EULA is present for a proprietary build, show 'CloudPlatform'
instead of 'CloudStack' in the logo for the login form and top header.
2012-05-16 10:43:36 -07:00
Brian Federle
58f6cb6eee CSS cleanup 2012-05-14 12:43:12 -07:00
Brian Federle
418c900c87 CS-14715
Concatenate long user names, to prevent header bar from wrapping
2012-05-14 12:42:59 -07:00
bfederle
3aac0d75d7 CS-14752: Fix select security group scrollbars 2012-05-10 08:21:36 -07:00
bfederle
561c97fe58 CSS scrollbar fix
Fix body horizontal scrollbar, when viewing UI at low resolution
2012-05-10 08:20:56 -07:00
bfederle
3f6e8d7ef7 Fix BG for setup guest traffic form in basic zone 2012-05-04 09:59:03 -07:00
bfederle
57cc1ea378 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.
2012-05-02 14:29:29 -07:00
bfederle
07433492b2 Better tab BG appearance for VLAN range step 2012-05-01 13:35:52 -07:00
bfederle
898952479e 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
2012-04-30 10:32:43 -07:00
Jessica Wang
8d92440ec2 CS-14272: cloudstack 3.0 UI - Add Zone Wizard - physical networks step - add Isolation Method dropdown. 2012-04-26 16:19:46 -07:00
bfederle
5f1380fd44 Firefox CSS fix
Explicitly hide overflow-x, to prevent breakage from Firefox 12 update
causing horizontal scrollbars to be visible.
2012-04-25 11:28:53 -07:00