Commit Graph

246 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
Pranav Saxena 7fb70ab9f1 CS-13763 : System Wide Capacity Percentages are not being properly shown on Firefox on Ubuntu/Fedora 2012-04-19 12:53:51 -07:00
Pranav Saxena 0dcaab2581 CS-13825 : There's an extra >CR> in the internal DNS text label in firefox Ubuntu Cloudstack Installation 2012-04-19 12:53:16 -07:00
Pranav Saxena 8e3edfd504 Bug 13969 : CS 13764 Names row of any table should not be clickable
reviewed-by: brian
2012-04-12 14:58:41 -07:00
Brian Federle 3a5a60c0be Add 'view all' shortcuts for common zone resources
On the physical resources dashboard, add a button to view all
resources for pods, clusters, and hosts. This will compile a
list view containing the resources across all zones.

In order to be able to add resources when in this zone-inspecific mode,
a zone drop-down had to be added to the create forms for
pods, clusters, and hosts.
2012-04-09 13:26:08 -07:00
Brian Federle ccdca396d3 bug 14603
-Disable display of public traffic icon for basic zone, non-EIP/ELB

-Show public traffic icon as 'required' for basic zone in EIP/ELB
2012-04-04 14:52:38 -07:00
Brian Federle b100928df8 Fix appearance of text in project view tabs 2012-04-03 15:52:31 -07:00
Brian Federle d999e2e70c CSS cleanup 2012-04-03 10:38:14 -07:00
Brian Federle fdf5cc420c Zone wizard: UI subnav
Reduce margin of zone wizard subnav items, to prevent wrapping when
subnav is long
2012-04-02 14:33:49 -07:00
Sanjay Tripathi 728f079bed bug 13299: Basic Installation wizard: Fileds in Add zone page are not aligned properly 2012-03-29 11:02:44 +05:30
bfederle 0e248bdbe1 bug 13773
Change 'migrateToAnotherStorage' icon to use same icon as 'migrate'
2012-03-28 17:03:38 -07:00
Brian Federle 76528f37f1 bug 14240
Add VM details to name in PF/LB rule on click.

Note that the details panel now maximizes, to prevent additional panels
from accumulating by the user trying to click on multiple VMs when the
detail pane is present.
2012-03-21 12:13:19 -07:00
Brian Federle f82aa63815 bug 14380: Add cancel button to detail view edit action 2012-03-21 11:44:30 -07:00
Brian Federle e682d9a622 bug 14231: Per-account public IP range support
Add UI support for associating IP ranges with specific account + domain;
this is accessible by going to the system network graph->public->IP
range edit, where clicking on 'Add user' button opens a dialog to
specify an account and domain.

Note that right now editing of existing IP ranges is not supported, so
in order to associate a range with another account, the IP range needs
to be dropped and re-created with the new account configuration.
2012-03-21 09:29:31 -07:00
bfederle c23f1b8882 UI: Zone wizard update
-Allow for editing of traffic labels within the zone wizard; visible
 by going to the create physical network(s) step and clicking the
 'edit' button under each traffic type.

-Make hypervisor selection part of the create zone step, instead of
 the add cluster step -- this is to allow the physical network UI to
 have the selected hypervisor for the edit traffic labels dialog.

-Show drag-and-drop UI for basic zone setup, so that user can edit
 traffic labels for a basic zone. Note that user can only have one
 physical network here.

-Allow creation of storage traffic in a basic zone configuration, by
 optionally dragging storage traffic type icon to first physical
 network
2012-03-20 13:27:28 -07:00
Likitha Shetty 7d93125993 Bug 13773 (Migrate volume to another primary storage icon is wrong)
reviewed-by: Brian
2012-03-07 10:20:12 +05:30
Brian Federle 5c1f1a505f bug 14044
Reduce width of level bar to prevent '100%' capacity text from
wrapping
2012-03-06 11:02:06 -08:00
Likitha Shetty 9e716e6de3 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2012-03-05 10:33:12 +05:30
Likitha Shetty 8ff56b0326 Bug-14029 Lock account confirmation message is not entirely visible. [reviewed-by: Brian] 2012-03-05 10:27:01 +05:30
Jessica Wang 6cf6820a3f switch definition of 'destroy' action with definition of 'remove' action. i.e. 'remove' action will hide detailView and remove corresponding row from listView after action is done. 2012-03-01 16:31:55 -08:00
Brian Federle d0ed8bf227 bug 14013
Decrease height of details container to prevent apply button from
being hidden
2012-02-27 10:42:08 -08:00
Brian Federle d6fc3f9010 Localizaton fixes
-Add conditional CSS for Japanese version

-Fix font wrapping in JA CSS for header bar, system dashboard

-Add some missing localization labels
2012-02-22 17:32:00 -08:00
Brian Federle e0be877706 Zone wizard: UI: Review step
Better final message before launch: make font size larger and
centered; include icon
2012-02-22 14:39:47 -08:00
Brian Federle f182e1ba47 Recurring snapshot UI: fix tab wrapping 2012-02-22 12:08:52 -08:00
Brian Federle b2f4fcdfed Make tab width flexible, to support longer labels 2012-02-21 18:57:49 -08:00
Brian Federle fc4c5f106f bug 13731
Add scrollbars and reduce width of tree view, to prevent large
subdomain lists from being unselectable
2012-02-21 11:35:24 -08:00
Brian Federle c63e353385 Don't show header bar for listView-in-detailView 2012-02-21 11:25:10 -08:00
Brian Federle 716a62760a bug 13716
Fix service offering list overflow

status 13716: resolved fixed
2012-02-17 16:15:08 -08:00
Brian Federle d3cc43e83f bug 13815
Add language drop-down to login screen

status 13815: resolved fixed
2012-02-17 11:28:14 -08:00
Brian Federle 2e82439a53 Hide Citrix logo if no EULA is present (i.e., is OSS version) 2012-02-16 16:22:23 -08:00
Brian Federle ccd7d8b30a Install wizard: Conditionally load EULA
Conditionally show EULA screen, only if eula.html is retrieved
successfully via AJAX call (i.e., doesn't return a 404). Otherwise,
bypass EULA and start with intro screen.
2012-02-16 15:42:01 -08:00
Brian Federle 6d8a11c74b Complete localization for quick install wizard
-- Also separates EULA into an iframe-embedded HTML file
2012-02-16 14:45:10 -08:00
Brian Federle 5c0696073f 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-02-15 16:30:54 -08:00
Brian Federle 7b6e98b20e Fix zone pie charts in IE 2012-02-10 15:24:07 -08:00
Brian Federle 4c05adaac0 Error appearance for notifications corner alert 2012-02-10 15:00:29 -08:00
Brian Federle 03d1f40c9a Dashboard IE8 fixes 2012-02-10 14:55:13 -08:00
Brian Federle 2f6a946ee5 Remove dashboard scrollbar 2012-02-10 14:09:36 -08:00
bfederle 81e878eaa9 bug 12780:
Add/update zone capacities to support updated capacity types

status 12780: resolved fixed
2012-02-07 15:51:16 -08:00
bfederle 957d131cc6 Merge branch 'bfederle-projects-ui' 2012-02-07 14:32:15 -08:00
bfederle f7f420718c Fix static NAT chart UI 2012-02-07 13:09:08 -08:00
bfederle 995589b479 Add invitation check; dialog for pending invites; misc. fixes 2012-02-06 16:50:08 -08:00
bfederle 99fe55e385 Add updated invite form 2012-02-06 16:05:11 -08:00
bfederle 8326989410 Integrate resources form into project detail view 2012-02-06 13:03:56 -08:00
bfederle 66b69a049b bug 13210: User dashboard layout cleanup
-Replace broken 'My projects' with latest events listing

-Show real network stats; replace with 'Owned networks' and 'Owned IP
addresses'

status 13210: resolved fixed
2012-02-02 13:47:45 -08:00
bfederle 648a1c36d3 bug 12682
Add Citrix EULA to start of install wizard

status 12682: resolved fixed
2012-01-31 14:50:38 -08:00
bfederle b593898fbd bug 13079
Sanitize network offering service list labels

status 13079: resolved fixed
2012-01-30 15:57:30 -08:00
bfederle 3b4676d384 bug 12091
UI support for adding/removing of VMs from LB rules

status 12091: resolved fixed
2012-01-27 16:27:05 -08:00
bfederle fc4549c90e IE7 fixes 2012-01-26 12:44:47 -08:00
bfederle 952939ab0f Fix system status box CSS 2012-01-26 11:53:24 -08:00
bfederle 3eba95fc1b Fix CSS for project dashboard event box 2012-01-26 11:50:59 -08:00
bfederle d9eae8840d Fix projects dashboard in IE8 2012-01-26 11:47:10 -08:00