Commit Graph

377 Commits

Author SHA1 Message Date
Rajani Karuturi fdf7639eb8 Fixed some html validation errors
language tag in script is deprecated. used type
<script> tag after </html> is invalid. moved the localized messages dictionary inside html body.
2013-11-05 10:23:32 -08:00
Brian Federle 16bb286729 Sockets: new UI flow
-Removes socket display from the main infra. dashboard and onto a
 separate page. This is due to performance issues with the API calls
 that query each hypervisor's socket data.

-Convert socket display to a list view, for simplicity/consistency.
2013-10-31 12:03:20 -07:00
Brian Federle 25d4333d45 Rename 'socket info' title to 'hypervisors'
Rename 'socket info' title to 'hypervisors' to make it more generic, as
the dashboard section contains hypervisor host counts which are useful
in other contexts.
2013-10-30 11:37:54 -07:00
Brian Federle 2189da6c72 CLOUDSTACK-4758: Make root disk size a text field 2013-10-30 11:20:02 -07:00
Brian Federle bed42deb88 CLOUDSTACK-4908: UI for report CPU sockets
-Adds socket info for hypervisors on infrastructure chart

-Displays # of sockets, and # of hosts

-Currently only dummy data set to 0 for all info
2013-10-29 14:16:25 -07:00
Brian Federle f0a8aa7f5e CLOUDSTACK-4738: VM wizard: Add custom fields for compute offering 2013-10-29 13:29:13 -07:00
Jessica Wang a1be4fffe5 UI > Instance Wizard > Step 4 > correct label from "Data Disk Offering" to "Disk Offering" since selected disk offering here refers to root disk volume when selected template is of ISO format, data disk volume otherwise. 2013-10-24 11:29:47 -07:00
Brian Federle 43b18025e3 CLOUDSTACK-4758: Add 'root disk size' field
Add 'root disk size' slider to instance wizard UI, under select
template/iso, if the selected template's size is able to be customized.
2013-10-22 11:45:18 -07:00
Brian Federle b04b6a0fbe Whitespace cleanup on index.jsp 2013-10-22 10:44:15 -07:00
Brian Federle ae7b0c50db Cleanup formatting on index.jsp, to comply with indentation standards 2013-10-22 10:43:15 -07:00
Jessica Wang 343ca473e7 CLOUDSTACK-4642: UI > storage > volume > recurring snapshot > timezone dropdown > remove hardcoding dropdown option from index.jsp since dropdown option is generated on the fly from timezoneMap variable in JavaScript file. 2013-09-10 16:21:02 -07:00
Ian Duffy bdba0ddeed Bring up to date with master 2013-08-31 00:25:48 +01:00
Brian Federle 4dafb54884 CLOUDSTACK-4124: Add affinity group list to review step 2013-08-07 16:41:33 -07:00
Ian Duffy ec064b3077 New LDAP UI
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2013-07-29 05:58:00 -04:00
Ian Duffy eaa4143371 Merge LDAPPlugin
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-25 17:54:52 +05:30
Brian Federle dfdbf20b67 Add disallowSpecialCharacters to some fields 2013-07-23 15:12:58 -07:00
Brian Federle 3eeca55c76 Remove zone filter drop-down 2013-06-14 12:26:00 -07:00
Hiroaki KAWAI 8744d1cdf6 CLOUDSTACK-2406: fix UI strings
Japanese properties file was broken, fixed manually.
We need to let the servlet container the encoding to use.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-27 15:52:23 +09:00
Nitin Mehta c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Milamber 1d493acfcc CLOUDSTACK-2138 : add ca, de_DE, it_IT ja, koçKR,nb_NO pt_BR, ru_RU resource files for UI with ASCII with unicode encoding. (Merging for 4.1/Transifex, sync with transifex), add some languages in combo list on login page on UI 2013-04-25 00:22:46 +00: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
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
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