544 Commits

Author SHA1 Message Date
Brian Federle
ed7ebf57cc List view: Add event hook on add row
Adds new event 'cloudStack.listView.addRow' which is triggered after new
data row is appended. It passes the table row ($tr) in the data.
2013-03-06 13:48:49 -08:00
Brian Federle
fb8f33d2c7 Merge branch 'master' into ui-multiple-nics 2013-03-05 10:37:17 -08:00
Pranav Saxena
fd335b4b7b CLOUDSTACK-1493:IP Reservation UI tooltip enhancement for detail view: Widget modification done to support this enhancement 2013-03-04 16:37:31 +05:30
Brian Federle
e653c02515 Merge branch 'master' into ui-multiple-nics 2013-02-28 12:47:36 -08:00
Brian Federle
b9a459c24d Regions UI: Move to separate source file, add real data, update style
-Move region UI code to ui-custom/regions.js, to separate from core UI
 rendering

-Pull real data and endpoint URL on region select list, from data
 provider in scripts/regions.js

-Make region selector have same appearance as notifications box
2013-02-26 15:55:02 -08:00
Brian Federle
84b73b979f Close region selector on overlay click 2013-02-26 15:08:07 -08:00
Brian Federle
affd70ddcd Region selector: Add buttons, more styling, placeholder functionality 2013-02-26 15:05:06 -08:00
Brian Federle
fb44e6d7ed Add basic region drop-down 2013-02-26 14:28:22 -08:00
Brian Federle
e3439bc8d0 Add select region icon to top bar 2013-02-26 14:02:05 -08:00
Brian Federle
2c8cb3630e Multi-edit: Allow horizontal overflow 2013-02-26 11:31:34 -08:00
Brian Federle
b652d2e4ba Implement view all behavior for multi-items
-Call viewAll() on click to open new panel with corresponding view

-Pass context of selected item (such as nic object) to panel

-Allow custom title for panel
2013-02-25 11:05:42 -08:00
Brian Federle
4c0fd582dc Style view all button 2013-02-22 16:05:21 -08:00
Brian Federle
29f9137e2d WIP: Add view all button to NIC 2013-02-22 15:53:48 -08:00
Brian Federle
1ac86e96cb Quick view UI: Fix to support multiple quick links
There was previously a limitation in the detail view/quickview where
only 1 'view all' link was visible per page. Change this to show n
number of view all links, if an array is passed to 'viewAll.' This also
lowers the # of clicks necessary to navigate to some items.

This also adds more view all buttons to instances, storage, and system
resources.
2013-02-21 15:09:03 -08:00
Brian Federle
dfaffcebad Merge branch 'master' into ui-plugins
Conflicts:
	ui/index.jsp
2013-02-13 14:03:53 -08:00
Mice Xia
9a12756ae4 CLOUDSTACK-684 support vm snapshot 2013-02-14 01:26:30 +08:00
Jessica Wang
06a733a89f CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action, make frequency of calling queryAsyncJobResult API based on listCapabilities response. 2013-02-12 16:00:48 -08:00
Brian Federle
2cb50b17fb Merge branch 'master' into ui-plugins 2013-02-07 12:03:35 -08:00
Brian Federle
c61156e965 Providing invalid values for gateway, netmask etc in the zoneWizard blocks the VLAN container to load , throwing an error 2013-02-05 11:47:20 +05:30
Brian Federle
690dd66d3e UI plugin: Show custom icon
Show custom icon '<pluginName>/icon.png' on side nav bar (if plugin
added new section), and on plugin listing.
2013-01-29 16:05:48 -08:00
Brian Federle
b18bca651f UI Detail view: support external links
If externalLink is specified in detail view field attributes, then
render its value as <a> hyperlink.
2013-01-29 14:32:51 -08:00
Brian Federle
bf2691c51a Merge branch 'master' into ui-plugins 2013-01-29 13:23:33 -08:00
Isaac Chiang
76b28805e6 CloudStack-965: When a detailview action is prohibited, the operation dialog box should not show up in the mean time 2013-01-26 23:46:44 +05:30
Pranav Saxena
a69e7f9bf6 CLOUDSTACK-972:The template will disappear after reordering in template section 2013-01-17 00:02:11 +05:30
Brian Federle
8c1b3404ea Merge branch 'master' into ui-plugins 2012-12-27 13:48:04 -08:00
Brian Federle
1b533f2354 List view UI: Add alt tag to table cells 2012-12-27 11:58:50 -08:00
Brian Federle
977123be36 UI sections: Support per-section pre-filter
In addition to the main sectionPreFilter in the cloudStack UI, allow a
per-section 'preFilter' which is called if the navigation section is
not returned in sectionPreFilter. This is used primarily to support
plugin sections which will not be displayed by default.
2012-12-20 13:26:28 -08:00
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
Pranav Saxena
a526460195 CLOUDSTACK-556:Erratic window behavior in Quick View tooltip 2012-11-29 04:50:08 +05:30
Pranav Saxena
0979e5a0d0 CLOUDSTACK-553:SRX - When adding SRX device make Public Network - default to untrusted and Private Network - default to trusted as un-editable fields 2012-11-28 07:22:52 +05:30
Pranav Saxena
ecbd0e91aa CLOUDSTACK-523:When adding Vms to an LB rule , when there are vms with display name that were provided by user and autogenearated uuid , the list vm screen extends beyond the frames original width: Fixed by associating a class with the dialog box 2012-11-20 12:56:14 +05:30
Brian Federle
fa1696e3e6 CS-16822: multi-edit UI: Fix blank fields on add item
When adding an item, show all returned fields if noSelect is
true. This prevents hidden conditional form fields from having their
row data hidden, such as if an ICMP rule is added and the TCP
start/end port form fields are hidden due to space constraints.
2012-11-16 08:50:17 -08:00
Jessica Wang
ce8fe90aae CS-15863: cloudstack 3.0 UI - (1) extend multiEdit widget to be able to hide actions upon an each item's properties.
(2) IP Addresses page - load balancer listing - VM listing - hide destroy action for autoscale VM.
2012-11-16 10:56:53 +05:30
Pranav Saxena
95738990a5 CS-15981:Add Load Balancer page inside Guest networks is blank 2012-11-16 10:56:52 +05:30
Brian Federle
2ffc381ea1 multiEdit: support hiding fields dynamically via dataProvider
If 'hideFields' array is passed to .success(), then hide the field IDs
specified.
2012-11-16 10:56:50 +05:30
Brian Federle
bbfb13a1d9 Merge Autoscaler UI implemetation
This change includes the new dialog box for the CloudStack Autoscaler
implementation. It is accessible by a button ('Autoscaler') that
appears under each LB rule.

This also contains changes to the multiEdit widget to support features
required for Autoscaler:

-Fixes context/data passing to custom button widgets
-Fixes data retrieval for select fields
2012-11-16 10:56:45 +05:30
Brian Federle
456202162c Detail view/list view: Pass context to confirm messages 2012-11-13 10:52:32 -08:00
Brian Federle
e73634733b CS-16737: Restore show tooltip on focus 2012-11-08 11:29:30 -08:00
Brian Federle
d24f057ff0 CS-16737: Fix tooltip alignment; allow attaching to parent element
Fixes issue where tooltip overlaps form due to variable input
widths. To fix, a new option 'attachTo' can be specified, which will
attach to the closest parent element matching the option's selector.
2012-11-08 11:29:19 -08:00
Pranav Saxena
6c30700fa4 CS-16737:When Registering templates OK button is hidden completely by the helper text that is provided when user selects Featured 2012-11-07 11:31:01 +05:30
Pranav Saxena
ed26f69868 CS-16630:UI freeze when accessing the Ip Addresses tab , when we are in the configuration of one of the ip addresses 2012-11-02 01:04:49 +05:30
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
72259693ac CS-16567: Fix context for quick view on add row
After adding a new instance row, in some cases the list view's context
is not passed fully to the quickview, which broke certain sections.

This ensures that the full context stored in the list widget is passed
to the quickview.
2012-10-24 12:56:40 -07:00
Brian Federle
db165896d2 Fix license headers and remove external links 2012-10-22 15:29:29 -07:00
Brian Federle
8bb273de8f Add tooltips to form fields
-Adds tooltips to all dialog-based form fields, to describe what each
 field represents. The tooltip appears on focus of the field, and
 hides once the field is blurred.

-Documentation content is pulled from a new namespace
 'cloudStack.docs', under docs.js. A new attribute, 'docID' is then
 specified on each createForm field to link the field to a specific
 tooltip string.

-If no docID is specified, then no tooltip is rendered.

-This only applies to the 'generic' forms that are rendered using the
 createForm widget

-This still needs to be localized

Conflicts:
	ui/index.jsp
	ui/scripts/configuration.js
	ui/scripts/network.js
	ui/scripts/ui/dialog.js
	ui/scripts/vpc.js
2012-10-22 15:18:22 -07:00
Brian Federle
d3040de21d UI Quick view: don't render for function-based detail view
Disables quick view if detail view is returned via a closure, as it
breaks the quick view in this case.
2012-10-22 12:17:55 -07:00
Brian Federle
f311880218 Quick view UI: Add alt tag for long titles 2012-10-22 11:22:16 -07:00
Brian Federle
e61aa3aa74 Don't create tag widget in quickview mode 2012-10-18 15:25:09 -07:00