Commit Graph

348 Commits

Author SHA1 Message Date
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
Wido den Hollander 406fd95d87 Add RBD support for primary storage
This patch adds RBD (RADOS Block Device) support for primary storage in combination with KVM.

To get this patch working you need:
- libvirt-java 0.4.8
- libvirt with RBD storage pool support (>0.9.13)
- Qemu with RBD support (>0.14)

The primary storage does not support all the functions of CloudStack yet, for example snapshotting is disabled
due to the fact that backupping up a RBD snapshot is not possible in the way CloudStack wants to do it.

Creating templates from RBD volumes goes well, creating a VM from a template however is still a hit-and-miss.

NFS primary storage is also still required, you are not able to run your System VM's from RBD, they will need
to run on NFS.

Other then these points you can run instances with RBD backed disks.
2012-07-26 22:22:26 +02:00
olgasmola dc19c86fde CS-15533: Add instance/Review tab fix empty value. 2012-07-25 10:42:43 +03:00
Alena Prokharchyk 766b7a2706 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java
2012-07-23 16:38:58 -07:00
Brian Federle 642c667a75 Add tagger JS link 2012-07-23 15:18:36 -07:00
Jessica Wang dc847ed832 cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-20 15:44:45 -07:00
Brian Federle ccf2851ca6 CS-12739: VM wizard: add asterisk next to network 'name' field
Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-09 16:41:14 -07:00
Brian Federle c347c6bd09 Add base VPC UI
** Note: this is a work-in-progress, and only contains dummy content

Implement UI for managing VPC tiers, via a custom chart-like UI list
tiers and allowing the management of VMs associated with the VPCs.
2012-06-28 10:51:56 -07:00
Jessica Wang a00c21686f (1) CS-15057: Remove jquery.timer.js from source code. Replace it with native JavaScript functions.
(2) CS-14604: cloudstack 3.0 UI - Add Zone Wizard - skip Guest Traffic step if OVS tunnel manager is enabled.
(3) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
(4) CS-14769:  Don't pass subdomainaccess param when scope=project.
(5) CS-15157: cloudstack 3.0 UI - infrastructure page - physical network - network service providers - reset nspMap before populating listNetworkServiceProviders response to nspMap.
2012-06-21 12:13:41 -07:00
bfederle 01f172cd37 CS-14110: Show timestamp for general alerts
Original patch by: olga.smola
reviewed-by: brian
2012-06-20 14:51:36 -07:00
Brian Federle 45311fefc1 CS-13739: Localize 'login' button 2012-05-24 12:41:14 -07:00
Sanjay Tripathi c4e82930a8 NexusVswitch UI development 2012-05-25 01:11:38 +05:30
Brian Federle 9f2a823d6e CS-13091: Enable/disable physical network UI actions 2012-05-24 12:17:58 -07:00
Jessica Wang 89f704d88c CS-13739: localize more labels 2012-05-23 17:21:39 -07:00