305 Commits

Author SHA1 Message Date
Brian Federle
fca7b3ef22 Rename widget 'plugins' to 'pluginListing'
For better clarity on its function, rename the 'plugins' widget to 'pluginListing,'
as it does not handle the actual plugin logic.
2013-04-18 10:49:45 -07:00
Jessica Wang
5f8a278196 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - make loginCmdText local. 2013-04-11 13:39:04 -07:00
Pranav Saxena
c51587396a CLOUDSTACK-1893:[AWS Style Health Checks] UI hangs when one tries to create health check policy on a LB rule with VR as LB service provider 2013-04-09 13:51:33 +05:30
Jessica Wang
b1ef74737a CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - when switching region, set location without parameters. 2013-04-07 00:14:18 -07:00
Brian Federle
d6e8701cae Regions UI: Change loading state text to 'Loading...' 2013-03-26 10:19:02 -07:00
Brian Federle
16250f8e4b Instance wizard: Fix checkbox selection
Fix where VPC network is uncheckable if only VPC networks are present,
and 'add network' form is visible and checked.
2013-03-25 11:37:15 -07:00
Jessica Wang
8ecdbd8537 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - allow user to delete region whose end point matches the current URL, but set region button on top menu to blank after the region is deleted. 2013-03-22 12:02:27 -07:00
Brian Federle
c9f4e51300 Regions UI: Add 'redirecting to region' text during login loading 2013-03-21 15:57:05 -07:00
Brian Federle
0fbf1b91b0 Regions single-sign-on: Hide login form on redirect
If login URL is passed to management server on load, show loading
screen in place of login form.
2013-03-21 15:27:44 -07:00
Jessica Wang
5a9ccce0f3 LOUDSTACK-1065: cloudstack UI - AWS Style Regions - handle the case that document.location.href includes bookmark # that doesn't match region's end point completely. 2013-03-20 16:41:26 -07:00
Jessica Wang
75a6e009b9 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - remove region action - removing the region that you are currently in is not allowed. 2013-03-20 15:19:36 -07:00
Jessica Wang
ae7e5b025e CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - set current region (whose end point matches current URL) to region button and region dropdown on top menu. 2013-03-20 14:34:37 -07:00
Jessica Wang
918a7c7481 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - implement region switching action triggered by region dropdown on top menu. 2013-03-20 11:58:57 -07:00
Pranav Saxena
6ba0ef1a17 Removing the test tooltip from Pingpath variable 2013-03-18 18:15:59 +05:30
Brian Federle
9ca7b82baa Merge branch 'master' into Health-Check-UI
Conflicts:
	ui/css/cloudstack3.css
2013-03-15 11:46:32 -07:00
Pranav Saxena
e86ee12a78 Adjusting the CSS attr for the delete button 2013-03-15 17:23:04 +05:30
Pranav Saxena
3752f1c331 Health Check UI development 2013-03-15 12:35:28 +05:30
Pranav Saxena
e6ac982d6c Adding the license header to the new file 2013-03-15 12:26:09 +05:30
Brian Federle
345114d0ca Dashboard UI: Fix line breaks
Move line break tags from API calls to widget code; otherwise they
were not rendering correctly due to sanitization process.
2013-03-14 15:54:37 -07:00
Brian Federle
d6ce2af209 CLOUDSTACK-748: Support deployment of VM on Tier + network 2013-03-14 12:53:39 -07:00
Pranav Saxena
a7e09c8648 Health-Check UI development 2013-03-14 17:21:03 +05:30
Pranav Saxena
2094ee682e Health-Check UI development 2013-03-14 17:13:27 +05:30
Brian Federle
fd7ce8bb88 Pass VM guest IP to enable static NAT action 2013-03-08 14:38:37 -08:00
Jessica Wang
f9e94873d8 CLOUDSTACK-452: cloudstack UI - IPv6 - quick installer - rename fields in quick installer to be consistent with fields in zone wizard. 2013-03-05 12:07:55 -08:00
Brian Federle
260669ad9e Regions UI: Show (Default) in header if no regions are available 2013-02-28 16:02:19 -08:00
Brian Federle
558b808a18 Regions UI: Show selected region name in header 2013-02-28 15:31:52 -08:00
Mice Xia
398b049327 add license header for a js file reported by rat 2013-02-28 11:50:07 +08:00
Brian Federle
289c433cb9 Regions UI: Highlight active region in selector 2013-02-27 09:12:25 -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
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
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
Brian Federle
2cb50b17fb Merge branch 'master' into ui-plugins 2013-02-07 12:03:35 -08:00
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
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
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
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
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
bf2691c51a Merge branch 'master' into ui-plugins 2013-01-29 13:23:33 -08:00
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
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
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
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
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
Brian Federle
d1166e6b8b Add plugin detail view on click 2013-01-02 16:57:07 -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