544 Commits

Author SHA1 Message Date
Brian Federle
41a8cc7c69 Multi-edit: edit rule UI: fix regression and restore functionality 2013-07-01 14:35:10 -07:00
Jessica Wang
6ea38bff16 reverts commit 7e96bf5f1989f43db969ee026e34ae96efa54cf0 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
Brian Federle
4f5d311848 WIP - Implement/style NIC actions 2013-04-03 17:55:39 -07:00
Brian Federle
1a80f9e1f4 Detail view, multi-groups: Put 'add' button on top 2013-04-03 14:52:38 -07:00
Brian Federle
ece8b8c423 NICs, add action: Fix for when detail view isn't present anymore 2013-04-03 14:52:16 -07:00
Brian Federle
93db30e4e1 UI, instance nics tab: Implement 'add network' action
-Change detail widget to support 'add' action on per-nic/item detail groups

-Implement add network/NIC action on instances NIC tab
2013-04-03 14:23:23 -07:00
Isaac Chiang
7b0b2cdc84 CLOUDSTACK-1908:Specified event isn't removed from the list after deletion 2013-04-03 22:51:01 +05:30
Brian Federle
fcf9b57f08 List view: Fix when no actions are present
Fix case where list view breaks on column creation, when no
actions are defined.
2013-03-25 11:12:03 -07:00
Brian Federle
e86f81152f List view UI: fix blank actions column
Fixes issue where blank actions column will show if there
are header actions, but no standard actions
2013-03-22 10:28:09 -07:00
Brian Federle
62fd9115c2 UI Dialog: Don't show dialog with empty message 2013-03-21 13:24:22 -07:00
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
4494b3fd32 Adjusting the zindex for the tooltip to be on top 2013-03-15 17:48:50 +05:30
Brian Federle
7566424a0b List view: Subselect UI: Fixes
-Split subselect options into 2 subcategories, 'label' and 'dataProvider'

-Localize subselect label
2013-03-13 11:05:50 -07:00
Brian Federle
53c589a624 Better styling of IP selection field 2013-03-08 10:51:32 -08:00
Brian Federle
f6d9190432 Pass vmguestip to add PF rules API 2013-03-07 15:56:01 -08:00
Brian Federle
be8e427efd List view UI: Implement sub-select in widget
To support sub-select dropdown across all list views (PF,LB,NAT),
refactor 'subselect' option in listView widget, instead of just the
multiEdit.
2013-03-07 15:39:15 -08:00
Brian Federle
a48bf0969e Fix VM select IP drop-down for PF/LB UI 2013-03-07 15:06:54 -08:00
Brian Federle
e046364cce LB/PF/NAT UI: Support secondary IP selection
During selection of a VM for LB/PF/Static NAT, show dropdown to select
which secondary IP will apply for the rule being created.
2013-03-06 14:37:26 -08:00