Pranav Saxena
cb35d83b85
CLOUDSTACK-604:When editting pod/cluster in UI, there's no save button: A generic issue with the widget where the content from another tab to the adjacent one gets appended :resolved by making the detailsView widget change
2012-12-11 04:22:09 +05:30
Brian Federle
456202162c
Detail view/list view: Pass context to confirm messages
2012-11-13 10:52:32 -08:00
Brian Federle
e6c3e59e39
UI custom actions/enable static NAT: fix loading state
...
Fixes a bug where the loading state is not immediataly set for the
detail view on performing certain custom UI actions, particularly
enable static NAT.
This passes a separate 'start' function to the custom widgets, which
triggers the loading state, and 'complete' when the action
completes (i.e., the server call is done)
2012-10-25 14:40:16 -07:00
Brian Federle
0b2e5f1b17
CS-16567: Support quickview for custom actions
...
For custom actions (such as enable static NAT), fix instance list row
not updating when accessing via the quickview.
2012-10-25 13:59:53 -07:00
Brian Federle
7ed60961f0
Quickview: don't run tabFilter
...
For compact detail view (quickview), don't execute tabFilter, as only
the first tab is rendered in all cases. This prevents excessive API
calls from being made, slowing performance.
2012-10-24 13:40:15 -07:00
Brian Federle
e61aa3aa74
Don't create tag widget in quickview mode
2012-10-18 15:25:09 -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
Jessica Wang
a3c80ebf4e
CLOUDSTACK-109: cloudstack UI - (1) detailView widget - pass context to isEditable() when calling it. (2) account page - Edit action - allow to update network domain on system-generated default admin account.
2012-09-24 16:05:32 -07:00
Mice Xia
8d75c8fe7d
fix for empty event detail page
2012-08-08 15:49:27 +08:00
olgasmola
9c895b14ab
CS-15317: Fix operations with accounts on the Project tab after making another account project owner.
2012-07-27 23:37:46 -04:00
olgasmola
85a13dfe1a
CS-15478: UI cosmetic fix for empty buttons/viewAll section.
2012-07-25 11:33:35 +03:00
Brian Federle
874536a768
Always make tags editable
2012-07-24 12:24:05 -07:00
bfederle
39e1936c87
Fix tags widget overlap with long detail views
2012-07-23 15:18:36 -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
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
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
David Nalley
9687520712
applying Chip Childer's patches for license headers in the ui directory
2012-06-26 10:46:53 -04:00
Jessica Wang
aac1ac555d
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-21 13:43:04 -07:00
Brian Federle
70687e4b44
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:19 -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
Jessica Wang
5168995905
CS-15015: cloudstack 3.0 UI - detailView widget - disable "pollAgainIfValueIsIn" function for now.
2012-05-21 16:12:01 -07:00
Jessica Wang
0282f2d8c9
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:37:46 -07:00
Jessica Wang
62c456501a
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:04:15 -07:00
bfederle
25f57c3f59
Sanitize detail view input rendering
2012-04-23 22:33:08 +01:00
Brian Federle
711551e34f
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:44:08 -07:00
Brian Federle
fc0327677a
Cleanup whitespace + indentation for UI widgets
2012-04-03 15:35:36 -07:00
Brian Federle
6263ae9944
Detail view UI fix
...
Fix case where detail view data does not update, after async action
2012-04-03 14:42:34 -07:00
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
Jessica Wang
3aed5ee830
bug 14586: cloudstack 3.0 UI - fix a bug that Download Template action didn't pop up a dialog box showing download URL.
2012-04-02 16:33:13 -07:00
Jessica Wang
a62fb3a1f9
cloudstack 3.0 UI - domain page - fix a JS error that appears after a new domain is created - "context[$detailView.data('view-args').section] is undefined"
2012-03-30 17:26:48 -07:00
Jessica Wang
30dbea1ff7
bug 12421: cloudstack 3.0 UI - detailView widget - fix a bug that updated data returned by API call got lost, so failed to update detailView with updated data.
2012-03-30 13:32:49 -07:00
Brian Federle
5dccd91be1
Detail view: Always return true on args.response.success
2012-03-23 13:26:28 -07:00
Brian Federle
f82aa63815
bug 14380: Add cancel button to detail view edit action
2012-03-21 11:44:30 -07:00
Jessica Wang
9e352d5928
cloudstack 3.0 UI - listView widget - remove action - remove the corresponding row after action completes.
2012-03-20 15:15:27 -07:00
Jessica Wang
4191d28753
cloudstack 3.0 UI - XSS - detailView in Edit mode - fix it to show original value instead of HTML-encoding value.
2012-03-14 16:45:22 -07:00
bfederle
d28de139b8
Sanitize detail view input rendering
2012-03-14 12:32:42 -07:00
Jessica Wang
078cd90ad9
bug 14190: not refresh embedded data in corresponding list view row because data here is partial (e.g. if it's from Nics tab in instance page instead of details tab in instance page, data is just an array of Nic object, not an array of Instance object).
2012-03-09 13:02:52 -08:00
Jessica Wang
595b7e5c04
cloudstack 3.0 UI - delete zone, delete pod, delete clouster in detailView - after action is finished, remove detailView and remove corresponding row from listView.
2012-03-09 11:26:06 -08:00
Jessica Wang
6cf6820a3f
switch definition of 'destroy' action with definition of 'remove' action. i.e. 'remove' action will hide detailView and remove corresponding row from listView after action is done.
2012-03-01 16:31:55 -08:00
Jessica Wang
41cab515ee
cloudstack 3.0 UI - After destroy action is finished, remove the row from listView.
2012-03-01 15:36:03 -08:00
Jessica Wang
26e45b2b24
fix a JS error: $detailView.data("list-view-row") is undefined
2012-03-01 10:13:18 -08:00
Jessica Wang
389b981532
cloudstack 3.0 UI - detailView widget - refresh embedded data in corresponding list view row when dataProvider is called.
2012-02-29 17:23:36 -08:00
Brian Federle
84b18473e7
bug 13922
...
-Fix enable static NAT never completing if detail view was not visible
-- caused by JS error in widget
-If detail view isn't visible anymore, don't show post-enable/disable
NAT dialog which refreshes list view
2012-02-22 12:04:18 -08:00
Jessica Wang
65d9b60d42
bug 13648: fix a bug in listView widget - $listView.length is 0 after calling $(window).trigger('cloudStack.fullRefresh'), calling $listView.listView will encounter an error when $listView.length is 0.
2012-02-20 14:44:57 -08:00
Jessica Wang
dd62086b4b
bug 13862: change detailView widget to show error text returned in API response.
2012-02-17 14:00:47 -08:00
Brian Federle
c721344752
Missing detail view widget localization
2012-02-14 12:54:39 -08:00
Brian Federle
6fed8f102a
Localization for network->networks section
2012-02-09 15:58:00 -08:00
Brian Federle
d2284e4439
UI: localization
...
-Put localization wrappers around listView, detailView widgets
-Add initial localization for instances section
2012-02-09 10:39:59 -08:00
bfederle
b57c72d98b
Fix detail view UI destroy action
2012-02-03 15:41:27 -08:00