361 Commits

Author SHA1 Message Date
Brian Federle
7b011e7ef4 Merge branch 'master' into ui-vm-affinity
Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/scripts/cloudStack.js
	ui/scripts/instanceWizard.js
2013-04-22 13:45:29 -07:00
Brian Federle
e04430302d Merge branch 'master' into ui-mixed-zone-management 2013-04-18 15:18:43 -07:00
Brian Federle
6babaf9616 Add UI 'module' API
Add a variant to a plugin, called a 'module.' It is designed for
features that are build-in to the standard UI (i.e., not installed
dynamically), but can still utilize the modular nature of UI
plugins. It works exactly the same way as a plugin, except:

-Modules are added to modules/ folder
-Modules are registered in modules/modules.js
-No config.js (no need for metadata, since they are built-in features)
- /ui/modules/ folder will not be touched by the build system, so any modules
 are committed directly to the ui/ folder. In other words, modules are
 not installed automatically.
2013-04-18 12:52:55 -07:00
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
Brian Federle
5d05e49fa6 Merge branch 'master' into ui-mixed-zone-management 2013-04-16 11:45:05 -07:00
Brian Federle
51cfc0709f Affinity rules UI: Add 'changeAffinity' action for VM
-Adds action to VM on stopped state

-Add dialog with list view showing affinity groups and checkboxes
2013-04-12 16:55:01 -07:00
Brian Federle
96999becf9 Merge branch 'master' into ui-vm-affinity 2013-04-11 15:12:56 -07:00
Jessica Wang
b1f67a0881 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - set autocomplete off. 2013-04-11 13:39:03 -07:00
Brian Federle
fa8b83581b Zone type switcher: Style, add functionality
- Add top label to zone switcher, add more styling

- Implement zone switching functionality, which on change sets
  cloudStack.context.zoneType to the relevant filter option, or null
  for 'All' zone types
2013-04-10 14:43:42 -07:00
Brian Federle
f51ccfcfb9 Merge branch 'ui-new-project-switcher' into ui-mixed-zone-management 2013-04-10 13:36:20 -07:00
Brian Federle
aa5ed0a0fb Layout new project selector (only dummy data for now) 2013-04-10 13:34:25 -07:00
Brian Federle
4b853ccdc7 Add zone filter drop-down to header (needs styling) 2013-04-10 13:09:43 -07:00
Brian Federle
e907a08fba Affinity UI: Add step to instance wizard 2013-04-09 15:58:29 -07:00
Pranav Saxena
2094ee682e Health-Check UI development 2013-03-14 17:13:27 +05:30
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
142a5a8fba Implement region list view 2013-02-26 13:09:32 -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
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
Brian Federle
bf2691c51a Merge branch 'master' into ui-plugins 2013-01-29 13:23:33 -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
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
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
bd9bedac8a Fix path for plugins.js 2012-12-19 14:03:31 -08:00
Brian Federle
28cc7477b0 Zone wizard UI: Add labels on traffic type edit area
For zone wizard physical network step: Adds a text label to the top of
the 'edit' button indicating what type of traffic type (Management,
Storage, Guest, etc.)
2012-11-30 11:40:06 -08:00
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
83229aa460 Zone wizard UI: Change isolation mode selection
-Remove VLAN + SG radio buttons; replace with 'Security groups'
checkbox

-Pass boolean 'zone.sgEnabled' to zoneWizard action handler, instead of
'zone.isolationMode' from before.
2012-11-15 11:42:00 -08:00
Brian Federle
29978bdb81 CS-16802: Add isolation mode drop-down to zone wizard
-Adds new radio button pair, 'isolation mode' under Advanced zone
select, allowing selection of isolation mode

-Isolation mode is disabled if 'Basic' zone is selected

-Pass isolation mode via new property 'zone.isolationMode'
2012-11-09 14:38:46 -08:00
Brian Federle
49a3b6667b CS-16741: Fix traffic type descriptions
-Update alt tags to specify what the name of each traffic type is

-Move traffic type alt descriptions to message.properties, for
 localization
2012-11-06 13:55:32 -08:00
Brian Federle
cdbfe261ba Add new infrastructure icons 2012-10-26 13:33:38 -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
David Nalley
b0c7e385d7 adding several languages for which folks have added l10n 2012-10-08 23:57:40 -04:00
Brian Federle
93c84c8291 CLOUDSTACK-85: Fix instance wizard review hypervisor
Fix hypervisor type not being shown in instance wizard review step
2012-09-18 14:18:48 -07:00
Pranav Saxena
d7b249fb01 Fixing UI compatibility with IE which was broken because of license headers added to jsp file 2012-08-29 11:35:28 +05:30
Brian Federle
aa5aa30b44 Split JSP into 2 files
Due to file size limit being reached on index.jsp, move dictionary JS
into separate file, dictionary.jsp

reviewed-by: Jessica Wang
2012-08-21 13:43:30 -07:00
Brian Federle
aa64dc5fdf Instance wizard: add VPC drop-down
Select VPC drop-down was missing previously from the instance wizard,
add network step. This re-adds it.
2012-08-20 15:16:06 -07:00
Brian Federle
ad2b8d7579 CS-16044: Zone wizard: Add 'use local storage' checkbox
Add checkbox to zone wizard indicating whether zone will use local
storage. If checked, bypass add primary storage step and enable local
storage for zone on creation.

Conflicts:
	ui/index.jsp
2012-08-20 11:36:57 -07:00
Brian Federle
b391a1c5b1 CS-16010: Add missing alt tag for 'move to bottom' reorder action 2012-08-16 13:56:07 -07:00
Mice Xia
5dcf639acc Fix a bug, failed to show resource limit page in project view due to missing vpc limit type 2012-08-16 20:17:42 +08:00
Brian Federle
b5e1c53137 CS-15892: Tier detail view: Show 'tier details' instead of 'details'
Conflicts:
	ui/index.jsp
2012-08-07 16:02:07 -07:00
Brian Federle
bcead6eec2 Reduce whitespace to overcome file size limit 2012-08-07 15:59:43 -07:00
Brian Federle
469e180515 multiEdit: better handling for tag widget
Place tagging widget in a separate action and dialog class; it is
indicated by a 'tag' icon for better clarity.

-- This removes the requirement to specify a dummy 'edit' action on
multi-rules; instead, the separate tag action will appear automatically
as long as 'tags' is specified under the multiEdit's properties.

Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/css/cloudstack3.css
	ui/index.jsp
2012-08-06 14:15:41 -07:00
Alena Prokharchyk
5a72044dc7 Merge branch 'master' into vpc 2012-08-03 14:30:54 -07:00
Chip Childers
7998362b18 License header updates for the UI folder 2012-08-03 12:45:47 -04:00
Alena Prokharchyk
ce9f1afa78 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
2012-08-01 19:04:28 -07:00
Wido den Hollander
43b68a8dbe ui: Add label for management IP addresses 2012-07-31 23:00:09 +02:00
Alena Prokharchyk
a39fd61249 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00