Commit Graph

285 Commits

Author SHA1 Message Date
Jessica Wang e7e486204e cloudstack UI - dialog widget - introduce new property isDatepicker. 2012-10-05 11:38:47 -07:00
Jessica Wang 8ea0a230e6 CS-16452: cloudstack UI - dialog widget - call field.selectFn regardless of value of field.isHidden. 2012-10-04 16:58:24 -07:00
Jessica Wang a5c9c560ff cloudstack UI - listView widget - keep advanced search criteria when scrolling down grid when the last search is from advanced search dialog. 2012-10-04 16:30:17 -07:00
Jessica Wang f7667e8a88 cloudstack UI - dialog widget - (1) extend field's isHidden property to have function type other than boolean type. (2) do not call field's select function if field's isHidden property is false. 2012-10-04 12:12:19 -07:00
Jessica Wang 92864aa023 cloudstack UI - advanced search - instance page - add name field, zone dropdown, tag key field, tag value field. 2012-10-02 16:47:55 -07:00
Jessica Wang c9bd605029 cloudstack UI - advanced search - after searching, clear basic search input field to avoid confusion of search result. 2012-10-02 16:00:05 -07:00
Jessica Wang 6266fcb8f7 cloudstack UI - advanced search - show advanced search icon on listView only when advSearch property is specified. 2012-10-02 15:39:14 -07:00
Jessica Wang 2c6bc0e918 CS-16197: cloudstack UI - Tags - input validation. 2012-10-01 16:07:45 -07:00
Pranav Saxena 4d458c988a CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes to reset the default value Reviewed-By:Brian 2012-10-02 00:12:51 +05:30
Pranav Saxena 4530af1bee CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes 2012-09-29 12:12:20 +05:30
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 90a649753c Revert commit f090fdeea7 "CS-15292: Split long OS Type list when create Template,ISO." which causes bug 39 (https://issues.apache.org/jira/browse/CLOUDSTACK-39) that blocks QA's testing since QA is unable to select a provider on any service during network offering creation. 2012-09-13 16:04:06 -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 7e3b4408cb UI create form: Support custom checkbox 'on change' event
If field is a checkbox (isBoolean: true) and onChange function is
specified, then call this onChange everytime checkbox is clicked.
2012-08-23 11:08:12 -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
olgasmola 0be4230f91 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 23:37:45 -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 b7d68ac5d5 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 16:27:59 +03:00
olgasmola f090fdeea7 CS-15292: Split long OS Type list when create Template,ISO. 2012-07-25 12:05:05 +03:00