13 Commits

Author SHA1 Message Date
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
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
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
David Nalley
9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
Brian Federle
fc0327677a Cleanup whitespace + indentation for UI widgets 2012-04-03 15:35:36 -07:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Brian Federle
80e4b5ef7c Add a few more missing localization labels 2012-02-17 14:12:53 -08:00
bfederle
345ca23e67 bug 12122
Show error message when enable static NAT fails

status 12122: resolved fixed
2012-01-05 12:38:07 -08:00
Brian Federle
9fcbfc7abc bug 12536
Fix enable static NAT to only show instances in network
2011-12-15 14:50:58 -08:00
Brian Federle
ba4f814d90 Fix enable static NAT dialog
Require VM selection, or pop-up error message -- prevents server call
from being made without a required VM.
2011-12-07 19:59:31 -08:00
Brian Federle
edc2df1d73 -Correctly refresh properties on detail view action
-Support async edit action
-Make action notification section optional
-Add save button to apply detail view edit
-Fix indentation, button spacing for multi-edit items
2011-11-16 16:19:17 -08:00
Brian Federle
29f510772c Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00