mirror of
https://github.com/ansible/awx.git
synced 2026-01-29 23:34:42 -03:30
41 lines
973 B
JavaScript
41 lines
973 B
JavaScript
/*********************************************
|
|
* Copyright (c) 2014 AnsibleWorks, Inc.
|
|
*
|
|
* Admins.js
|
|
* List view object for Admins data model.
|
|
*
|
|
* @dict
|
|
*/
|
|
|
|
|
|
|
|
angular.module('AdminListDefinition', [])
|
|
.value('AdminList', {
|
|
|
|
name: 'admins',
|
|
iterator: 'admin',
|
|
selectTitle: 'Add Administrators',
|
|
editTitle: 'Admins',
|
|
selectInstructions: '<p>Select existing users by clicking each user or checking the related checkbox. When finished, click the blue ' +
|
|
'<em>Select</em> button, located bottom right.</p>',
|
|
base: 'users',
|
|
index: false,
|
|
hover: true,
|
|
|
|
fields: {
|
|
username: {
|
|
key: true,
|
|
label: 'Username'
|
|
},
|
|
first_name: {
|
|
label: 'First Name'
|
|
},
|
|
last_name: {
|
|
label: 'Last Name'
|
|
}
|
|
},
|
|
|
|
actions: {},
|
|
|
|
fieldActions: {}
|
|
}); |