Chris Suich
58f287c62f
Commiting multi select stuff for inital review
2013-09-27 16:57:44 -07:00
Brian Federle
e59e1d148b
CLOUDSTACK-4710: Fix broken help link
2013-09-19 13:36:58 -07:00
Jessica Wang
9b81c91e31
CLOUDSTACK-4700: UI > Instances > Reset VM action > if the template from which vm is created is password-enabled, pop up "Password hsa been reset to xxxxxxx" dialog.
2013-09-18 11:42:14 -07:00
Jessica Wang
4f61396c61
CLOUDSTACK-4688: UI > (1) Notifications widget - pollTimer() - error handling - check if args is null before trying to access args.message property (2) sharedFunctions.js - pollAsyncJobResult() - error handling - pass message argument to args.error().
2013-09-17 16:38:33 -07:00
Jessica Wang
12e295d757
CLOUDSTACK-4687: UI > listView widget > actions in a grid row > when an action is completed, refresh the grid row with only data returned by getUpdatedItem() instead of combination of data returned by getUpdatedItem() and original embedded data in grid row.
2013-09-16 13:59:05 -07:00
Jessica Wang
3f4ef406cf
CLOUDSTACK-4102: UI > widget > extend dialog widget to have dynamic description.
2013-08-22 15:04:18 -07:00
Brian Federle
da83e12d6b
Revert "Create compute offering UI: Use big size for form"
...
Due to some usability issues with the form layout, reverting the
'bigSize' functionality from the createForm.
2013-08-14 10:53:26 -07:00
Chris Suich
f03001d271
Extended UI fields to allow for specifying the identifying json field.
2013-08-14 10:29:23 -07:00
Chris Suich
9c9724d470
Extended UI field defaultValue (and isChecked) to allow for functions not just literals.
2013-08-14 10:27:04 -07:00
Brian Federle
8f34dc192f
UI form dialog: Support dynamic unit conversion for fields
...
Adds a new dialog field type called 'has_units'. This field has an
input box side by side with a select box. The select box is populated
with predefined units (MB, GB, TB, for example) and uses (also
predefined) conversion functions to allow automatic updating of the
input box value when the units select box is changed.
Original author: Chris Suich <chris.suich@netapp.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
Example:
fields: {
...
size: {
...
has_units: true,
units: [
{
id: 'gb',
text: 'GB',
fromBase: function(val) { ... return val; },
toBase: function(val) { ... return val; }
},
...
]
}
}
2013-08-13 15:33:31 -07:00
Jessica Wang
efde50fa1e
CLOUDSTACK-4092: UI > listView widget: fix a bug that a grid row was incorrectly removed when a non-add action of listView failed.
2013-08-07 11:09:40 -07:00
Brian Federle
554c8b7ac1
CLOUDSTACK-2340: Display service state for health-checked VMs
2013-08-05 11:42:46 -07:00
Jessica Wang
f62791a4a2
CLOUDSTACK-3344: UI > util > _s() should not include ampersand.
2013-08-01 11:42:25 -07:00
Brian Federle
7c5b48425f
CLOUDSTACK-3560: UI createForm: Support multiple dependsOn targets
...
Support passing list of dependsOn targets for form fields. This will
trigger a change if any items specified in list are changed.
Example:
fieldA: {...},
fieldB: {...},
fieldC: { dependsOn: ['fieldA', 'fieldB'] }
2013-07-24 14:25:31 -07:00
Brian Federle
bcfe4c2e99
CLOUDSTACK-3153: Fix numbering of ACL items
...
Re-number dragged items in increments of ten, and use an average of
the previous and next number, so that multiple reorders can occur
before conflicts happen.
2013-07-24 11:04:40 -07:00
Brian Federle
dfdbf20b67
Add disallowSpecialCharacters to some fields
2013-07-23 15:12:58 -07:00
Isaac Chiang
39a730ccd1
CLOUDSTACK-3388:No error message shows when a dedicate operation failed during the creation of a pod/cluster
2013-07-22 15:33:48 +08:00
Ian Duffy
ad69bc8da3
Format JS
2013-07-18 12:34:20 -04:00
Brian Federle
9e5449c347
Detail view: Fix context not being refreshed on perform action
2013-07-08 15:53:14 -07:00
Brian Federle
c94cb0fc41
CLOUDSTACK-3153: On reorder, only update target ACL item's number
2013-07-08 10:58:04 -07:00
Brian Federle
bd1ddee557
UI: Localize app name and 'about' window
2013-07-02 11:59:20 -07:00
Brian Federle
41a8cc7c69
Multi-edit: edit rule UI: fix regression and restore functionality
2013-07-01 14:35:10 -07:00
Jessica Wang
6ea38bff16
reverts commit 7e96bf5f19 which causes regression of CreateAccount dialog.
2013-06-27 09:50:57 -07:00
Brian Federle
7e96bf5f19
CLOUDSTACK-3170: Support editing ACL rule items
2013-06-26 12:28:37 -07:00
Jessica Wang
0b4e0b307f
BUG-ID: CS-17733 - make detailView widget to pass jsonObj to tagger widget, so dataProvider in tagger widget is able to pass projectid to listTags API.
...
Reviewed-by: Brian
2013-06-24 11:30:35 -07:00
Brian Federle
8bd204f771
UI form dialog: Support left-right field columns
...
For larger forms, if 'bigSize' is specified in form options, dialog
will widen to a 2-column layout. This is to prevent the form fields
from going off the bottom of the screen.
2013-06-21 14:33:26 -07:00
Brian Federle
231c4b5b10
CLOUDSTACK-2716: Truncate long values
...
For cases such as in global setting values, truncate long text if new
option 'truncate: true' is specified in field properties. This will
reduce td's max-width and add ellipses. Edit field on truncate: true
columns will overflow into action column, to prevent input area from
being too cramped.
2013-06-18 15:16:35 -07:00
Brian Federle
b7def43427
CLOUDSTACK-2080: Fix error handling for multi-edit actions
2013-06-18 13:48:07 -07:00
Isaac Chiang
2fb18db7b1
CLOUDSTACK-2976: At zone level setting same parameter page is getting
...
displayed repeatedly when you scroll down
2013-06-16 23:04:33 +08:00
Brian Federle
f15a7c3f8e
Code cleanup
2013-06-10 10:43:31 -07:00
Brian Federle
88a62ab890
List view widget: Support 'listView' selection for actions
2013-06-05 16:20:05 -07:00
Brian Federle
dfdb8a967e
CLOUDSTACK-1742: Better text labels for secondary IP UI
2013-06-04 16:06:48 -07:00
Brian Federle
66f5d4a537
Fix dialog overlay 'buildup' when changing some selects
2013-05-31 14:58:12 -07:00
Brian Federle
ea440f2593
Add API calls to update ACL item order on drag-and-drop
2013-05-22 15:50:19 -07:00
Brian Federle
b88da4e1c1
VPC UI: Reload chart on perform detailView action
2013-05-21 15:36:50 -07:00
Brian Federle
dfa93b52a8
Detail view actions: Add support listView selection
...
Adds a new dialog 'cloudStack.dialog.listView'
-- Supports displaying a list view in a popup dialog, for selecting
items for an action (i.e., selecting VMs for an LB rule). Arguments
are a list view object and the 'type' of selection: either
'checkbox' or 'radio'
Example:
detailView: {
name: 'Internal Lb details',
actions: {
assignVm: {
label: 'Assign VMs to LB',
messages: {
notification: function(args) { return 'Assign VM to internal LB rule'; }
},
listView: $.extend(true, {}, cloudStack.sections.instances.listView, {
type: 'checkbox',
filters: false
}),
action: function(args) {
args.response.success();
},
notification: {
poll: function(args) {
args.complete();
}
}
}
},
...
}
2013-05-21 15:07:21 -07:00
Brian Federle
451c83c998
Fix listView add/replace row for VPC section
2013-05-21 12:52:55 -07:00
Brian Federle
34d7014c88
ACL multi-edit: Fix reorder drag handle
2013-05-15 15:58:55 -07:00
Brian Federle
cb31791adf
WIP ACL draggable multi-edit
2013-05-14 16:25:37 -07:00
Isaac Chiang
a9f0fb8009
CLOUDSTACK-2076:Listview widget infinte scrolling error
2013-05-05 01:57:35 +05:30
Pranav Saxena
1206fd6b4e
Widget change to incorporate VM state while adding a load balancer rule
2013-05-02 22:25:47 +05:30
Pranav Saxena
ba9feabe8c
Widget change to incorporate VM state while adding a load balancer rule
2013-05-02 21:02:51 +05:30
Brian Federle
6b1da42221
Detail view, multi-group actions: Prevent refresh of all tabs
...
Prevent call to updateTabContent, which will switch the detail view
off the current tab on action complete.
2013-04-26 15:32:15 -07:00
Brian Federle
86a9f27692
Detail view/instances section: Fix context, add makeDefault action
...
-Add 'makeDefault' action to set default NIC
-Fix context passing for multi-actions, which wasn't passing the correct
nic object previously.
2013-04-26 15:21:57 -07:00
Brian Federle
c02a4b9c7f
Fix remove NIC UI behavior
2013-04-26 13:42:56 -07:00
Brian Federle
b7b7753f1d
Fix detail view 'add action' for multi-group tab
2013-04-26 12:37:08 -07:00
Brian Federle
18a337270d
Merge branch 'master' into ui-add-remove-nics
2013-04-25 11:09:51 -07:00
Brian Federle
e5cea0204b
detailView UI: Fix quickview actions not updating list view row
2013-04-22 11:52:52 -07:00
Brian Federle
72da1ae969
listView, custom checkbox UI: Fix pre-checked checkbox state
...
Fixes pre-checked checkboxes not having multi-edit-selected class,
preventing item data from being passed to custom widget actions.
2013-04-22 11:26:24 -07:00
Brian Federle
a589a367d0
List view UI: Support pre-selected checkboxes
...
In listings with checkbox actions, if _isSelected: true is passed in a
data item, then pre-select the checkbox on load.
2013-04-15 14:02:42 -07:00