mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 12:10:06 -03:30
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.
50 lines
1.1 KiB
JavaScript
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'
|
|
}
|
|
}
|
|
}); |