awx/awx/ui/static/js/forms/EventsViewer.js
Jared Tabor d7e2614760 Copyright JS files and removing unlicensed files
Adding the Copyright and All Rights Reserved to the JS files, as well as removing pwdmeter and 3dDonut chart (in lieu of d3.js donut chart)

adding the legend and getting pie chart to donut

adding data labels to donut chart

working legend and tooltip

job detail donut

Ansible Copyright added to beginning of all JS files

removing pwdmeter and d3donut

fixing merge conflicts
2015-05-29 12:08:22 -04:00

85 lines
2.3 KiB
JavaScript

/*************************************************
* Copyright (c) 2015 Ansible, Inc.
*
* All Rights Reserved
*************************************************/
/**
* @ngdoc function
* @name forms.function:EventsViewer
* @description This form is for events on the job detail page
*/
export default
angular.module('EventsViewerFormDefinition', [])
.value('EventsViewerForm', {
fields: {
host_name: {
label: 'Host',
section: 'Event'
},
status: {
label: 'Status',
section: 'Event'
},
id: {
label: 'ID',
section: 'Event'
},
created: {
label: 'Created On',
section: 'Event'
},
role: {
label: 'Role',
section: 'Event'
},
play: {
label: 'Play',
type: 'text',
section: 'Event'
},
task: {
label: 'Task',
section: 'Event'
},
item: {
label: 'Item',
section: 'Event'
},
module_name: {
label: 'Module',
section: 'Event'
},
module_args: {
label: 'Arguments',
section: 'Event'
},
rc: {
label: 'Return Code',
section: 'Results'
},
msg: {
label: 'Message',
section: 'Results'
},
results: {
label: 'Results',
section: 'Results'
},
start: {
label: 'Start',
section: 'Timing'
},
end: {
label: 'End',
section: 'Timing'
},
delta: {
label: 'Elapsed',
section: 'Timing'
}
}
});