mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 07:51:23 -03:30
Job detail page re-refactor
Job host events dialog.
This commit is contained in:
parent
125be34b43
commit
d7c84ce54a
@ -1006,6 +1006,7 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar
|
||||
|
||||
scope.hostEventsViewer = function(id, name) {
|
||||
HostEventsViewer({
|
||||
scope: scope,
|
||||
id: id,
|
||||
name: name,
|
||||
url: scope.job.related.job_events + '?event__icontains=runner'
|
||||
|
||||
@ -16,6 +16,8 @@ angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities'])
|
||||
return function(params) {
|
||||
var parent_scope = params.scope,
|
||||
url = params.url,
|
||||
host_id = params.id,
|
||||
host_name = params.name,
|
||||
title = params.title, //optional
|
||||
scope = parent_scope.$new(true);
|
||||
|
||||
|
||||
@ -226,7 +226,7 @@
|
||||
<div id="hosts-summary-table" class="table-detail" lr-infinite-scroll="hostSummariesScrollDown" scroll-threshold="10" time-threshold="500">
|
||||
<div class="row" ng-repeat="host in summaryList = (hosts | filter:{ status : searchAllStatus}) track by $index" id="{{ host.id }}">
|
||||
<div class="name col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<a ng-click="hostEventsViewer(host.id, host.name)" target="_blank" aw-tool-tip="View all events for this host"
|
||||
<a href="" ng-click="hostEventsViewer(host.id, host.name)" aw-tool-tip="View all events for this host"
|
||||
data-placement="top">{{ host.name }}</a>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 badge-column">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user