Commit Graph

213 Commits

Author SHA1 Message Date
Jessica Wang de4d5cdc94 cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-18 11:40:09 -07:00
bfederle c69da45217 UI: Implement tagging widget
Implement a special form on input text field, for handling tag-based
fields. This will tags as a set of list items, which can be removed
and added to. This is for any comma-delimited field.

Currently, this is only supported on detail view widgets, by adding
'isTag: true' as a new attribute for any tag field. Tags are modified
when clicking the 'edit' action.
2012-07-18 11:33:12 -07:00
Jessica Wang e1e7780efc cloudstack 3.0 UI - multiEdit widget - make headerFields shown as default for now until "listPublicIpAddresses&id=N" API is fixed to return an object. 2012-07-17 15:51:51 -07:00
Jessica Wang 140768c82b cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-17 15:42:01 -07:00
bfederle 843b3dceaf CS-15572: Fix page index for list view filters
This fixes an issue where the page index is not reset back 1 when
activating the search or filter functionality, causing truncation when
trying to scroll down to later pages.
2012-07-17 11:38:56 -07:00
Jessica Wang dcea0a70f9 cloudstack 3.0 UI - listView widget - pass context from caller function. 2012-07-16 13:49:26 -07:00
Brian Federle 3267553af1 Detail view: Fix layout of text actions 2012-07-12 15:26:07 -07:00
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
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
Brian Federle 9b1395ec0f List view widget: Pass $listView object to dataProvider 2012-07-11 16:19:57 -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 d67d93da5d Add header fields 2012-07-10 13:40:55 -07:00
Brian Federle 1989dce8d0 Fix 'About' page for CloudPlatform 2012-07-06 12:07:32 -07:00
Jessica Wang a7f3c4ba20 cloudstack 3.0 UI - (1) to distinguish between getUpdatedItem() and getUpdatedData(), rename getUpdatedData() to getUpdatedItemWhenAsyncJobFails() since it's being called only when async job fails. (2) fix the space problem (tab size is not 2) from patch. 2012-06-26 15:07:13 -07:00
olgasmola efc45f9ee9 CS-15329: Instances with Error states appear in Instances list after creating. 2012-06-26 15:07:12 -07:00
bfederle a764c9a09d CS-15287
Support validation on edit detail view

Original patch by: olga.smola
reviewed-by: brian
2012-06-26 13:31:37 -07:00
bfederle 25e3f6cebc CS-15315: Fix overlay positioning
Original patch by: olga.smola
reviewed-by: brian
2012-06-26 10:23:33 -07:00
Jessica Wang 1656176971 CS-14854: cloudstack 3.0 UI - (1) extend detailView widget to take in dynamic isEditable value. (2) template page - edit template action - for regular user and domain admin: make Extractable field and Featured field non-editable. Do NOT send “isfeatured”, “isextractable” to updateTemplatePermission API when they are non-editable. 2012-06-18 13:25:42 -07:00
Brian Federle a9d1d13878 CS-14230
Add password confirm to add account/user forms

Original patch by: oyla.smola@gmail.com
Reviewed-by: brian
2012-06-14 11:34:10 -07:00
Brian Federle 5528cdd954 Update breadcrumb hover effect
-Use 1s interval (instead of 2s) until showing panel

-Use .fadeOut on panel focus, for smoother transition
2012-06-11 15:12:57 -07:00
Brian Federle d7f00f2c45 CS-14877: Focus browser panel on breadcrumb hover
When mouse is over a breadcrumb for a period of > 2s, show its
respective panel until mouseout. This allows a user to see the
contents of the panel without having to select it.

reviewed-by: brian

Original commit:
commit 88be929e04826cd1159a2db7dbca220f7eadf5fd
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Fri Jun 8 14:17:42 2012 +0530

    CS-14877: Expanded breadcrumb navigation on hover UI Requirement
2012-06-11 12:52:10 -07:00
bfederle 7b9b3c1e1d CS-14010
Add 'about' dialog to the CloudStack top header, showing current verison
information.

Patch submitted by: oyla.smola@gmail.com
Reviewed-by: brian
2012-06-11 11:11:20 -07:00
bfederle 94f7023457 CS-15120
Don't render action column if only header-level actions are present.
2012-06-05 13:26:57 -07:00
Brian Federle b3f5728ac3 CS-14844: Fix edit action
Fix edit action by referring to the new td.value <span>, instead of
td.value
2012-05-25 12:24:31 -07:00
Brian Federle 5f4e45fbf2 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:56 -07:00
Jessica Wang 851e152dac CS-15015: cloudstack 3.0 UI - detailView widget - disable "pollAgainIfValueIsIn" function for now. 2012-05-21 16:10:56 -07:00
Jessica Wang 5501e85c2e cloudstack 3.0 UI - Instance page - detail view - keep polling newest info from server if VM state is Starting or Stopping. 2012-05-21 15:36:27 -07:00
Jessica Wang 3b51b1865f CS-15015: cloudstack 3.0 UI - detailView widget - add new property "pollAgainIfValueIsIn" to keep polling newest info from server when a column has a specific value (e.g. volume state column has value 'UploadNotStarted') 2012-05-21 14:03:10 -07:00
Brian Federle 296f52e3af CS-13861: Fix 'isChecked: false' not working on IE 2012-05-17 12:34:45 -07:00
Brian Federle d879d370e0 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:56 -07:00
Brian Federle d7cdd71ada CS-14715
Concatenate long user names, to prevent header bar from wrapping

Conflicts:

	ui/scripts/ui/utils.js
2012-05-14 12:44:00 -07:00
Jessica Wang 092b87aebe CS-14116: cloudstack 3.0 UI - (1) add guest network dialog: make vlan/gateway/netmask required when network offering is "Shared". (2) dialog widget: be able to change field to required or not-required after createForm is rendered. 2012-05-04 15:05:49 -07:00
Jessica Wang 92dc870f3e cloudstack 3.0 UI - dialog widget - add new function cloudStack.dialog.createFormField.validation.required.add(), cloudStack.dialog.createFormField.validation.required.remove() 2012-05-02 14:02:03 -07:00
Salvatore Orlando 4643e403ff Finishing merge with 3.0.x 2012-05-01 15:08:51 +01:00
Brian Federle 19ffa64980 Add field ID to list view <th>s 2012-05-01 13:48:41 +01:00
Brian Federle 0f4f1049a7 Add tests for navigation and homepage; basic fixes 2012-05-01 13:47:23 +01:00
Brian Federle 33a066def4 Only show invitations if projects UI is initialized 2012-05-01 13:47:20 +01:00
Brian Federle 94dea8aadb UI: Browser widget fix
Fix elems.undefined error, which happens when destroyed panel
continues to animate.

-- This happened particularly in the domain section, when clicking
to/from another section while the details panel was sliding in.
2012-05-01 13:13:02 +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 ec3ec924b6 Missing detail view widget localization 2012-05-01 11:59:08 +01:00
Jessica Wang b55ccc10fb bug 12688: fix a bug in listView widget that didn't pass correct filterBy object to loadBody(). 2012-04-16 14:58:28 -07:00
Jessica Wang ac5626619c cloudstack 3.0 UI - dialog widget - remove a line that produced a bug that change event is trigger before data is populated in this dropdown in selectFn($.extend(selectArgs, dependsOnArgs)). Besides, selectFn($.extend(selectArgs, dependsOnArgs)) includes the line, $input.trigger('change'), already. 2012-04-12 16:22:47 -07:00
Brian Federle 60c1fccd75 UI: detail view
Support dynamically updating context on detail view load, to support cases
where certain context items are required by other elements loaded, but may not
be present in the browser history.
2012-04-05 15:45:16 -07:00
Brian Federle d48cb95d94 Cleanup whitespace + indentation for UI widgets 2012-04-03 15:48:49 -07:00
Brian Federle d2128d7a1c Use newer format for addPanel for nav items 2012-04-03 15:48:23 -07:00
Brian Federle 686d899bb7 Only show invitations if projects UI is initialized 2012-04-03 15:47:52 -07:00
Brian Federle b5d0d41f83 Detail view UI fix
Fix case where detail view data does not update, after async action
2012-04-03 14:51:58 -07:00