Commit Graph

464 Commits

Author SHA1 Message Date
Brian Federle 5891f09d8c Merge branch 'ui-new-project-switcher' into ui-mixed-zone-management
Conflicts:
	ui/scripts/ui-custom/projectSelect.js
2013-04-16 11:47:19 -07:00
Brian Federle 5d05e49fa6 Merge branch 'master' into ui-mixed-zone-management 2013-04-16 11:45:05 -07:00
Brian Federle d529eba941 Project selector UI functionality 2013-04-16 11:44:00 -07:00
Brian Federle a7489889f2 Merge branch 'master' into ui-new-project-switcher 2013-04-16 11:02:14 -07:00
Jessica Wang 5f8a278196 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - make loginCmdText local. 2013-04-11 13:39:04 -07:00
Brian Federle c529c5a18d Project switcher: Add label 2013-04-10 14:43:52 -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 50140735c7 Project switcher: Add label 2013-04-10 14:42:22 -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 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
John Kinsella 5658fc4249 CLOUDSTACK-646: Cleaning up Citrix/eula/CloudPlatform references
Tried to remove any references to license agreements, EULA, Citrix,
or CloudPlatform. Tested through devcloud, didn't see decreased UI
functionality.
2012-12-16 20:39:03 -08:00
Jessica Wang e5ced5e4f4 CLOUDSTACK-537: cloudstack UI - zone wizard - Advanced zone with SG enabled - show Guest Traffic step with 5 fields (gateway, netmask, startIp, endIp, VLAN ID) and pass them to CreateNetwork API when creating default guest network. 2012-11-26 11:18:49 -08:00
Pranav Saxena c26cb9d069 CS-16078:AutoScale UI development- adding sec to Duration field 2012-11-16 10:56:53 +05:30
Pranav Saxena 525912766a CS-15909:[Autoscale] UI: Autoscaler references to be replaced with Autoscale 2012-11-16 10:56:49 +05:30
Brian Federle 28513fa6c6 Autoscale UI actions: Support passing new actionFilter on complete
Conflicts:
	ui/scripts/ui-custom/autoscaler.js
2012-11-16 10:56:49 +05:30
Jessica Wang 08a73d1134 cloudstack 3.0 UI - autoscale -fix a bug that action bar was not refreshed after action was complete. 2012-11-16 10:56:48 +05:30
Jessica Wang f348fcfb0e cloudstack 3.0 UI - autoscale - implement enableAutoScaleVmGroup API, disableAutoScaleVmGroup API. 2012-11-16 10:56:48 +05:30
Brian Federle 2e4923a286 Autoscale UI: Add actions to top of dialog
Support performing actions via the autoscaler dialog. This adds
'autoscaleActions' and 'actionFilter' options to the autoscaler, which
specify and handle the actions appearing in the UI.

Performing these actions will cause a loading overlay to appear until
actions are finished, when the action bar is refreshed via the action
filter.
2012-11-16 10:56:46 +05:30
Jessica Wang 45891a9269 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-11-16 10:56:46 +05:30
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 27fcb788e9 Instance wizard UI: Support conditional hide/show of add network box
Adds new function 'showAddNetwork' to instance wizard configuration,
which conditionally hides the 'add network form' on the select network
step. If it returns true, then show the box, otherwise false hides it.
2012-11-15 12:16:42 -08:00
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
Pranav Saxena 04c5d89f80 CS-16681:Inconsistent behavior in custom disk offering selection page in Add VM instance wizard - Fixed by adding a Jquery bind event 2012-11-03 13:01:32 +05:30
Jessica Wang 0d7ed63e20 CS-16573: cloudstack UI - VM Wizard - makeSelects() - sanitize output value. 2012-11-02 11:20:24 -07:00
Brian Federle 53072af8f7 CS-16295: Fix select project search box
Adds search functionality to 'select project' dialog's input box,
which was not sending value to the listProjects API
2012-11-01 12:17:39 -07:00
Brian Federle e6c3e59e39 UI custom actions/enable static NAT: fix loading state
Fixes a bug where the loading state is not immediataly set for the
detail view on performing certain custom UI actions, particularly
enable static NAT.

This passes a separate 'start' function to the custom widgets, which
triggers the loading state, and 'complete' when the action
completes (i.e., the server call is done)
2012-10-25 14:40:16 -07:00
Brian Federle 991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07: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 330c89ce59 CS-16328:UI not calling the listCapacity correctly 2012-09-13 14:21:52 -07:00
Brian Federle eb0caf10a2 CS-16218: Only show VPC router details for ROOT admin 2012-08-30 11:01:02 -07:00
Jessica Wang 05fef0fb25 cloudstack 3.0 UI - VPC - localize Configure VPC Chart (Reviewed-by: Brian) 2012-08-29 13:29:44 -07:00
Jessica Wang bbf8bed8ee cloudstack 3.0 UI - VPC widget - localize text (Reviewed-by: Brian) 2012-08-28 15:59:46 -07:00
Brian Federle a52889bb6a CS-16196: Fix VM wizard network selects
-Fixes case where 1 existing network is present, but cannot be
 unchecked when 'add new network' is checked

-Fixes regression with multiple networks and VPC tiers present, where
 unchecking all regular networks will select the hidden VPC network

reviewed-by: jessica
2012-08-28 13:52:15 -07:00
Brian Federle e6ef6985f8 CS-16138: Fix instance wizard 'add network' radio button
When no guest networks are present but VPC tier is, fix 'add new
network' radio button being unselected.

reviewed-by: jessica
2012-08-22 15:24:58 -07:00
Jessica Wang 57d95d27f1 cloudstack 3.0 UI - VPC feature - fix a bug that shortLabel was not localizable. (Reviewed-by: Brian) 2012-08-21 16:51:22 -07:00
Brian Federle 5d94a8de8c VPC UI: Network ACL: Only show 'acl' tab on detail view
reviewed-by: jessica
2012-08-21 13:12:52 -07:00
Brian Federle 7d934d1039 CS-16085: Fix networks checkboxes
When both VPC and isolated networks are present, fix case where
unchecking first isolated networks triggers checkbox for VPC tier
network, thus making it appear as if no network is selected.

reviewed-by: jessica
2012-08-20 15:00:44 -07:00
Brian Federle 9394e838a5 CS-16001: Show router details on click of 'virtual router'
Clicking the 'Virtual Router' button will show the same router tab as seen on
the VPC detail view.

 -- Note that this is only clickable for admins, as users cannot view router
      details in the API.
2012-08-16 12:36:03 -07:00
Jessica Wang 78b3b1ad83 CS-15977: cloudstack 3.0 UI - VM Wizard - select network step (5th step) - if there is no visible network in Existing Networks Area, check checkbox in Add Network Area. 2012-08-14 15:53:18 -07:00
Mice Xia 29459549ba Fix a bug: zoneWizard uses incorrect vlan parameter to create storage network 2012-08-14 13:43:09 +08:00
Pranav Saxena 94d8eb71fb ACL restructuring label renaming 2012-08-13 14:29:21 +05:30
Pranav Saxena f285ce4ef0 ACL restructuring UI changes 2012-08-13 14:22:32 +05:30
Brian Federle 42a9fd641e VPC UI: New ACL flow
-Remove the ACL action from the tier chart item

-Adds an ACL overview list view under the VPC configure menu which
 displays each tier and their total # of ACLs.

-Add ACL edit to tier detail view

- (misc) Also add IP address tab to tier detail view
2012-08-10 13:04:20 -07:00
Brian Federle 41afde3207 CS-15902: Remove loading overlay from VPC actions
For add VPN and add gateway actions: remove loading overlay to allow
user to perform other actions. The overlay is replaced with a set of
notification messages indicating the status of the job.
2012-08-09 16:15:29 -07:00
Jessica Wang cd5b79414b CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:52:55 -07:00
Pranav Saxena 8f34776dd8 CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier' 2012-08-08 18:02:39 +05:30
Pranav Saxena dd7a0da9a7 CS-15901:InterVlan - UI - Site-to-Site VPN Gateway - Confirmation Message should mention Site-to-Site VPN Gateway instead of just VPN Gateway 2012-08-08 15:00:48 +05:30
Pranav Saxena feaea413c7 CS-15844:InterVlan - UI - Remove ACL Icon is not displayed properly for ACL Rules 2012-08-06 16:06:30 +05:30
Brian Federle 26a4132b11 CS-15841: Better add VPC gateway flow
- Because only 1 gateway can exist per VPC, remove 'add' button from
  list view and immediately show create form on click if no gateway is
  present; show list view on successful creation. If there is a
  gateway, go to list view immediately.

- Rename "Gateways" -> "Private Gateway"
2012-08-03 12:26:34 -07:00
Brian Federle 5cb356024f CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:42:40 -07:00
Brian Federle 2cb141e6ae VPC: Update site-to-site VPN creation flow
If no VPN gateway exists for a VPC, then immediately show a dialog box
asking if user wants to add. If so, create VPN gateway and show list
view afterwards.

- This removes the 'add' button from the list view, moving the code up
  a level in the object to siteToSiteVPN.add

- In addition there is a new function, siteToSiteVPN.preCheck, which
  returns true/false. If true, then show list view immediately; if
  false, show dialog and go through creation process, showing list
  view afterwards.

Conflicts:
	ui/scripts/vpc.js
2012-08-02 11:34:51 -07:00
Brian Federle 1c7e68aa49 VPC widget: fix missing $browser reference 2012-07-31 14:37:55 -07: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
olgasmola b7d68ac5d5 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 16:27:59 +03:00
olgasmola b10a619635 CS-15518: Fix password field garbling on login screen. 2012-07-27 15:36:58 +03:00
Brian Federle 4a38f2be17 Cleanup formatting/whitespace
Conflicts:
	ui/scripts/vpc.js
2012-07-26 15:40:24 -07:00
Brian Federle ae45ed65c6 VPC tier UI: Fix loading state for other actions
Fix actions other than the add VM action, whose loading state was
never removed
2012-07-26 14:41:37 -07:00
Brian Federle 1ba451b65f VPC UI: Better launch VM loading state for tiers
When launching a VM via the 'add VM' button on a VPC tier, show
loading icon to the side of the VM count, so that the tier area isn't
blocked, allowing the user to add more VMs or do other actions to the
tier.
2012-07-26 14:33:14 -07:00
olgasmola 1075344f03 CS-15353: Larger click boxes in UI. 2012-07-25 11:54:45 +03:00
olgasmola dc19c86fde CS-15533: Add instance/Review tab fix empty value. 2012-07-25 10:42:43 +03:00
Jessica Wang dc847ed832 cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-20 15:44:45 -07:00
bfederle 71bfeae487 Update VPC UI 2012-07-20 11:02:28 -07:00
Hugo Trippaers 79c7da07ab Phase 1 of Nicira integration 2012-07-11 17:16:06 -07:00
Brian Federle 262bbbe800 Add block to show/hide tier select
-- Hidden by default, needs real conditional code
2012-07-10 15:41:23 -07:00
Brian Federle 9f093817f3 Implement static NAT tier select UI
Adds a new drop-down to the enable static NAT dialog to allow selecting a tier to be associated with the VM. This is in the header of the list view.

It is defined as follows:

enableStaticNAT: {
  ...
    action: {
      noAdd: true,
      custom: cloudStack.uiCustom.enableStaticNAT({
        // VPC
        tierSelect: function(args) {
          args.response.success({
            data: [
              { id: '1', description: 'VPC 1' },
              { id: '2', description: 'VPC 2' }
            ]
          });
        },
    ...
2012-07-10 15:41:23 -07:00
Brian Federle 49c3c8b2e3 VPC UI: Add link to site-to-site VPN
Add link in tooltip for site-to-site VPN, which opens a new panel
showing the list view. This draws from the existing 'siteToSiteVpn'
network subsection, so no modification should be required to the
existing list view.
2012-06-29 13:36:07 -07:00
Brian Federle 683b7d7822 Add configure VPC tooltip and links 2012-06-29 13:13:59 -07:00
Brian Federle f026387103 Add configure icon to VPC 2012-06-29 13:13:59 -07:00
Brian Federle 4c6738266d Fix add tier UI
Properly pass context for add tier dialog, which broke due to recent
changes that requires context to be present, for the action filter.
2012-06-28 15:34:22 -07:00
Brian Federle b1a5ec13cd VPC tier UI: Update state after performing actions
After performing an action that changes state, namely starting and
stopping a tier, run through the action pre-filter again, to make sure
that the allowable actions are properly refreshed.

Conflicts:
	ui/scripts/ui-custom/vpc.js
2012-06-28 15:23:37 -07:00
Brian Federle 28e49e8880 VPC UI: Refactor tier action filter handling
For reusability, move action filter handling for VPC tier actions to a
separate function. This allows for easier refreshing of actions after a
tier's state has changed.
2012-06-28 15:22:41 -07:00
Brian Federle 9bbbc4e356 Pass _custom correctly to VPC tier add VM action 2012-06-28 14:21:08 -07:00
Brian Federle 6d78cc4000 Add Apache license to new JS files 2012-06-28 13:40:19 -07:00
Brian Federle 808a3d75d9 Instance wizard: Don't try to add a new row if list view isn't present 2012-06-28 11:14:02 -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
Brian Federle e6a6f84361 Pass context to instance wizard 2012-06-28 10:51:56 -07:00
David Nalley 9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
Jessica Wang 3ee3e4122a cloudstack 3.0 UI - add zone wizard - (1) When sdn.ovs.controller is true and when the physical network is in Advanced zone, show isolation method dropdown with two options (VLAN, GRE). VLAN is the default option in the dropdown.
(2) When sdn.ovs.controller is false: hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
(3) When the physical network is in Basic zone (regardless of sdn.ovs.controller) : hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
2012-06-22 16:07:12 -07:00
Jessica Wang 791986268a (1) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
(2) CS-15312 - cloudstack 3.0 UI - Add Zone Wizard - add physical network - remove "L3" option from isolation method.
2012-06-21 13:48:11 -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
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
Brian Federle 4b88f454a3 CS-14953: 'CloudStack' -> 'CloudPlatform'
reviewed-by: brian

commit 4488f0a66766286e960a47d34cd2e5148162bcab
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Tue May 22 15:15:40 2012 +0530

    Renaming CloudStack to CloudPlatform for Proprietary builds
2012-05-22 11:45:58 -07:00
Brian Federle eb6392d48c CS-12462: no close button on select project list view popup 2012-05-21 10:29:29 -07:00
Brian Federle cf4ef95e9a CS-13123: Hide diagram parts on change password form 2012-05-15 11:56:45 -07:00
Brian Federle 0bc65768b7 CS-14339, CS-14241
In instance wizard, use configuration value for max. custom disk
offering size, instead of hardcoding the max size to 100 GB
2012-05-14 11:45:21 -07:00
Jessica Wang 89ee1b4814 cloudstack 3.0 UI - login page - add a blank option to language dropdown. When this blank option is selected, browser's default language will be used. 2012-05-03 15:41:38 -07:00
bfederle 57cc1ea378 WIP: Upload volume UI
Adds new action, upload volume, to the storage->volumes list view
header. This will present a dialog to specify URL & name of volume,
and select a VM to attach the volume to.

Server API calls are still incomplete and rely on hardcoded values.
2012-05-02 14:29:29 -07:00
bfederle 898952479e CS-14461: Add more infrastructure page shortcuts
-Add additional shortcuts for:
  -Primary storage
  -Secondary storgage
  -Virtual routers
  -System VMs

-Replace host stats with the new shortcuts

-Add 'zone' dropdown to create form for the newly added-shortcuts'
 sections, to support creating these items without a zone context
2012-04-30 10:32:43 -07:00
Jessica Wang 8d92440ec2 CS-14272: cloudstack 3.0 UI - Add Zone Wizard - physical networks step - add Isolation Method dropdown. 2012-04-26 16:19:46 -07:00
Jessica Wang b7b77cea5c CS-14559: cloudstack 3.0 UI - VM Wizard - last step - screen doesn't change, but user-entered VM name will be passed as hostname and displayname to deployVirtualMachine API. Add validation of user-entered name field to match naming rule of hostname. 2012-04-18 17:45:41 -07:00
pranav ee0f3e898c Bug 12833 addition of Fetch Latest Button on the Dashboard
Conflicts:

	client/WEB-INF/classes/resources/messages.properties
	ui/css/cloudstack3.css

reviewed-by: brian
2012-04-12 15:15:31 -07:00
Brian Federle 3a5a60c0be Add 'view all' shortcuts for common zone resources
On the physical resources dashboard, add a button to view all
resources for pods, clusters, and hosts. This will compile a
list view containing the resources across all zones.

In order to be able to add resources when in this zone-inspecific mode,
a zone drop-down had to be added to the create forms for
pods, clusters, and hosts.
2012-04-09 13:26:08 -07:00
Brian Federle 0194ca1954 Projects UI: fix dialog
Remove closeOnEscape from $(':ui-dialog') option calls, as they cause
JS errors breaking the projects UI. closeOnEscape is already defined
when the dialog is initialized, so these don't need to be defined
again.
2012-04-05 13:39:48 -07:00
Pranav Saxena 65ecbcae0b Bug : 13582 UI freezes because of pressing Escape key 2012-04-05 13:39:41 -07:00
Brian Federle fc0327677a Cleanup whitespace + indentation for UI widgets 2012-04-03 15:35:36 -07:00
Pranav Saxena c85daa95c9 Bug 12343: Multiple Clicks on View More buttons adding extra tab in the bread crum bar 2012-04-03 15:26:17 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
bfederle 608cbd266f Instance wizard: show loading overlay on launch
When clicking the launch VM button, immediately show a loading overlay,
preventing multple clicks which can accidentally launch multiple VMs.
2012-03-29 13:49:55 -07:00
Jessica Wang 297ec02dea bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - configuration - clicking Firewall - show Firewall multiEdit screen instead of NAT Port Range screen because createIpForwardingRule/deleteIpForwardingRule/listIpForwardingRules API are obsolete in cloudstack 3.0 2012-03-29 11:53:10 -07:00
bfederle 97d8941a54 bug 14057
Rename 'label' -> 'traffic label' in configure traffic type dialog.
2012-03-28 10:24:52 -07:00
Brian Federle 0db22e44e8 bug 14375
Use 'Management IP Addresses' in place of 'Private IP Addresses' for
label on system dashboards
2012-03-21 11:15:03 -07:00
bfederle 4a9155df1b Always render physical networks as list view first 2012-03-20 13:58:23 -07:00
bfederle c23f1b8882 UI: Zone wizard update
-Allow for editing of traffic labels within the zone wizard; visible
 by going to the create physical network(s) step and clicking the
 'edit' button under each traffic type.

-Make hypervisor selection part of the create zone step, instead of
 the add cluster step -- this is to allow the physical network UI to
 have the selected hypervisor for the edit traffic labels dialog.

-Show drag-and-drop UI for basic zone setup, so that user can edit
 traffic labels for a basic zone. Note that user can only have one
 physical network here.

-Allow creation of storage traffic in a basic zone configuration, by
 optionally dragging storage traffic type icon to first physical
 network
2012-03-20 13:27:28 -07:00
bfederle 8ec783866b Prevent dashboard from breaking if item value is null 2012-03-20 08:23:27 -07:00
bfederle afbf97465a Sanitize projects UI elements -- project selector, etc. 2012-03-14 14:59:15 -07:00
Jessica Wang 4b4cba10c7 cloudstack 3.0 UI - replace old sanitizeXSS() with new cloudStack.sanitize(). 2012-03-14 14:03:28 -07:00
Jessica Wang 5c12161123 cloudstack 3.0 UI - infrastructure page - update SSL Certificate - overlay loading image during action. 2012-03-08 14:11:27 -08:00
Jessica Wang a601ef4c11 bug 14023: extend dialog widget to support textarea field. 2012-03-07 10:04:17 -08:00
Jessica Wang 58add196be bug 14023: add "update SSL Certificate" button in the first screen in Infrastructure page. 2012-03-06 16:00:10 -08:00
Jessica Wang 377fa4361f bug 12981: login screen - show explicit error messages when login fails. 2012-03-02 16:43:14 -08:00
Brian Federle ea7ea4ce6f bug 12767
Hide previous button on first step of instance wizard

status 12767: resolved fixed
2012-02-23 14:45:56 -08:00
Jessica Wang b815424948 Revert "bug 13924: IP Address page - Static NAT IP always support "Firewall - Port Range" regardless whether network offerings includes Firewall service or not. [reviewed-by: Brian]"
This reverts commit 0d430d0cd810542e4885487b78afccec422360e2.

[reviewed-by: Brian]
2012-02-22 18:29:52 -08:00
Brian Federle d6fc3f9010 Localizaton fixes
-Add conditional CSS for Japanese version

-Fix font wrapping in JA CSS for header bar, system dashboard

-Add some missing localization labels
2012-02-22 17:32:00 -08:00
Jessica Wang e450313cb5 bug 13813: Network Service Providers should be hidden when Guest traffic type is hidden. Network Service Providers should be shown when Guest traffic type is shown. 2012-02-22 13:59:49 -08:00
Brian Federle a1a368f9a2 Dashboard UI fix
For the user dashboard, have events 'view all' button go to the Events
list view, as Alerts can only be viewed by admins.
2012-02-22 12:22:26 -08:00
Jessica Wang 8b6a39cdfe bug 13924: IP Address page - Static NAT IP always support "Firewall - Port Range" regardless whether network offerings includes Firewall service or not. 2012-02-22 11:19:44 -08:00
Brian Federle cebbce42a7 Make default language English, if no cookie set 2012-02-22 11:05:20 -08:00
Jessica Wang da484225f7 add zone wizard - advanced zone - storage traffic - add IP Range - add gateway field in ui-custom widget. 2012-02-17 15:37:41 -08:00
Brian Federle 80e4b5ef7c Add a few more missing localization labels 2012-02-17 14:12:53 -08:00
Brian Federle d3cc43e83f bug 13815
Add language drop-down to login screen

status 13815: resolved fixed
2012-02-17 11:28:14 -08:00
Brian Federle 2e82439a53 Hide Citrix logo if no EULA is present (i.e., is OSS version) 2012-02-16 16:22:23 -08:00
Brian Federle ccd7d8b30a Install wizard: Conditionally load EULA
Conditionally show EULA screen, only if eula.html is retrieved
successfully via AJAX call (i.e., doesn't return a 404). Otherwise,
bypass EULA and start with intro screen.
2012-02-16 15:42:01 -08:00
Brian Federle 6d8a11c74b Complete localization for quick install wizard
-- Also separates EULA into an iframe-embedded HTML file
2012-02-16 14:45:10 -08:00
Jessica Wang 68f12d9753 cloudstack 3.0 new UI - localize messages during zone creation. 2012-02-16 11:23:22 -08:00
Brian Federle 5c0696073f bug 13743: New zone wizard step -- configure storage traffic
For an advanced zone, with the storage traffic type assigned to a
network, add a new step to configure the IP ranges of the storage
traffic type.
2012-02-15 16:30:54 -08:00
Brian Federle 18bfc4090a WIP: Install wizard localization 2012-02-15 10:16:08 -08:00
Brian Federle 34999a25ae Projects UI localization
-Dashboard
-New project wizard
-Misc. missing localized strings
2012-02-14 16:00:52 -08:00
Brian Federle 4ed91ab252 Localization for instance wizard 2012-02-14 14:46:21 -08:00
Jessica Wang ca83ac7749 bug 13575: deployVM wizard - step 4 - select network - pop up a warning message if no network is selected when Next button is clicked. 2012-02-10 15:43:31 -08:00
Brian Federle 7b6e98b20e Fix zone pie charts in IE 2012-02-10 15:24:07 -08:00
Brian Federle 03d1f40c9a Dashboard IE8 fixes 2012-02-10 14:55:13 -08:00
Brian Federle 21ad20c8b8 bug 13587
Better ordering of zone resources dashboard items by type

status 13587: resolved fixed
2012-02-10 14:05:48 -08:00
Brian Federle a6f805c140 bug 13589
-Fix 'view all' alerts to open up a new panel with the Alerts listing

-Remove 'view all' for host alerts, as there is no relevant section to
 go to for this

-Fix some localization codes

status 13589: resolved fixed
2012-02-10 10:42:40 -08:00
Brian Federle 9ee043efde Localization for storage->volumes section 2012-02-09 14:15:06 -08:00
Brian Federle 881a46ff54 Localize admin dashboard 2012-02-09 13:16:10 -08:00
Brian Federle 32d6e994c3 Localization for projects UI 2012-02-09 12:22:10 -08:00
Brian Federle d9aa7d43a0 bug 13501:
Don't let user go next if no template/iso is selected on step 2

status 13501: resolved fixed
2012-02-09 11:11:46 -08:00
Jessica Wang 5c7789f1fb bug 13461: deployVM wizard - select ISO step - fix a bug that hypervisor div didn't get removed if ISO in another tab is selected (select ISO step has 3 tabs now). 2012-02-08 20:22:22 -08:00
Jessica Wang 2756b0fdcc bug 13461: deployVM wizard - select ISO step - split one tab (All ISOs) to three tabs (Featured ISOs, Community ISOs, My ISOs) 2012-02-08 19:43:05 -08:00
bfederle 4a0a2fbf8e Projects: add project UI fix
Remove actions column from 'Review' users list view -- this was having
buggy behavior due to widget limitations. User can still add/remove
afterwards by going to project detail view.
2012-02-07 16:19:41 -08:00
bfederle c094c1a6db bug 13115
Show project name in header when project is active

status 13115: resolved fixed
2012-02-07 16:14:39 -08:00
bfederle 81e878eaa9 bug 12780:
Add/update zone capacities to support updated capacity types

status 12780: resolved fixed
2012-02-07 15:51:16 -08:00
bfederle 04bfbc435e Clear out input field when switching from account <-> e-mail fields 2012-02-07 12:44:09 -08:00
bfederle 995589b479 Add invitation check; dialog for pending invites; misc. fixes 2012-02-06 16:50:08 -08:00
bfederle 99fe55e385 Add updated invite form 2012-02-06 16:05:11 -08:00
bfederle 8326989410 Integrate resources form into project detail view 2012-02-06 13:03:56 -08:00
Jessica Wang d9c5aa45c2 bug 13461: deploy VM wizard - step 2 (select template/ISO step) - correct label "My ISOs" to be "All ISOs" because that's what really show here. 2012-02-06 11:31:25 -08:00
bfederle fbf1c958db bug 12497
Fix back button causing erratic behavior, due to force re-populating
of form fields in each step; data only repopulates now if an item on a
previous step has changed.

status 12497: resolved fixed
2012-02-03 15:36:42 -08:00
Jessica Wang 4a0517e9e0 bug 13412: Quick install - add cluster - hypervisor - add KVM option 2012-02-02 13:54:16 -08:00