Commit Graph

291 Commits

Author SHA1 Message Date
John Kinsella 5658fc4249 CLOUDSTACK-646: Cleaning up Citrix/eula/CloudPlatform references
Tried to remove any references to license agreements, EULA, Citrix,
or CloudPlatform. Tested through devcloud, didn't see decreased UI
functionality.
2012-12-16 20:39:03 -08:00
Pranav Saxena 30dd34d258 CLOUDSTACK-588:restoreVirtualMachine api functionality on the UI while the VMs are in running or stopped state 2012-12-06 02:35:49 +05:30
Brian Federle 28cc7477b0 Zone wizard UI: Add labels on traffic type edit area
For zone wizard physical network step: Adds a text label to the top of
the 'edit' button indicating what type of traffic type (Management,
Storage, Guest, etc.)
2012-11-30 11:40:06 -08:00
Pranav Saxena d272144efb CLOUDSTACK-552:Quick view details for a volume displays scroll bar in place of name of the volume when the name of the volume has more no of characters 2012-11-28 06:16:42 +05:30
Brian Federle 4b3892a541 Zone wizard: Fix alignment of 'Security groups' checkbox
Conflicts:
	ui/css/cloudstack3.css
2012-11-27 15:26:03 -08:00
Pranav Saxena eaa05f0694 CLOUDSTACK-539:Cropped Text in UI under Quick View 2012-11-27 02:58:25 +05:30
Pranav Saxena ecbd0e91aa CLOUDSTACK-523:When adding Vms to an LB rule , when there are vms with display name that were provided by user and autogenearated uuid , the list vm screen extends beyond the frames original width: Fixed by associating a class with the dialog box 2012-11-20 12:56:14 +05:30
Pranav Saxena c26cb9d069 CS-16078:AutoScale UI development- adding sec to Duration field 2012-11-16 10:56:53 +05:30
Pranav Saxena 2c98ec461f CS-15988:Load Balancing configuration multiEdit table reorganisation 2012-11-16 10:56:53 +05:30
Brian Federle 9fb33ecc21 multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-11-16 10:56:50 +05:30
Brian Federle 2e4923a286 Autoscale UI: Add actions to top of dialog
Support performing actions via the autoscaler dialog. This adds
'autoscaleActions' and 'actionFilter' options to the autoscaler, which
specify and handle the actions appearing in the UI.

Performing these actions will cause a loading overlay to appear until
actions are finished, when the action bar is refreshed via the action
filter.
2012-11-16 10:56:46 +05:30
Brian Federle bbfb13a1d9 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-11-16 10:56:45 +05:30
Brian Federle 29978bdb81 CS-16802: Add isolation mode drop-down to zone wizard
-Adds new radio button pair, 'isolation mode' under Advanced zone
select, allowing selection of isolation mode

-Isolation mode is disabled if 'Basic' zone is selected

-Pass isolation mode via new property 'zone.isolationMode'
2012-11-09 14:38:46 -08:00
Brian Federle 85a107447c CS-16788: Fix width of multi-edit
Conflicts:
	ui/css/cloudstack3.css
2012-11-08 16:11:40 -08:00
Pranav Saxena fda31ab4b7 CS-16767:Add VM's option is not visible while creating Load Balancing Rules with Netscaler [ Basic EIP and ELB Offering] 2012-11-08 14:05:16 +05:30
Brian Federle 7df2866235 Better placement of infrastructure totals and icons 2012-11-06 14:19:49 -08:00
Brian Federle 46cce3a891 Multi-edit: Fix width of select inputs 2012-11-05 16:06:12 -08:00
Brian Federle ee72ae677f Fix input field widths for multi-edit
Conflicts:
	ui/css/cloudstack3.css
2012-11-05 16:06:06 -08:00
Brian Federle d4c1848f33 Fix zone wizard multi-edit for Firefox 2012-11-05 15:50:03 -08:00
Brian Federle 716c35645b CSS: fix small formatting issue 2012-11-05 11:19:23 -08:00
Brian Federle 9e729fa166 Zone wizard UI: fix multi-edit table width 2012-11-05 11:19:17 -08:00
Brian Federle dfffa805bc Multi-edit: fix alignment of table rows and header 2012-11-02 12:38:23 -07:00
Pranav Saxena 49919bcc6f Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-11-02 11:09:18 +05:30
Pranav Saxena af7c8c42a5 CS-12436:Static NAT Enabled box: Button with VM label expands beyond the parent box due to length of the name 2012-11-02 11:08:32 +05:30
Brian Federle 33a7f9ad9c Multi-edit table: add scrollbars for longer values
Add horizontal scrollbar to fix longer values (such as CIDR lists)
causing table to overflow.
2012-11-01 15:32:10 -07:00
Brian Federle cdbfe261ba Add new infrastructure icons 2012-10-26 13:33:38 -07:00
Brian Federle 8bb273de8f Add tooltips to form fields
-Adds tooltips to all dialog-based form fields, to describe what each
 field represents. The tooltip appears on focus of the field, and
 hides once the field is blurred.

-Documentation content is pulled from a new namespace
 'cloudStack.docs', under docs.js. A new attribute, 'docID' is then
 specified on each createForm field to link the field to a specific
 tooltip string.

-If no docID is specified, then no tooltip is rendered.

-This only applies to the 'generic' forms that are rendered using the
 createForm widget

-This still needs to be localized

Conflicts:
	ui/index.jsp
	ui/scripts/configuration.js
	ui/scripts/network.js
	ui/scripts/ui/dialog.js
	ui/scripts/vpc.js
2012-10-22 15:18:22 -07:00
Brian Federle d32eacf502 Section select UI: CSS update
-Remove 'div.list-view' from selector, to allow styling to be used
 across other widgets in the future
2012-10-18 15:04:03 -07:00
Brian Federle d7704422ac UI browser: add panel focus overlay
On hover of a breadcrumb, show an overlay effect which focuses on that
particular panel, hiding all panels after it.

This allows a user to see the content of previous breadcrumbs that the
user loaded.
2012-10-16 14:11:05 -07:00
Brian Federle aa5c0f8323 Fix scrollbars appearing on IE8 2012-10-16 13:27:10 -07:00
Brian Federle ea934c1a02 Update advanced search styling
- Add cancel button

- Move search buttons to the right
2012-10-11 13:27:07 -07:00
Brian Federle 44996d4611 Style advanced search
-Convert advanced search to a drop-down that overlaps the standard
 search when visible

-Add new arrow icon to show advanced search popup
2012-10-11 12:13:55 -07:00
Brian Federle 33da9cb1e2 Container/list view: Fix for floating elements
Fix for cases where floating elements are cut off, such as quickview
and tooltips attached to the container. This makes overflow visible.
2012-10-10 11:18:02 -07:00
Brian Federle 991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07:00
Brian Federle 69f6e33a65 CS-16413: Fix load time for infrastructure main page
-Disable API calls for infrastructure page
-Re-style infrastructure labels
2012-09-28 11:30:42 -07:00
Brian Federle d66f2077d1 CLOUDSTACK-98: Fix alignment of project dashboard event rows 2012-09-18 11:08:41 -07:00
Pranav Saxena 831ade7979 CS-14664:System Wide Capacity Resources Screen has spilling values- Adjusting the table structure 2012-09-08 12:10:22 +05:30
Brian Federle 3f8d9f6b1f VPC UI: Add hover state to virtual router box 2012-08-21 11:22:50 -07:00
Brian Federle aa64dc5fdf Instance wizard: add VPC drop-down
Select VPC drop-down was missing previously from the instance wizard,
add network step. This re-adds it.
2012-08-20 15:16:06 -07:00
Brian Federle 9394e838a5 CS-16001: Show router details on click of 'virtual router'
Clicking the 'Virtual Router' button will show the same router tab as seen on
the VPC detail view.

 -- Note that this is only clickable for admins, as users cannot view router
      details in the API.
2012-08-16 12:36:03 -07:00
Brian Federle 55e224f56d CS-15958: Fix ACL select box
Give fixed width to ACL tier select box, to prevent overflow with long
network names
2012-08-13 11:04:38 -07:00
Brian Federle abbfd74077 Fix _hideFields array not hiding add VM button 2012-08-10 14:03:17 -07:00
Brian Federle 42a9fd641e VPC UI: New ACL flow
-Remove the ACL action from the tier chart item

-Adds an ACL overview list view under the VPC configure menu which
 displays each tier and their total # of ACLs.

-Add ACL edit to tier detail view

- (misc) Also add IP address tab to tier detail view
2012-08-10 13:04:20 -07:00
Brian Federle 83361776fa multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-08-10 10:43:35 -07:00
Brian Federle 72651f62b7 CS-15891: Add view console action to VPC instances list view
Conflicts:
	ui/css/cloudstack3.css
2012-08-07 16:00:35 -07:00
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