mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
59 lines
1.4 KiB
JavaScript
59 lines
1.4 KiB
JavaScript
/*********************************************
|
|
* Copyright (c) 2013 AnsibleWorks, Inc.
|
|
*
|
|
* JobEvents.js
|
|
* Form definition for Job Events model
|
|
*
|
|
*
|
|
*/
|
|
angular.module('JobEventFormDefinition', [])
|
|
.value(
|
|
'JobEventForm', {
|
|
|
|
editTitle: '{{ id }} - {{ event }}', //Legend in edit mode
|
|
name: 'job_events',
|
|
well: false,
|
|
|
|
fields: {
|
|
event_display: {
|
|
label: 'Event',
|
|
type: 'text',
|
|
readonly: true
|
|
},
|
|
created: {
|
|
label: 'Created',
|
|
type: 'text',
|
|
readonly: true,
|
|
"class": 'span3'
|
|
},
|
|
host: {
|
|
label: 'Host',
|
|
type: 'text',
|
|
readonly: true
|
|
},
|
|
status: {
|
|
label: 'Status',
|
|
type: 'text',
|
|
"class": 'job-\{\{ event_status \}\}',
|
|
readonly: true
|
|
},
|
|
event_data: {
|
|
label: 'Event Data',
|
|
type: 'textarea',
|
|
"class": "modal-input-xlarge",
|
|
rows: 10,
|
|
readonly: true
|
|
}
|
|
},
|
|
|
|
buttons: {
|
|
|
|
},
|
|
|
|
related: { //related colletions (and maybe items?)
|
|
|
|
}
|
|
|
|
}); //Form
|
|
|