Files
awx/awx/ui/static/js/lists/Groups.js
Chris Houseknecht 73255eace9 Job detail page refactor / 2.0 style changes
Removed well and index from primary list pages. Job detail page cleanup. Fixed status filter on host summary list. Incresed # rows kept in memory for each list to 100. Showing unreachable host count on the play, mostly to help debugging.
2014-06-25 22:45:16 -04:00

50 lines
1.1 KiB
JavaScript

/*********************************************
* Copyright (c) 2014 AnsibleWorks, Inc.
*
* Groups.js
* List view object for Group data model.
*
*
*/
'use strict';
angular.module('GroupListDefinition', [])
.value('GroupList', {
name: 'copy_groups',
iterator: 'copy_group',
selectTitle: 'Copy Groups',
editTitle: 'Groups',
index: false,
well: false,
fields: {
name: {
key: true,
label: 'Name'
}
},
actions: { },
fieldActions: {
edit: {
label: 'Edit',
ngClick: "editGroup(group.id)",
icon: 'icon-edit',
"class": 'btn-xs',
awToolTip: 'Edit group',
dataPlacement: 'top'
},
"delete": {
label: 'Delete',
ngClick: "deleteGroup(group.id, group.name)",
icon: 'icon-trash',
"class": 'btn-xs',
awToolTip: 'Delete group',
dataPlacement: 'top'
}
}
});