Added buttons to top of Job Events, Job Details and Job Host Summary pages to link everything together and provide a Refresh action.

This commit is contained in:
root
2013-05-23 11:25:06 -04:00
committed by chouseknecht
parent 0cd9f51bf9
commit ab4115d0e7
10 changed files with 169 additions and 19 deletions

View File

@@ -146,7 +146,7 @@ angular.module('JobFormDefinition', [])
label: 'Standard Out',
type: 'textarea',
readonly: true,
rows: 10,
rows: 20,
class: 'span12'
},
result_traceback: {
@@ -158,6 +158,30 @@ angular.module('JobFormDefinition', [])
}
},
statusActions: {
refresh: {
icon: 'icon-refresh',
ngClick: "refresh()",
class: 'btn-small',
awToolTip: 'Refresh job status & output',
mode: 'all'
},
summary: {
icon: 'icon-filter',
ngClick: "jobSummary()",
class: 'btn-success btn-small',
awToolTip: 'View host summary',
mode: 'all'
},
events: {
icon: 'icon-list-ul',
ngClick: "jobEvents()",
class: 'btn-success btn-small',
awToolTip: 'View job events',
mode: 'all',
}
},
related: { //related colletions (and maybe items?)
}