Commit Graph

410 Commits

Author SHA1 Message Date
Jessica Wang f4066b51fb CLOUDSTACK-4700: UI > Instances > Reset VM action > if the template from which vm is created is password-enabled, pop up "Password hsa been reset to xxxxxxx" dialog. 2013-09-18 11:41:30 -07:00
Jessica Wang 066d944c78 CLOUDSTACK-4688: UI > (1) Notifications widget - pollTimer() - error handling - check if args is null before trying to access args.message property (2) sharedFunctions.js - pollAsyncJobResult() - error handling - pass message argument to args.error(). 2013-09-17 16:37:47 -07:00
Jessica Wang 3e14b6b795 CLOUDSTACK-4687: UI > listView widget > actions in a grid row > when an action is completed, refresh the grid row with only data returned by getUpdatedItem() instead of combination of data returned by getUpdatedItem() and original embedded data in grid row. 2013-09-16 13:52:54 -07:00
Jessica Wang da54e06dd1 CLOUDSTACK-4102: UI > widget > extend dialog widget to have dynamic description. 2013-08-22 15:03:06 -07:00
Jessica Wang c657243f11 CLOUDSTACK-4092: UI > listView widget: fix a bug that a grid row was incorrectly removed when a non-add action of listView failed. 2013-08-07 11:08:54 -07:00
Brian Federle d1ede5430c CLOUDSTACK-2340: Display service state for health-checked VMs 2013-08-05 11:45:20 -07:00
Jessica Wang ef8e04a1a6 CLOUDSTACK-3344: UI > util > _s() should not include ampersand. 2013-08-01 11:41:15 -07:00
Isaac Chiang e8f1ce3aa4 CLOUDSTACK-3388:No error message shows when a dedicate operation failed during the creation of a pod/cluster 2013-07-25 08:37:14 +08:00
Brian Federle 7ce17fa3b8 CLOUDSTACK-3560: UI createForm: Support multiple dependsOn targets
Support passing list of dependsOn targets for form fields. This will
trigger a change if any items specified in list are changed.

Example:

fieldA: {...},
fieldB: {...},
fieldC: { dependsOn: ['fieldA', 'fieldB'] }
2013-07-24 14:25:40 -07:00
Brian Federle 585fdd9781 CLOUDSTACK-3153: Fix numbering of ACL items
Re-number dragged items in increments of ten, and use an average of
the previous and next number, so that multiple reorders can occur
before conflicts happen.
2013-07-24 11:04:29 -07:00
Brian Federle c1102fcc79 Add disallowSpecialCharacters to some fields 2013-07-23 15:13:19 -07:00
Jessica Wang f766a9e58d Format JS 2013-07-19 09:59:28 -07:00
Brian Federle 40cac192f6 Detail view: Fix context not being refreshed on perform action 2013-07-08 15:56:36 -07:00
Brian Federle 33c144a463 UI: Localize app name and 'about' window 2013-07-08 11:33:28 -07:00
Brian Federle f239136605 Multi-edit: edit rule UI: fix regression and restore functionality
Conflicts:
	ui/scripts/ui/dialog.js
2013-07-08 11:33:28 -07:00
Brian Federle b48d99b518 CLOUDSTACK-3170: Support editing ACL rule items
Conflicts:
	ui/scripts/vpc.js
2013-07-08 11:33:27 -07:00
Brian Federle 4cd5dfe2ae CLOUDSTACK-3153: On reorder, only update target ACL item's number 2013-07-08 11:10:11 -07:00
Jessica Wang 6ea38bff16 reverts commit 7e96bf5f19 which causes regression of CreateAccount dialog. 2013-06-27 09:50:57 -07:00
Brian Federle 7e96bf5f19 CLOUDSTACK-3170: Support editing ACL rule items 2013-06-26 12:28:37 -07:00
Jessica Wang 0b4e0b307f BUG-ID: CS-17733 - make detailView widget to pass jsonObj to tagger widget, so dataProvider in tagger widget is able to pass projectid to listTags API.
Reviewed-by: Brian
2013-06-24 11:30:35 -07:00
Brian Federle 8bd204f771 UI form dialog: Support left-right field columns
For larger forms, if 'bigSize' is specified in form options, dialog
will widen to a 2-column layout. This is to prevent the form fields
from going off the bottom of the screen.
2013-06-21 14:33:26 -07:00
Brian Federle 231c4b5b10 CLOUDSTACK-2716: Truncate long values
For cases such as in global setting values, truncate long text if new
option 'truncate: true' is specified in field properties. This will
reduce td's max-width and add ellipses. Edit field on truncate: true
columns will overflow into action column, to prevent input area from
being too cramped.
2013-06-18 15:16:35 -07:00
Brian Federle b7def43427 CLOUDSTACK-2080: Fix error handling for multi-edit actions 2013-06-18 13:48:07 -07:00
Isaac Chiang 2fb18db7b1 CLOUDSTACK-2976: At zone level setting same parameter page is getting
displayed repeatedly when you scroll down
2013-06-16 23:04:33 +08:00
Brian Federle f15a7c3f8e Code cleanup 2013-06-10 10:43:31 -07:00
Brian Federle 88a62ab890 List view widget: Support 'listView' selection for actions 2013-06-05 16:20:05 -07:00
Brian Federle dfdb8a967e CLOUDSTACK-1742: Better text labels for secondary IP UI 2013-06-04 16:06:48 -07:00
Brian Federle 66f5d4a537 Fix dialog overlay 'buildup' when changing some selects 2013-05-31 14:58:12 -07:00
Brian Federle ea440f2593 Add API calls to update ACL item order on drag-and-drop 2013-05-22 15:50:19 -07:00
Brian Federle b88da4e1c1 VPC UI: Reload chart on perform detailView action 2013-05-21 15:36:50 -07:00
Brian Federle dfa93b52a8 Detail view actions: Add support listView selection
Adds a new dialog 'cloudStack.dialog.listView'

-- Supports displaying a list view in a popup dialog, for selecting
   items for an action (i.e., selecting VMs for an LB rule). Arguments
   are a list view object and the 'type' of selection: either
   'checkbox' or 'radio'

Example:

detailView: {
  name: 'Internal Lb details',
  actions: {
    assignVm: {
      label: 'Assign VMs to LB',
      messages: {
        notification: function(args) { return 'Assign VM to internal LB rule'; }
      },
      listView: $.extend(true, {}, cloudStack.sections.instances.listView, {
        type: 'checkbox',
        filters: false
      }),
      action: function(args) {
        args.response.success();
      },
      notification: {
        poll: function(args) {
          args.complete();
        }
      }
    }
  },
  ...
}
2013-05-21 15:07:21 -07:00
Brian Federle 451c83c998 Fix listView add/replace row for VPC section 2013-05-21 12:52:55 -07:00
Brian Federle 34d7014c88 ACL multi-edit: Fix reorder drag handle 2013-05-15 15:58:55 -07:00
Brian Federle cb31791adf WIP ACL draggable multi-edit 2013-05-14 16:25:37 -07:00
Isaac Chiang a9f0fb8009 CLOUDSTACK-2076:Listview widget infinte scrolling error 2013-05-05 01:57:35 +05:30
Pranav Saxena 1206fd6b4e Widget change to incorporate VM state while adding a load balancer rule 2013-05-02 22:25:47 +05:30
Pranav Saxena ba9feabe8c Widget change to incorporate VM state while adding a load balancer rule 2013-05-02 21:02:51 +05:30
Brian Federle 6b1da42221 Detail view, multi-group actions: Prevent refresh of all tabs
Prevent call to updateTabContent, which will switch the detail view
off the current tab on action complete.
2013-04-26 15:32:15 -07:00
Brian Federle 86a9f27692 Detail view/instances section: Fix context, add makeDefault action
-Add 'makeDefault' action to set default NIC

-Fix context passing for multi-actions, which wasn't passing the correct
 nic object previously.
2013-04-26 15:21:57 -07:00
Brian Federle c02a4b9c7f Fix remove NIC UI behavior 2013-04-26 13:42:56 -07:00
Brian Federle b7b7753f1d Fix detail view 'add action' for multi-group tab 2013-04-26 12:37:08 -07:00
Brian Federle 18a337270d Merge branch 'master' into ui-add-remove-nics 2013-04-25 11:09:51 -07:00
Brian Federle e5cea0204b detailView UI: Fix quickview actions not updating list view row 2013-04-22 11:52:52 -07:00
Brian Federle 72da1ae969 listView, custom checkbox UI: Fix pre-checked checkbox state
Fixes pre-checked checkboxes not having multi-edit-selected class,
preventing item data from being passed to custom widget actions.
2013-04-22 11:26:24 -07:00
Brian Federle a589a367d0 List view UI: Support pre-selected checkboxes
In listings with checkbox actions, if _isSelected: true is passed in a
data item, then pre-select the checkbox on load.
2013-04-15 14:02:42 -07:00
Brian Federle 3bcec62e64 List view: Fix broken add row action 2013-04-11 12:29:02 -07:00
Brian Federle 4fd3fca848 List view UI: Fix 'no data to show' message not appearing in some cases 2013-04-09 14:16:28 -07:00
Brian Federle 685a8a72ce multiEdit, action pre-filter: pass 'actions' in options object 2013-04-09 12:50:17 -07:00
Brian Federle 6a1d384761 multiEdit: Support createForm for actions
If 'createForm' block is specified in a multi-edit action, show
createForm and pass fields to action.
2013-04-09 12:50:08 -07:00
Brian Federle 564a850f1b WIP 2013-04-08 16:37:27 -07:00