diff --git a/awx/ui/static/js/system-tracking/fact-data-table-heading.block.less b/awx/ui/static/js/system-tracking/fact-data-table-heading.block.less new file mode 100644 index 0000000000..33327935be --- /dev/null +++ b/awx/ui/static/js/system-tracking/fact-data-table-heading.block.less @@ -0,0 +1,29 @@ +/** @define FactDataTableHeading */ + +.FactDataTableHeading { + display: flex; + flex-wrap: wrap; + font-size: 1.25em; + align-items: center; + + &-host { + font-size: 0.8em; + margin-bottom: 3px; // just some breathing room + + &:after { + font-style: italic; + content: " scanned on"; + font-family: merriweather; + font-weight: 200; + font-size: 0.75em; + } + } + &-date { + flex-basis: 100%; + } + + // Override some global styling on h3 tags + h3 { + margin: 1em initial; + } +} diff --git a/awx/ui/static/js/system-tracking/fact-data-table.block.less b/awx/ui/static/js/system-tracking/fact-data-table.block.less index 910acc2ccc..dd8a6dede7 100644 --- a/awx/ui/static/js/system-tracking/fact-data-table.block.less +++ b/awx/ui/static/js/system-tracking/fact-data-table.block.less @@ -7,7 +7,7 @@ &-column { flex: 1; &--offsetLeft { - padding-left: 33%; + margin-left: 33%; } } } diff --git a/awx/ui/static/js/system-tracking/system-tracking.controller.js b/awx/ui/static/js/system-tracking/system-tracking.controller.js index 223df0cade..b7a159bdb8 100644 --- a/awx/ui/static/js/system-tracking/system-tracking.controller.js +++ b/awx/ui/static/js/system-tracking/system-tracking.controller.js @@ -43,6 +43,9 @@ function controller($rootScope, $scope.leftScanDate = initialFactData.leftScanDate; $scope.rightScanDate = initialFactData.rightScanDate; + $scope.leftHostname = hosts[0].name; + $scope.rightHostname = hosts[1].name; + function setHeaderValues(viewType) { if (viewType === 'singleHost') { $scope.comparisonLeftHeader = $scope.leftScanDate; diff --git a/awx/ui/static/js/system-tracking/system-tracking.partial.html b/awx/ui/static/js/system-tracking/system-tracking.partial.html index c928f227dc..67e396d5b4 100644 --- a/awx/ui/static/js/system-tracking/system-tracking.partial.html +++ b/awx/ui/static/js/system-tracking/system-tracking.partial.html @@ -42,8 +42,17 @@
-

{{comparisonLeftHeader|stringOrDate:'L LT'}}

-

{{comparisonRightHeader|stringOrDate:'L LT'}}

+

+ Comparing facts collected from: +

+

+ {{leftHostname}} + {{leftScanDate|longDate}} +

+

+ {{rightHostname}} + {{rightScanDate|longDate}} +