awx/awx/ui/static/js/forms/LogViewerStatus.js
Jared Tabor 12fbe984b9 FINAL revert of commit: "Adding a date filter that will format dates in Tower UI"""
This reverts commit 1945c04cd3dfbb33fe3c8139cee88c862cd75cab.
2015-05-15 11:18:47 -04:00

63 lines
1.7 KiB
JavaScript

/*********************************************
* Copyright (c) 2014 AnsibleWorks, Inc.
*
* LogViewerStatus.js
*
* Form definition for LogViewer.js helper
*
*/
/**
* @ngdoc function
* @name forms.function:LogViewerStatus
* @description Form definition for LogViewer.js helper
*/
export default
angular.module('LogViewerStatusDefinition', [])
.value('LogViewerStatusForm', {
name: 'status',
well: false,
fields: {
"name": {
label: "Name",
type: "text",
readonly: true,
},
"status": {
label: "Status",
type: "text",
readonly: true
},
"license_error": {
label: "License Error",
type: "text",
readonly: true
},
"started": {
label: "Started",
type: "date",
"filter": "date:'MM/dd/yy HH:mm:ss'",
readonly: true
},
"finished": {
label: "Finished",
type: "date",
"filter": "date:'MM/dd/yy HH:mm:ss'",
readonly: true
},
"elapsed": {
label: "Elapsed",
type: "text",
readonly: true
},
"launch_type": {
label: "Launch Type",
type: "text",
readonly: true
}
}
});