544 Commits

Author SHA1 Message Date
Mihaela Stoica
f212aa57c3 CLOUDSTACK-7293: UI: Fixed localization issues on the login page
- Reverted the validator.messages to the original values (jquery.validator.js).
- Added a function to localize validator.messages which is called before login.

Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-08-15 10:51:28 -07:00
Mihaela Stoica
3bcd22bdaf Added the ability to show warning (exclamation mark) icon on confirmation dialogs.
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-08-14 14:04:22 -07:00
Brian Federle
cf8a00cbfd Quickview: Fix action error handling not removing loading state 2014-08-12 15:20:56 -07:00
seif
9d776f4f2c GUI changes to leverage a new control for storage tags 2014-08-12 14:41:22 -06:00
Brian Federle
d9fcb87730 CLOUDSTACK-6590: Fix view all link for multi-item detail view
-- Specifically, this fixes issue where secondary IP 'view all' link was
   not displaying, due to a change in the rows' CSS naming conventions
   in the widget.
2014-08-12 13:20:54 -07:00
Mihaela Stoica
af37743045 CLOUDSTACK-7302: UI: Remove Hover Interaction from breadcrumbs at top page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-12 11:36:45 -07:00
Jessica Wang
74847dce47 UI > dialog widget > text field > set default value > pass context to function(){}. 2014-08-07 18:55:52 -07:00
Brian Federle
4d952d0a09 createForm, dyanmic input type: Pass in context 2014-07-31 15:32:18 -07:00
Brian Federle
2a01fd4c51 Quick view: remove extra padding area
Remove extra 'buffer zone' around quick view tooltip. This was
causing misleading behavior in some cases, due to the cursor being
hovered over a different row while another row's quick view was
still open
2014-07-17 11:42:32 -07:00
Brian Federle
b58371e520 List view: Fix action pre-filter for multiselect actions
Evaluates pre-filter for individual actions (i.e., when action.preFilter is specified)
every time a multi-select row is checked orunchecked. This allows multi-select
actions to be shown/hidden on a per-row basis.
2014-07-15 13:30:56 -07:00
Brian Federle
36e5cc2b6a Fix for non-grouped detail view
Fix issue where non-grouped detail page (i.e., instances stats page)
doesn't load due to the fields being passed as an object, not an array.
2014-07-14 15:49:07 -07:00
Brian Federle
ab8036b766 List view: View subselect on infinite scrolling
Fixes issue where outdated context is passed to subselect's data provider
when infinite scroll event loads more data items. Now, context is derived
from DOM data directly instead of in the args.
2014-07-10 16:43:31 -07:00
Brian Federle
ad051e8504 List view: Fix infinite scrolling
Fixes condition where, on 'refresh' of list view, infinite scrolling no longer
works due to leftover state prior to refresh. Now page # and end-of-list
indicator are stores in DOM object, for easier cleanup
2014-07-02 16:02:52 -07:00
Brian Federle
667347d17e List view: Fix issue with multiple selection actions
Fixes issue where duplicate and/or incorrect list view entries were
being passed due to list view object not being referenced relatively for
multi-select actions, causing more than one list being passed at times.
2014-07-01 11:44:38 -07:00
Brian Federle
bc4be5272b Detail view: support per-action filtering
Adds support for adding preFilter on a per-action basis, to assist in
plugin development. If action.preFilter function is passed, and returns
true/false, the action is shown/hidden. If no preFilter is specified,
then the action will be passed through the detail view's standard filter.

Example:

testAction: {
    label: 'Test Action',
    ...
    preFilter: function(args) {
        return false; // Action will be hidden
    },
    ...
}
2014-06-18 14:02:16 -07:00
Jessica Wang
dbbc6d42fd CLOUDSTACK-6936: UI - (1)dialog widget > dropdown field > provide a blank option if there is no data for option(s) in a dropdown field. (2) Add Primary Storage dialog - cluster dropdown field - still calls args.response.success() when there is no data for option(s). 2014-06-18 12:23:10 -07:00
Brian Federle
6fcd4fbe7b List view: Pass ID to action pre-filters 2014-06-18 11:52:06 -07:00
Brian Federle
04b1e31682 List view, multiSelect: Fix issue where $listView isn't always referenced 2014-06-16 14:11:56 -07:00
Brian Federle
8cf5192a6f List view, multiselect: Only reference elements relative to $listView 2014-06-16 14:07:29 -07:00
Brian Federle
cd17061916 Detail view: Cleanup old tab content on change
Add event handler on tab change to remove all old tab content. This prevents
potential conflicts with referencing widget data caused by old content laying
around.
2014-06-12 13:33:21 -07:00
Brian Federle
2ac0013505 List view: multi-select actions: Show loading icon during action 2014-06-05 12:29:20 -07:00
Brian Federle
c312aa95c2 List view->Detail view: Add new parameter 'noPanelView'
Adds 'noPanelView' option for detail view connected to list view. When
specified, don't support opening the detail view in a new browser pane (i.e.,
only render quickview).
2014-06-03 11:25:57 -07:00
Brian Federle
0b5163f8cf Tree view: Add event hook on sub-item removal 2014-05-29 14:02:47 -07:00
Brian Federle
e656fd67a0 Tree view: Add event hook on sub-item creation 2014-05-29 12:53:36 -07:00
Brian Federle
8a6926606e Treeview widget: Fix condition where browser is not present 2014-05-28 14:55:37 -07:00
Brian Federle
53ba037f86 Detail view: Fix case where view all link referenced wrong details object 2014-05-28 11:41:51 -07:00
Brian Federle
c769b32e70 List view: Support rendering data cells as a list
If array is passed in field data, render the table cell as a list.

Example:

dataProvider: function(args) {
    args.response.success({ data: [ fieldA: ['i1', 'i2', ...] ] })
}
2014-05-22 15:10:33 -07:00
Brian Federle
2c54e5e2c5 Detail view: Slice (clone) fields array to prevent duplicate fields 2014-05-16 08:27:03 -07:00
Brian Federle
3ab526433c Detail view: Add event hook on field creation 2014-05-16 08:20:48 -07:00
Dariusz Nejbauer
41684505d6 CLOUDSTACK-3932: UI: Fix Truncation issue in secondary storage URL
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-05-05 12:15:37 -07:00
Brian Federle
4f45c972c3 CLOUDSTACK-6438: Filter out existing IPs in dropdown 2014-05-01 15:40:47 -07:00
Gabor Apati-Nagy
156b08af5f CLOUDSTACK-6255
UI for supporting region level VPC, distributed routing enabled VPC and
stretched L2 neworks
2014-04-24 15:05:59 -07:00
Brian Federle
5335ae7753 List view, dialog VM select: Widen name field to better fit IP subselect box 2014-04-24 11:30:20 -07:00
Brian Federle
4c4cfe5e13 Create form: Store passed JSON object in select options, for plugin use 2014-04-17 15:52:56 -07:00
Brian Federle
e35bec515f CLOUDSTACK-6342: UI changes for secondary IP on LB rules
This is front-end only; API call changes still need to be done.
2014-04-15 14:42:11 -07:00
Chris Suich
a3bfda1350 Fixed issue with labels being displayed in dialog
CLOUDSTACK-6368
2014-04-12 11:17:30 -04:00
Jessica Wang
14f27997dc CLOUDSTACK-6342: UI - Load Balancing - LB rule listing - pass lbvmips=true to listLoadBalancerRuleInstances API and display "VM + IP Address" under each LB rule. 2014-04-08 11:13:09 -07:00
Gabor Apati-Nagy
e65d6bd3a8 CLOUDSTACK-6227 (Add copy-paste support for detail view fields):
DetailView widget now supports bool isCopyPaste property that can be set
for fields. If this is set to true, the text of this field is displayed
using ellipsis formatting* and a copy-paste icon is available right next
to it. On clicking this icon, the full text is displayed

*: tooltip is also enabled showing the original non-ellipsed value
2014-03-28 10:15:19 -07:00
Brian Federle
f34f001371 Fix incorrect context being passed to hosts->instances section
Fixes issue where, if an action is being performed from the quick view in the
'Instances' section, the old context will be passed when viewing instances in
the 'hosts' section, causing all instances to be displayed. This was caused
by the quickview tooltip still being in the DOM, even after closing it by
clicking an action.
2014-03-18 14:31:28 -07:00
Jessica Wang
415e4bffd6 CLOUDSTACK-6226: UI > multi widget > dropdown field > translate option value. 2014-03-11 11:19:00 -07:00
vetrivelc
182c31899b Externalized the hardcodedstrings from UI JAVASCRIPT files. 2014-03-05 14:11:51 -08:00
Brian Federle
e1e554277a UI Dialog: Was passing wrong field data for makeFields event 2014-03-05 13:34:48 -08:00
Brian Federle
8b0e04be61 Dialog: Trigger event when createform fields are being drawn
Trigger new event 'cloudStack.createForm.makeFields'
before field params are being passed to createForm for rendering.

This allows plugins to change and intepret fields before they are drawn.
2014-03-04 16:11:26 -08:00
Brian Federle
c93b2fa605 UI dialog: Add event trigger on form creation, to aid in plugin development 2014-02-28 14:21:59 -08:00
Jessica Wang
e2b13a344a CLOUDSTACK-6120: UI > listView widget > reorder list > drap to new position > fix a JS error "map1 is undefined". 2014-02-20 13:35:52 -08:00
Brian Federle
b01720d936 listView: Fix 'addRow' event being triggered under wrong scope 2014-02-19 14:36:23 -08:00
Jessica Wang
e1e16a2301 CLOUDSTACK-6120: UI > listView widget > sorting order > fire only one sorting API call(updateXXXXXXX&sortKey=n&id=UUID) for items who have the same UUID.
e.g. An Template/ISO of multiple zones have the same UUID.
2014-02-14 12:55:53 -08:00
Brian Federle
0ea93d6904 Form dialog UI: Support on cancel action
If args.cancel is passed to createForm widget, call it when cancel button is
clicked.

Example:

createForm: {
    cancel: function() { ... },
    ...
}
2014-02-13 14:33:53 -08:00
Brian Federle
c2c7d33d8e Detail view UI: Fix embedded list view actions
Fixes case when detail view has an embedded list view with action, that
the action is handled by detail view instead of list view, causing
unexpected behavior
2014-02-05 11:47:04 -08:00
Brian Federle
25d8e3d7db Browser UI: Fix broken breadcrumb navigation
Fix breadcrumb navigation becoming stuck when going back a couple
levels, due to previous panels not being removed from the DOM
2014-01-28 11:54:12 -08:00