mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Job detail page re-refactor
First pass at job host events dialog
This commit is contained in:
@@ -100,10 +100,10 @@ angular.module('Tower', [
|
|||||||
'LogViewerHelper',
|
'LogViewerHelper',
|
||||||
'LogViewerOptionsDefinition',
|
'LogViewerOptionsDefinition',
|
||||||
'EventViewerHelper',
|
'EventViewerHelper',
|
||||||
|
'HostEventsViewerHelper',
|
||||||
'JobDetailHelper',
|
'JobDetailHelper',
|
||||||
'SocketIO',
|
'SocketIO',
|
||||||
'lrInfiniteScroll',
|
'lrInfiniteScroll'
|
||||||
'HostEventsViewer'
|
|
||||||
])
|
])
|
||||||
|
|
||||||
.constant('AngularScheduler.partials', $basePath + 'lib/angular-scheduler/lib/')
|
.constant('AngularScheduler.partials', $basePath + 'lib/angular-scheduler/lib/')
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities'])
|
angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities'])
|
||||||
|
|
||||||
.factory('HostEventsViewer', ['$compile', 'CreateDialog', 'GetEvent', 'Wait', 'GetBasePath', 'LookUpName', 'Empty', 'GetEvents',
|
.factory('HostEventsViewer', ['$compile', 'CreateDialog', 'Wait', 'GetBasePath', 'Empty', 'GetEvents',
|
||||||
function($compile, CreateDialog, GetEvent, Wait, GetBasePath, LookUpName, Empty, GetEvents) {
|
function($compile, CreateDialog, Wait, GetBasePath, Empty, GetEvents) {
|
||||||
return function(params) {
|
return function(params) {
|
||||||
var parent_scope = params.scope,
|
var parent_scope = params.scope,
|
||||||
url = params.url,
|
url = params.url,
|
||||||
@@ -80,4 +80,4 @@ angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities'])
|
|||||||
msg: 'Failed to get events ' + url + '. GET returned: ' + status });
|
msg: 'Failed to get events ' + url + '. GET returned: ' + status });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|||||||
Reference in New Issue
Block a user