Commit Graph

218 Commits

Author SHA1 Message Date
Jessica Wang c99a3c6ee9 CS-16197: cloudstack UI - Tags - output encoding. 2012-09-27 17:40:43 -07:00
Jessica Wang 45360b7a57 cloudstack UI - advanced search - introduce new property "advSearchFields" to lsitViewData. 2012-09-26 15:17:00 -07:00
Jessica Wang d09b46751c cloudstack UI - advanced search - extend listView widget to pass data on Advanced Search Dialog to data provider. 2012-09-26 11:04:39 -07:00
Jessica Wang 645527dbf7 cloudstack UI - advanced search - use cloudStack.dialog.createForm() 2012-09-25 16:31:05 -07:00
Jessica Wang a3c80ebf4e CLOUDSTACK-109: cloudstack UI - (1) detailView widget - pass context to isEditable() when calling it. (2) account page - Edit action - allow to update network domain on system-generated default admin account. 2012-09-24 16:05:32 -07:00
Jessica Wang edc6b4c6da cloudstack UI - listView widget - basic search - fix a bug that happened on IE browser that clicking Enter key didn't do the searching. 2012-09-20 15:25:50 -07:00
Jessica Wang 155436870f cloudstack 3.0 UI - tagger widget - localize text (Reviewed-by: Brian) 2012-08-28 14:46:58 -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
Brian Federle 5633ad0beb CS-16016: Reset input field to default value on add
Conflicts:
	ui/scripts/vpc.js
2012-08-16 13:48:21 -07:00
Pranav Saxena 37f646f3ff CS-15981:changing addvm's to add 2012-08-14 18:13:22 +05:30
Pranav Saxena 8553918d08 CS-15981:Add Load Balancer page inside Guest networks is blank 2012-08-14 16:34:07 +05:30
Brian Federle 9bf7d757e8 multiEdit: Support default value and description
-If 'defaultValue' is specified for a text field, then put that value
 into the text field on load.

-If 'desc' is specified for any field, then use it as a 'title'
 attribute to show a tooltip description.

Example:

      'icmptype': {
        ...
        defaultValue: '-1',
        desc: 'Please specify -1 if you want to allow all'
        ...
      }
2012-08-13 12:16:43 -07:00
Mice Xia 00b2a8040b Remove @author tag from non third-party source files in agent-simulator, cloud-cli, test, ui and utils folder 2012-08-13 15:30:42 +08:00
Brian Federle abbfd74077 Fix _hideFields array not hiding add VM button 2012-08-10 14:03:17 -07:00
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 83361776fa multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-08-10 10:43:35 -07:00
Brian Federle a96c9013d4 multiEdit: pass context to select handler 2012-08-10 09:17:48 -07:00
Alena Prokharchyk 048c5e50cf Merge branch 'master' into vpc
Conflicts:
	utils/test/com/cloud/utils/component/MockComponentLocator.java
2012-08-08 11:50:39 -07:00
Mice Xia 8d75c8fe7d fix for empty event detail page 2012-08-08 15:49:27 +08:00
Brian Federle 310b24b285 List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:59:36 -07:00
Brian Federle 8630891c07 List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:58:57 -07:00
Brian Federle c6e58b6ece multiEdit: support validate on custom action
If requireValidation: true is set for a custom action, then only
perform action if multiEdit's form fields are valid. This does not
apply to clicking on existing rules' action buttons.

Syntax:

multiEdit: {
  fields: {
    testField: {
      custom: {
        requireValidation: true,
        ...
      },
      ...
    },
    ...
  }
}

Conflicts:
	ui/scripts/ui/widgets/multiEdit.js
2012-08-07 13:48:27 -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
Brian Federle babc868de6 listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:57:28 -07:00
Brian Federle 640dcdec1f cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 15:57:24 -07:00
Brian Federle 8120785bab listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:57:00 -07:00
Brian Federle ef9dd4210e cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 14:36:15 -07:00
Alena Prokharchyk 7706a9c32f Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
2012-07-31 13:37:28 -07:00
Brian Federle 1fbf5952cd Add license header to tagger widget 2012-07-30 14:32:32 -07:00
Brian Federle 6b47907f39 CS-15726: Use custom validation for tagger widget
Show a generic dialog box for tagger validation, instead of using
jQuery validate

--it conflicted with the detail view's edit fields and prevented
submission unless the key and value fields were filled out.
2012-07-30 14:32:32 -07:00
olgasmola 9c895b14ab CS-15317: Fix operations with accounts on the Project tab after making another account project owner. 2012-07-27 23:37:46 -04:00
olgasmola 82bb1e5592 CS-15349: Fix incorrect result when Make owner in New project/Add account. 2012-07-27 23:37:46 -04: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 7fbd612d69 CS-15317: Fix operations with accounts on the Project tab after making another account project owner. 2012-07-27 18:23:07 +03:00
olgasmola 7fc3adbacc CS-15349: Fix incorrect result when Make owner in New project/Add account. 2012-07-27 17:32:54 +03:00
olgasmola 63f6308f03 CS-15393: Scroll bar fix when any point is selected. 2012-07-25 11:41:02 +03:00
olgasmola 85a13dfe1a CS-15478: UI cosmetic fix for empty buttons/viewAll section. 2012-07-25 11:33:35 +03:00
Brian Federle e626291a34 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:57 -07:00
Brian Federle d7d9b341c8 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:47 -07:00
Brian Federle f01f687601 Fix tag widget being appended to all dialogs 2012-07-24 15:26:09 -07:00
Brian Federle c5dc569aaa multiEdit: Pass context to tagger widget 2012-07-24 15:25:56 -07:00
Brian Federle e97c47b9ae Always make tags editable 2012-07-24 15:25:56 -07:00
Brian Federle 2ec005c628 Fix tag widget being appended to all dialogs 2012-07-24 15:05:30 -07:00
Brian Federle 53cc0a953d multiEdit: Pass context to tagger widget 2012-07-24 12:24:11 -07:00
Brian Federle 874536a768 Always make tags editable 2012-07-24 12:24:05 -07:00
Brian Federle e13a7a8387 Revert "CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI"
This was reverted, as another commit fixed the issue already:

commit 2b2e491f27
Author: bfederle <bfederle@gmail.com>
Date:   Tue Jul 17 11:38:56 2012 -0700

    CS-15572: Fix page index for list view filters

This reverts commit 374be31b63.
2012-07-24 11:56:11 -07:00
Pranav Saxena 5ba20b328d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-25 00:06:39 +05:30
Alena Prokharchyk 766b7a2706 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java
2012-07-23 16:38:58 -07:00
bfederle 1c2780f233 Tag UI: Make sure data is passed to remove action 2012-07-23 15:18:36 -07:00
bfederle 39e1936c87 Fix tags widget overlap with long detail views 2012-07-23 15:18:36 -07:00