diff --git a/awx/ui/client/src/job-results/job-results.block.less b/awx/ui/client/src/job-results/job-results.block.less new file mode 100644 index 0000000000..c140d2e113 --- /dev/null +++ b/awx/ui/client/src/job-results/job-results.block.less @@ -0,0 +1,19 @@ + +@import '../shared/branding/colors.less'; +@import '../shared/branding/colors.default.less'; + + +.JobResults-badgeTitle{ + color: #707070; + font-size: 14px; + margin-right: 10px; + font-weight: normal; + text-transform: uppercase; + margin-left: 20px; +} + +.JobResults-badgeRow{ + display:flex; + align-items: center; + margin-right: 5px; +} diff --git a/awx/ui/client/src/job-results/job-results.partial.html b/awx/ui/client/src/job-results/job-results.partial.html index 24f4c60dc4..32a429b2c8 100644 --- a/awx/ui/client/src/job-results/job-results.partial.html +++ b/awx/ui/client/src/job-results/job-results.partial.html @@ -438,9 +438,34 @@ +
+
+
+ + {{job.name}} +
+
+
Plays
{{jobData.playCount || 0}} +
Tasks
{{jobData.taskCount || 0}} +
Hosts
{{jobData.hostCount || 0}} +
Elapsed
{{ job_status.elapsed || "00:00:01"}} +
+
+ + + + +
+
+
+ diff --git a/awx/ui/client/src/job-results/job-results.route.js b/awx/ui/client/src/job-results/job-results.route.js index d478146b4a..8728b8af3d 100644 --- a/awx/ui/client/src/job-results/job-results.route.js +++ b/awx/ui/client/src/job-results/job-results.route.js @@ -116,6 +116,10 @@ export default { $scope.job = jobData; $scope.jobOptions = jobDataOptions.actions.GET; $scope.labels = jobLabels; + $scope.stdoutFullScreen = false; + + $scope.job_status = {"status": ""}; + $scope.job_status.status = (jobData.status === 'waiting' || jobData.status === 'new') ? 'pending' : jobData.status; // turn related api browser routes into tower routes getTowerLinks(); @@ -129,5 +133,10 @@ export default { ParseTypeChange({ scope: $scope, field_id: 'pre-formatted-variables', readOnly: true }); + + // Click binding for the expand/collapse button on the standard out log + $scope.toggleStdoutFullscreen = function() { + $scope.stdoutFullScreen = !$scope.stdoutFullScreen; + }; }] };