mirror of
https://github.com/ansible/awx.git
synced 2026-03-26 05:15:02 -02:30
51 lines
1.3 KiB
JavaScript
51 lines
1.3 KiB
JavaScript
/*********************************************
|
|
* Copyright (c) 2014 AnsibleWorks, Inc.
|
|
*
|
|
* ProjectStatus.js
|
|
* Form definition for Project Status -JSON view
|
|
*
|
|
*
|
|
*/
|
|
/**
|
|
* @ngdoc function
|
|
* @name forms.function:ProjectStatus
|
|
* @description This form is for adding/editing project status
|
|
*/
|
|
angular.module('ProjectStatusDefinition', [])
|
|
.value('ProjectStatusForm', {
|
|
|
|
name: 'project_update',
|
|
editTitle: 'SCM Status',
|
|
well: false,
|
|
'class': 'horizontal-narrow',
|
|
|
|
fields: {
|
|
created: {
|
|
label: 'Created',
|
|
type: 'text',
|
|
readonly: true
|
|
},
|
|
status: {
|
|
label: 'Status',
|
|
type: 'text',
|
|
readonly: true
|
|
},
|
|
result_stdout: {
|
|
label: 'Std Out',
|
|
type: 'textarea',
|
|
ngShow: "result_stdout",
|
|
'class': 'mono-space',
|
|
readonly: true,
|
|
rows: 15
|
|
},
|
|
result_traceback: {
|
|
label: 'Traceback',
|
|
type: 'textarea',
|
|
ngShow: "result_traceback",
|
|
'class': 'mono-space',
|
|
readonly: true,
|
|
rows: 15
|
|
}
|
|
}
|
|
}); //Form
|