Commit Graph

4809 Commits

Author SHA1 Message Date
Jessica Wang
b1fcccc3f1 CLOUDSTACK-452: cloudstack UI - Zone Wizard - add IPv6 DNS1 field, IPv6 DNS2 field. 2013-02-28 12:07:33 -08:00
Jessica Wang
ac89c3e7e1 CLOUDSTACK-452: cloudstack UI - Infrastructure menu - zone detail - guest network - network detail - View IP Ranges (only available in Advanced zone) - add IPv6 Start IP, IPv6 End IP field to listView and Add IP Range dialog. 2013-02-28 12:05:56 -08:00
Jessica Wang
5dd44b0dde CLOUDSTACK-452: cloudstack UI - Infrastructure menu - zone detail - physical network - create guest network - add IPv6 Gateway, IPv6 CIDR, IPv6 Start IP, IPv6 End IP field. 2013-02-28 12:05:12 -08:00
Jessica Wang
3f876060c0 CLOUDSTACK-452: cloudstack UI - Infrastructure menu - zone detail - physical network - guest network - add IPv6 CIDR, IPv6 Gateway to listView and detailView. 2013-02-28 12:04:15 -08:00
Pranav Saxena
9446eba78c CLOUDSTACK-1447:Persistent Status is not displayed for VPC Tiers 2013-02-28 13:27:27 +05:30
Pranav Saxena
b1fd371655 Vmware dvSwitch UI integration - tooltips 2013-02-28 12:16:50 +05:30
Pranav Saxena
c25a0d8d8e Displaying persistent network property in the detail view for VPC networks 2013-02-28 11:54:04 +05:30
Pranav Saxena
680a360624 Merge branch 'dvswitch-UI' 2013-02-28 11:09:04 +05:30
Mice Xia
398b049327 add license header for a js file reported by rat 2013-02-28 11:50:07 +08:00
Brian Federle
612a598dcc CLOUDSTACK-1419: Add trademark to logos 2013-02-27 13:44:07 -08:00
Brian Federle
74c3f35d7d Merge branch 'master' into ui-regions 2013-02-27 13:18:52 -08:00
Pranav Saxena
699cb03308 CLOUDSTACK-1432:Inconsistent field names in the cluster dialog box 2013-02-28 02:25:31 +05:30
Pranav Saxena
b07f482bac dvswitch UI integration Complete:Enabling the flag - Set 4 2013-02-28 00:15:04 +05:30
Pranav Saxena
08b2f7734b dvswitch UI integration Complete - Set 4 2013-02-27 23:44:02 +05:30
Brian Federle
fb9afaad2a Add region UI: Don't use URL validation
Don't use URL validation for endpoint, becuase it doesn't accept
hostnames without domains (i.e., http://localhost:8080/client)
2013-02-27 09:13:28 -08:00
Brian Federle
289c433cb9 Regions UI: Highlight active region in selector 2013-02-27 09:12:25 -08:00
Brian Federle
fdaa5b4909 User accounts UI: Support for regions
-Add region select to add account form

-Show account's region in detail view
2013-02-27 08:59:55 -08:00
Pranav Saxena
c289380910 dvswitch UI integration set 3 2013-02-27 21:52:47 +05:30
Pranav Saxena
bd58361362 dvSwitch UI integration Set 2 2013-02-27 21:23:13 +05:30
Pranav Saxena
1f21c12687 dvSwitch-UI Integration - Set 2 2013-02-27 15:29:27 +05:30
Pranav Saxena
1b94047bd8 DV Switch UI Integration -Set 1 2013-02-27 14:53:07 +05:30
Brian Federle
2386270d7b Regions UI: Add error handling to API calls 2013-02-26 16:21:13 -08:00
Brian Federle
c48ed610db Add ID field to regions list view 2013-02-26 16:17:13 -08:00
Brian Federle
b4286e7949 Add 'edit region' action 2013-02-26 16:15:16 -08:00
Brian Federle
acce7d9678 Regions UI actions: Refresh region selector listing
After action is performed that adds/removes regions, call
'cloudStack.refreshRegions' to refresh region selector listing.
2013-02-26 16:05:43 -08:00
Brian Federle
b9294daaf1 Add remove region action labels 2013-02-26 16:05:32 -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
cc49cb5806 Add nav icon for regions 2013-02-26 13:50:35 -08:00
Brian Federle
5a08ef64b3 Add region 'ID' field to add form 2013-02-26 13:37:03 -08:00
Brian Federle
8831b2920c Implement 'add region' action 2013-02-26 13:27:59 -08:00
Brian Federle
142a5a8fba Implement region list view 2013-02-26 13:09:32 -08:00
Brian Federle
6831937145 Fix/cleanup zone wizard UI->public traffic multi-edit 2013-02-26 12:21:15 -08:00
Brian Federle
aec2cfe2cc Multi-edit: Allow horizontal overflow 2013-02-26 11:32:01 -08:00
Pranav Saxena
840650f9ff IP address reservation basic UI requirement 2013-02-26 17:16:51 +05:30
Pranav Saxena
b9a4774d8e CLOUDSTACK-1398:LDAP:fail to update the failed job status -stuck in in-progress state 2013-02-26 16:52:04 +05:30
Brian Federle
243b20f0fd Prevent wrapping of 'view all' button 2013-02-25 11:44:59 -08:00
Brian Federle
6c8182b6f4 UI: Update IP address server calls to support per-NIC IPs
Update the following actions on IP address section to support per-NIC IP
addresses:

- List IPs -> listNics
- Add IP -> addIpToNic
- Remove IP -> removeIpFromNic

These API calls will be conditionally invoked in place of the existing
calls if a NIC is selected -- i.e., args.context.nics is present
2013-02-25 11:35:41 -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
df0039368b Fix missing 'add' action on instances page 2013-02-22 11:21:59 -08:00
Pranav Saxena
55d67a0ff0 Merge branch 'Commit-Ratio' 2013-02-22 18:09:39 +05:30
Pranav Saxena
ab24e84191 Cpu and Memory overcommit ratio Ui integration 2013-02-22 18:06:59 +05:30
Brian Federle
fa14380ac9 Remove old list view actions 2013-02-21 15:21:31 -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
fe6fc0a20e Remove old screenshot files from UI folder 2013-02-21 15:01:13 -08:00
Pranav Saxena
31c26beb7f zone wide primary storage server side changes 2013-02-22 03:28:01 +05:30
Pranav Saxena
6ef7928a9c zone wide primary storage 2013-02-22 02:53:26 +05:30
Pranav Saxena
534f5540a3 scale UP CPU and memory UI 2013-02-22 02:16:20 +05:30
Pranav Saxena
b091ea6ead scale UP CPU and memory UI 2013-02-22 02:07:08 +05:30
Brian Federle
d0d6ba9781 Add new dropdowns to primary storage form
Adds the following new fields, to support targeted storage pool:

-Scope drop-down (zone/cluster/host)

-Host list drop-down
2013-02-21 12:23:27 -08:00
Pranav Saxena
82c2e3052e Merge branch 'Reset-VM' 2013-02-21 16:29:42 +05:30
Pranav Saxena
35d8905081 Reset a VM detail view display 2013-02-21 16:26:31 +05:30
Jessica Wang
48ec4395bd CLOUDSTACK-1343: cloudstack UI - baremetal - enable baremetal providers who are selected in the network offering. 2013-02-20 15:13:46 -08:00
Pranav Saxena
bff3d8ac9a LDAP-UI integration code 2013-02-19 16:40:47 +05:30
Pranav Saxena
215621daa8 CPU&RAM overcommit ratio uI integration code 2013-02-16 22:01:43 +05:30
Pranav Saxena
8e88a4295f Reset a VM on reboot compute offering 2013-02-15 23:11:27 +05:30
Pranav Saxena
d8537a4446 Server side integration for LDAP Configuration 2013-02-15 21:12:22 +05:30
Pranav Saxena
ff9d62a8ed LDAP UI front end complete 2013-02-15 17:00:59 +05:30
Pranav Saxena
2b3e23f6cf LDAP front end UI development 2013-02-15 12:02:26 +05:30
Rohit Yadav
4364cb9784 rat: Fix license for file from recent ui-plugins merge
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-14 17:18:22 +05:30
Brian Federle
48118a4f9c Add license headers to new JS files 2013-02-13 14:59:01 -08:00
Brian Federle
dfaffcebad Merge branch 'master' into ui-plugins
Conflicts:
	ui/index.jsp
2013-02-13 14:03:53 -08:00
Jessica Wang
4e7da0001d CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action uploadCustomCertificate, make frequency of calling queryAsyncJobResult API based on listCapabilities response. 2013-02-13 11:55:59 -08:00
Jessica Wang
ceb44aca30 CLOUDSTACK-1251: cloudstack UI - zBaremetal - zone wizard - when hypervisor is BareMetal, click Next button in Guest Traffic step will finish the whole process. 2013-02-13 11:55:05 -08:00
Jessica Wang
4b7dbbe5cd CLOUDSTACK-618: cloudstack UI - API request throttling - for async job actions that are not using notification widget, make frequency of calling queryAsyncJobResult API based on listCapabilities response. 2013-02-13 11:53:33 -08:00
Mice Xia
9a12756ae4 CLOUDSTACK-684 support vm snapshot 2013-02-14 01:26:30 +08:00
Brian Federle
6e02fb96c9 UI Plugins, API call helper: Add 'pollAyncJobResult' helper, allow passing data 2013-02-12 16:10:40 -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
5b8e4b9fd9 UI Plugin API: Implement 'apiCall' helper
Adds a helper method to standardize how plugin writers handle server calls,
without having to directly invoke jQuery.ajax. It will correctly sanitize data
and ensure all required parameters (e.g., session key data) are passed.
2013-02-12 15:21:29 -08:00
Brian Federle
313b604fe1 Unload test plugin by default 2013-02-11 11:47:44 -08:00
Brian Federle
b67e49d8ce Conditionally load plugin section
If no UI plugins are loaded via plugins.js, then hide 'plugins'
section, to avoid confusion due to a blank plugin page.
2013-02-11 11:45:34 -08:00
Brian Federle
4a96a200b1 Merge branch 'master' into ui-plugins 2013-02-08 13:09:52 -08:00
Anthony Xu
0a6c6bb254 Revert "CLOUDSTACK-737"
This reverts commit d7201dfe1f.

Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
2013-02-08 10:42:36 -08:00
anthony
951cba92bb Merge branch 'sg-in-advanced-zone'
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2013-02-07 15:19:41 -08:00
Jessica Wang
cc24bebcb6 CLOUDSTACK-537: cloudstack UI - Advanced sg-enabled zone - VM Wizard - step 5 - select network screen - populate only sg networks (i.e. not show non-sg networks). 2013-02-07 13:19:55 -08:00
Jessica Wang
a02c66594f CLOUDSTACK-537: cloudstack UI - Infrastructure menu - create network dialog - Advanced sg-enabled zone - (1) account-specific network doesn't work at backend. Therefore, remove "account" option from scope dropdown. (2) zone-wide network: list only sg network offerings. 2013-02-07 13:17:45 -08:00
Brian Federle
2cb50b17fb Merge branch 'master' into ui-plugins 2013-02-07 12:03:35 -08:00
Pranav Saxena
d44d4b76e7 Enabling Korean Translation on the CloudStack UI 2013-02-07 10:41:51 +05:30
Jessica Wang
01d7fa4bed CLOUDSTACK-1166: cloudstack UI - dashboard - sanitize content before setting it to a HTML element. 2013-02-06 10:42:35 -08:00
Marcus Sorensen
4f274d0b8e Summary: resizeVolume needs to be available in UI
Detail: Adds UI element for resizing a volume

BUG-ID: CLOUDSTACK-644
Reported-by: hongtu_zang@tcloudcomputing.com
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360091087 -0700
2013-02-05 12:04:47 -07: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
Pranav Saxena
bd825109d8 Persistent Networks support - UI functionality 2013-02-01 16:41:29 +05:30
Kanzhe Jiang
736b236eaf bigswitch controller support
Reviewed-by: Chiradeep Vittal <chiradeepv@gmail.com>

Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 12:42:04 +05:30
Brian Federle
894cb8f7d9 Advanced SG instance wizard: Fix back button
Fixes back button for select SG step, when using SG-enabled advanced
network.
2013-01-31 16:07:50 -08:00
Pranav Saxena
5d8e1f0dff Enabling Egress Rules Feature on the UI 2013-01-31 20:39:09 +05:30
Pranav Saxena
3cbce11b78 Fixing a label in network offering 2013-01-31 18:01:42 +05:30
Jessica Wang
0f130e15c7 CLOUDSTACK-355: cloudstack UI - Infrastructure menu - restore total number of zone on UI since performance issue of listZones API has been fixed on server-side. 2013-01-30 15:42:02 -08:00
Jessica Wang
867cb4aa81 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - when total number of selected sg networks is greater than 0 and total number of selected networks is greater than 1, pop up client-side validation error message "Can't create a vm with multiple networks one of which is Security Group enabled". 2013-01-29 16:44:58 -08:00
Jessica Wang
c02801b7b7 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - fix a bug that networkID was not passed to API call when selected networks don't include security group service. 2013-01-29 16:41:14 -08:00
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
0f6eb2f53d UI plugins: Add localization strings 2013-01-29 15:36:02 -08:00
Brian Federle
22c351fabc UI plugins: Implement plugin detail page
Renders all metadata from plugin's config.js onto a detail page, on
click of the plugin row under the 'Plugins' main section.
2013-01-29 14:35:30 -08:00
Brian Federle
a065aabda7 UI plugins: Add more metadata
Add more metadata to plugin config.js:

- externalLink: Link to plugin/author's web site
- authorName: Author's full name
- authorEmail: Author's contact e-mail
2013-01-29 14:34:42 -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
806105f9a1 UI plugins: Dynamically load CSS
Adds a CSS file <pluginName>.css to the plugin structure, which allows
developer to specify custom CSS to be loaded after their JS code.
2013-01-29 13:56:36 -08:00
Brian Federle
bf2691c51a Merge branch 'master' into ui-plugins 2013-01-29 13:23:33 -08:00
Brian Federle
f8e1f5928f UI list view: Fix overflow
Removing 'ellipses' effect for long list view values. They are
rendering in too many cases, making the data hard to read. Reverting
back to using standard word wrap for long table cells.
2013-01-29 12:17:17 -08:00
Pranav Saxena
cd10b994ae CLOUDSTACK-1082:UI doesn't throw any error message when trying to delete ip range from a network that is in use 2013-01-29 14:32:55 +05:30
Pranav Saxena
453f749785 The overlay still exists when the Recurring Snapshots dialog is cancelled by pressing the esc key 2013-01-28 11:13:06 +05:30
Pranav Saxena
1509a210ca Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-01-26 23:48:57 +05:30
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
Brian Federle
8f11f631a4 Instance wizard: Fix back button state
Fix case where select SG step is shown on back, instead of select guest network.
2013-01-25 08:58:07 -08:00
Kishan Kavala
0ab39fd162 added missing bracket 2013-01-25 19:32:30 +05:30
Pranav Saxena
44ceff4224 CLOUDSTACK-1064:A type error occurs when trying to add account/register template: this is because of accounts conext being undefined 2013-01-25 16:42:42 +05:30
Pranav Saxena
9deea9bb55 CLOUDSTACK-1063:SG Enabled Advanced Zone -Add Guest Networks- When user tries to add a guest Network with scope as Account , he should NOT be presented with Offering for shared security group enabled 2013-01-25 15:49:29 +05:30
anthony
d7201dfe1f CLOUDSTACK-737
add xenserver support in UI
     only XenServer and KVM clusters are allowed in security enabled zone.
     only shared security enabled networks are allowed in security enabled zone.
2013-01-24 17:26:51 -08:00
Brian Federle
a2b2d45e40 Conditionally show select SG step
Only show select security group step if at least one guest network
with SecurityGroup service is selected.
2013-01-24 14:57:43 -08:00
Pranav Saxena
f1aee2cc50 CLOUDSTACK-1029:Enter the token to specified project is malfunctioned 2013-01-24 14:13:53 +05:30
Brian Federle
31a5669c7c Hide VPC drop-down for advanced SG zones 2013-01-23 11:06:37 -08:00
Pranav Saxena
b867609df8 CLOUDSTACK-1027: Update SSL certificate button should properly reflect it's functionality:Changing the label and adding the title tag 2013-01-22 15:05:32 +05:30
Jessica Wang
635ac34d06 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step5 - select network step - desc field - append '(sg)' if a network includes security group service. 2013-01-21 16:02:39 -08:00
Jessica Wang
ff5477d1f1 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - remove obsolete variable(myNetworks), rename variable sharedNetworks to networkObjs. 2013-01-21 15:53:29 -08:00
Jessica Wang
bfdec24de4 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - specify canusefordeploy parameter in listNetworks API when populating network list. 2013-01-21 15:52:10 -08:00
Brian Federle
a4c413bc13 CLOUDSTACK-537: Fix for instance wizard
When using SG-enabled advanced zone, fix case where 'add guest
network' form shows up in select network step -- adding a guest
network via the wizard is not supported in this type of setup.
2013-01-21 14:30:56 -08:00
Jessica Wang
98a289020f CLOUDSTACK-652: cloudstack UI - create network offering dialog - for both Isolated network and Shared network, show Elastic IP dropdown when StaticNAT is checked and StaticNAT provider is Netscaler. 2013-01-18 16:03:33 -08:00
Jessica Wang
d13d67bdd9 CLOUDSTACK-459: cloudstack UI - create network offering dialog - update comment in code. 2013-01-18 15:11:46 -08:00
Jessica Wang
c9921ea077 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - show network list first, then security group list. reviewed-by: Brian 2013-01-18 10:44:44 -08:00
Jessica Wang
77bc04b90f CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - Instance wizard UI: Support advanced zone with security groups
For advanced zones with SG enabled, show both the add guest network
step as well as the add security group step.

reviewed-by: jessica
2013-01-18 10:38:38 -08:00
Jessica Wang
a22bfd7e7b CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - API has been chagned. Here is related UI change: not pass networkID to deployVirtualMachine API. 2013-01-16 15:10:24 -08:00
Jessica Wang
eeb3f1725d CS-17074: cloudstack UI - Advanced SG-enabled zone - Infrastructure menu - create guest network - scope dropdown - add option "All". 2013-01-16 15:06:27 -08:00
Pranav Saxena
a69e7f9bf6 CLOUDSTACK-972:The template will disappear after reordering in template section 2013-01-17 00:02:11 +05:30
Pranav Saxena
8d0091d7e2 CLOUDSTACK-978:TypeError: instance.displayname is undefined while adding VM's to the LB rule 2013-01-15 21:12:10 +05:30
Pranav Saxena
c06218d32f CLOUDSTACK-971:Error Dialog is empty 2013-01-14 16:49:42 +05:30
Brian Federle
db2033d2e6 List view UI: Disable overflow scrolling 2013-01-08 12:10:15 -08:00
Sanjay Tripathi
fd8607d41e CLOUDSTACK-819:Changing GET request to POST while creating account/user to hide the passwords in the access logs 2013-01-07 22:29:28 +05:30
Pranav Saxena
569ca6d7a3 CLOUDSTACK-725:UI-Error when the Egress rules tab is selected for a network:Hiding the egress rules tab 2013-01-05 04:19:48 +05:30
Brian Federle
a81f8b73e8 Merge branch 'master' into ui-plugins 2013-01-04 14:47:23 -08:00
Pranav Saxena
42d9c3fbb1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-01-04 18:22:38 +05:30
Pranav Saxena
3e6435b6e8 CLOUDSTACK-720:Fail to load a png image when accessing the web console 2013-01-04 18:22:09 +05:30
Isaac Chiang
6ce01c46fc UI: add generate key button to appropriate roles 2013-01-03 10:58:13 -08:00
Brian Federle
d1166e6b8b Add plugin detail view on click 2013-01-02 16:57:07 -08:00
Brian Federle
8c1b3404ea Merge branch 'master' into ui-plugins 2012-12-27 13:48:04 -08:00
Brian Federle
eff0716426 UI: Minor cosmetic fixes
-Fix missing icons on some dialog headers

-multiEdit: Fix overflow for long text strings

-Projects UI: Fix project selector margins, overflow on 'Events' box
 on project dashboard
2012-12-27 13:46:52 -08:00
Brian Federle
d3ca6a8a57 List view UI: Keep overflow row content in-line with mouse on hover 2012-12-27 12:02:38 -08:00
Brian Federle
23e75eb788 Increase max-width of list view table cells to 160px 2012-12-27 11:59:13 -08:00
Brian Federle
1b533f2354 List view UI: Add alt tag to table cells 2012-12-27 11:58:50 -08:00
Isaac Chiang
5aefd77f77 Fix for CloudStack-648
Signed-off-by: Gavin Lee <gavin.lxh@gmail.com>
2012-12-26 00:00:58 +08:00
Pranav Saxena
5b751b2a13 CLOUDSTACK-771:Instance Table misalignment : Adding the hover view in order to display the full text 2012-12-24 17:57:46 +05:30
Pranav Saxena
7410de9cca CLOUDSTACK-771:Instance Table misalignment : when instance is created with long display name:Solved by using the concept of Ellipses in CSS 2012-12-24 16:05:57 +05:30
Brian Federle
1a3ea28243 UI plugins API: addSection method
Adds 'addSection' method to UI plugins, which will add a new top-level
section. It follows the same syntax used by the existing sections in
the UI.
2012-12-20 13:27:37 -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
Brian Federle
347ac311a0 UI Plugin: Use new format
Define plugins as namespaced objects instead of as function calls. This
is easier to implement and manage by the framework.

New format changes for defining plugins:

Now create 2 JS files in plugin folder:
  -config.js
  -[pluginName].js

plugins.js (listing) format:

  cloudStack.plugins = [
    'testPlugin'
  ];

config.js format:

  cloudStack.plugins.testPlugin.config = {
    title: 'Test Plugin',
    desc: 'Sample plugin'
  };

[pluginName].js format:

  cloudStack.plugins.testPlugin = function(plugin) {
    //
    // Plugin code goes here
    //
  };
2012-12-20 11:55:44 -08:00
Brian Federle
59c77b4850 Add plugin loading functionality and basic framework
Dynamically load UI plugins via require.js

Plugin code uses the following format:

(function (cloudStack) {
  var testPlugin1 = function(plugin) {
    // Plugin code goes here
  };

  cloudStack.plugin({
    id: 'testPlugin1',
    title: 'Test Plugin 1',
    desc: 'Sample plugin 1',
    load: testPlugin1
  });
}(cloudStack));
2012-12-19 15:47:25 -08:00
Brian Federle
f0a6e86e14 Add/style basic plugin listing 2012-12-19 15:04:47 -08:00
Brian Federle
11dbab0a6d CSS: Cleanup formatting 2012-12-19 14:14:06 -08:00