Commit Graph

468 Commits

Author SHA1 Message Date
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
Brian Federle 9f18b075a9 List view: Fix advanced search not popping up with multiple panels 2014-01-27 13:33:12 -08:00
Jessica Wang a2b3e3a60d CLOUDSTACK-5840: UI > Secondary Storages > remove "prepareObjectStoreMigration" action (since prepareSecondaryStorageForMigration API has been removed from server-side). 2014-01-10 10:45:19 -08:00
Brian Federle 7e4407d3dd CLOUDSTACK-5532: Tag UI: Truncate long tag key/value 2013-12-17 11:15:41 -08:00
Brian Federle 6ad0e4913e CLOUDSTACK-5276: Remove wrong select column from LB/PF list select 2013-12-16 14:04:53 -08:00
Brian Federle 44f71f06e2 CLOUDSTACK-5477: Fix view all link breaking detail view
Fixes issue where 'view all' link permanently writes properties to
cloudStack namespace, causing breakage when viewing detail view from
another location.
2013-12-13 10:37:40 -08:00
Brian Federle 248195fcd7 List view: Fix context not being passed correctly to header actions pre-filter 2013-12-10 15:20:39 -08:00
Chris Suich 06344db330 Added quiescevm option to volume snapshot dialog when storage supports it
CLOUDSTACK-5388
2013-12-06 13:09:55 -08:00
Brian Federle d09d21847c Detail view: Allow passing error with custom action's complete fn 2013-12-06 12:34:31 -08:00
Chris Suich ee607646c9 Added load vs refresh context for dataProviders
CLOUDSTACK-5384
2013-12-05 11:16:50 -08:00
Brian Federle 2ed41270ce Detail view: Fix error on refresh from async action
Fixes error on detail view actions when list view subsection has a custom ID
2013-12-04 09:39:52 -08:00
Brian Federle 10cd11637a CLOUDSTACK-5266: Fix quickview not working for VR sections 2013-12-04 09:00:16 -08:00
Chris Suich 4ecf6df5f6 Fixed issue with ListView 'needsRefresh' overlays not being removed
JIRA-5368
2013-12-04 07:38:03 -08:00
Brian Federle 285c06865c List view: Support passing custom ID to detail view context
For section select list views, if 'id' is specied under section: {},
then use that ID instead of the section's key ID. This allows sections
to use i.e. the same ID as each other for a consistent context ID.
2013-11-21 13:56:29 -08:00
Chris Suich 5fb7c29726 Fixed issue with detail view fields marked as 'isPassword' not being obfuscated
CLOUDSTACK-5111
2013-11-14 12:17:00 -08:00
Brian Federle 599dd1a6e6 multiEdit: extend field hide/show functionality
-Support passing isHidden option as closure, for conditional hide/show
 based on context

-Adds new option format for isHidden option:

return false == show field and all columns (default)
return true == hide only header and form column
return 2 == hide header and form, as well as returned item column -- these
item columns will be skipped over entirely, not just hidden
2013-11-05 14:35:05 -08:00
Brian Federle ccab740129 List view: Fix refresh not loading multi-select column 2013-10-31 16:40:00 -07:00
Brian Federle 0019e42ce0 Notification area: Show more detail in errors
-Show actual error message (if available) in the notification item

-Minor layout/padding tweaks
2013-10-31 16:17:52 -07:00
Brian Federle 1a7872d189 Notifications: New alert style
-Move corner alert to pop up under notification area, intead of in the
 window corner, for better visibility

-Give alert box tooltip appearance
2013-10-31 15:55:26 -07:00
Brian Federle f930ccda99 Multiselect: Fix size and alignment on select column 2013-10-31 13:28:06 -07:00
Brian Federle 152e23a00b UI plugins: Fix side nav behavior
Due to usability issues, any UI plugins that add a main section (via the
addSection function) will now be shown in the 'Plugins' area by clicking
on the relevant tile. This is to prevent overflow of the side nav bar
caused by too many plugins being loaded.
2013-10-31 11:27:50 -07:00
Brian Federle 7695fff17b Infra. dashboard UI fixes
-Fix totals not showing up

-Increase height of socket info area to fit more hypervisors
2013-10-29 14:55:51 -07:00
Brian Federle e9dcdc0411 Style header bar 2013-10-28 11:12:57 -07:00
Jessica Wang ad51b8edfb CLOUDSTACK-4966: UI: (1) detailView widget: extend detailView widget to support destroy action that will close detailView and remove item from listView when toRemove parameter is passed.
(2)Destroy Instance action: add expunge option for root-admin and domain-admin. When expunge is set to true, instance will be expunged right after destroyed.
2013-10-25 13:48:50 -07:00
Brian Federle f185eac4b5 Quickview: Fix positioning 2013-10-24 15:52:54 -07:00
Brian Federle 71a38b74c3 Browser widget: Modify behavior
-For better screen real-estate, make all
 browser panes open to full width of content area by default, unless
 partial: true is passed in options

-Remove animation effect, for quicker browsing
2013-10-24 15:52:54 -07:00
Jessica Wang 5133812c85 CLOUDSTACK-4649: UI > (1) detailView widget: pass $detailView property in action.action({}).
(2) Edit Template action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
(3) Edit Instance action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
2013-10-23 12:51:08 -07:00