diff --git a/awx/ui/client/src/helpers/JobDetail.js b/awx/ui/client/src/helpers/JobDetail.js index df42b50328..fe16b68c35 100644 --- a/awx/ui/client/src/helpers/JobDetail.js +++ b/awx/ui/client/src/helpers/JobDetail.js @@ -934,7 +934,7 @@ export default graph_data.push({ label: 'OK', value: count.ok.length, - color: '#60D66F' + color: '#5CB85C' }); } if (count.changed.length > 0) { @@ -982,15 +982,16 @@ export default return d.label +': '+ Math.round((d.value/total)*100) + "%"; }) .y(function(d) { return d.value; }) - .showLabels(true) - .showLegend(false) + .showLabels(false) + .showLegend(true) .growOnHover(false) .labelThreshold(0.01) .tooltipContent(function(x, y) { return '

'+x+'

'+ '

' + Math.floor(y.replace(',','')) + ' HOSTS ' + '

'; }) .color(colors); - + job_detail_chart.legend.rightAlign(false); + job_detail_chart.legend.margin({top: 5, right: 450, left:0, bottom: 0}); d3.select(element.find('svg')[0]) .datum(dataset) .transition().duration(350) @@ -1000,19 +1001,15 @@ export default "font-style": "normal", "font-weight":400, "src": "url(/static/assets/OpenSans-Regular.ttf)", - "width": 500, + "width": 600, "height": 300, + "color": '#848992' }); - - d3.select(element.find(".nv-label text")[0]) - .attr("class", "HostSummary-graph--successful") + d3.select(element.find(".nv-noData")[0]) .style({ - "font-family": 'Open Sans', - "font-size": "16px", - "text-transform" : "uppercase", - "fill" : colors[0], - "src": "url(/static/assets/OpenSans-Regular.ttf)" + "text-anchor": 'start' }); + /* d3.select(element.find(".nv-label text")[1]) .attr("class", "HostSummary-graph--changed") .style({ @@ -1040,6 +1037,7 @@ export default "fill" : colors[3], "src": "url(/static/assets/OpenSans-Regular.ttf)" }); + */ return job_detail_chart; }; }]) diff --git a/awx/ui/client/src/job-detail/host-summary/host-summary.partial.html b/awx/ui/client/src/job-detail/host-summary/host-summary.partial.html index 546772ffc0..4c465f91fe 100644 --- a/awx/ui/client/src/job-detail/host-summary/host-summary.partial.html +++ b/awx/ui/client/src/job-detail/host-summary/host-summary.partial.html @@ -1,6 +1,6 @@
-
4 Please select a host below to view a summary of all associated tasks.
+
4 Please select a host below to view a summary of all associated tasks.
@@ -13,7 +13,7 @@
-
-
+
diff --git a/awx/ui/client/src/job-detail/job-detail.block.less b/awx/ui/client/src/job-detail/job-detail.block.less index 11abf06189..41f209f0c0 100644 --- a/awx/ui/client/src/job-detail/job-detail.block.less +++ b/awx/ui/client/src/job-detail/job-detail.block.less @@ -15,7 +15,7 @@ margin: 10px 0 10px 0; } .JobDetail{ - .OnePlusOne-container(100%, @breakpoint-md); + .OnePlusOne-container(100%, @breakpoint-md); } .JobDetail-leftSide{ @@ -152,7 +152,20 @@ border: 1px solid @default-link; color: @default-bg; } - +.JobDetail .nvd3.nv-noData{ + color: @default-interface-txt; + font-size: 12px; + text-transform: uppercase; + font-family: 'Open Sans', sans-serif; +} +.JobDetail .nv-series{ + padding-right: 30px; + display: block; +} +.JobDetail-instructions .badge{ + background-color: @default-list-header-bg; + color: @default-interface-txt; +} .JobDetail-tableToggle--left{ border-top-left-radius: 5px; border-bottom-left-radius: 5px; @@ -196,6 +209,8 @@ } .JobDetail-stdoutActionButton--active{ + display: none; + visibility: hidden; flex:none; width:0px; padding-right: 0px; diff --git a/awx/ui/client/src/job-detail/job-detail.partial.html b/awx/ui/client/src/job-detail/job-detail.partial.html index 055496f07b..c031819400 100644 --- a/awx/ui/client/src/job-detail/job-detail.partial.html +++ b/awx/ui/client/src/job-detail/job-detail.partial.html @@ -171,7 +171,7 @@
-
1 Please select from a play below to view its associated tasks.
+
1. Please select from a play below to view its associated tasks.
@@ -230,7 +230,7 @@
-
2 Please select a task below to view its associated hosts
+
2. Please select a task below to view its associated hosts
@@ -314,7 +314,7 @@
-
3 Please select a host below to view associated task details.
+
3. Please select a host below to view associated task details.