mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
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:
@@ -48,6 +48,27 @@ angular.module('JobEventsListDefinition', [])
|
||||
},
|
||||
|
||||
actions: {
|
||||
refresh: {
|
||||
ngClick: "refresh()",
|
||||
icon: 'icon-refresh',
|
||||
awToolTip: 'Refresh the page',
|
||||
class: 'btn-small',
|
||||
mode: 'all'
|
||||
},
|
||||
edit: {
|
||||
ngClick: "jobDetails()",
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-small',
|
||||
awToolTip: 'View/Edit detail',
|
||||
mode: 'all'
|
||||
},
|
||||
summary: {
|
||||
icon: 'icon-filter',
|
||||
ngClick: "jobSummary()",
|
||||
class: 'btn-success btn-small',
|
||||
awToolTip: 'View host summary',
|
||||
mode: 'all'
|
||||
}
|
||||
},
|
||||
|
||||
fieldActions: {
|
||||
|
||||
@@ -53,7 +53,27 @@ angular.module('JobHostDefinition', [])
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
||||
refresh: {
|
||||
icon: 'icon-refresh',
|
||||
ngClick: "refresh()",
|
||||
class: 'btn-small',
|
||||
awToolTip: 'Refresh the page',
|
||||
mode: 'all'
|
||||
},
|
||||
edit: {
|
||||
icon: 'icon-edit',
|
||||
ngClick: "jobDetails()",
|
||||
class: 'btn-small',
|
||||
awToolTip: 'View job detail',
|
||||
mode: 'all'
|
||||
},
|
||||
events: {
|
||||
icon: 'icon-list-ul',
|
||||
ngClick: "jobEvents()",
|
||||
class: 'btn-success btn-small',
|
||||
awToolTip: 'View job events',
|
||||
mode: 'all',
|
||||
}
|
||||
},
|
||||
|
||||
fieldActions: {
|
||||
|
||||
@@ -59,7 +59,7 @@ angular.module('JobsListDefinition', [])
|
||||
|
||||
fieldActions: {
|
||||
edit: {
|
||||
ngClick: "editJob(\{\{ job.id \}\})",
|
||||
ngClick: "editJob(\{\{ job.id \}\}, '\{\{ job.name \}\}')",
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-mini',
|
||||
awToolTip: 'View/Edit detail',
|
||||
|
||||
Reference in New Issue
Block a user