diff --git a/frontend/components/hosts/HostsTable/_styles.scss b/frontend/components/hosts/HostsTable/_styles.scss
index d14b4b5399..69cad14aa4 100644
--- a/frontend/components/hosts/HostsTable/_styles.scss
+++ b/frontend/components/hosts/HostsTable/_styles.scss
@@ -63,7 +63,7 @@
&--offline {
&:before {
- background-color: $core-red;
+ background-color: $ui-dark-grey;
border-radius: 100%;
content: ' ';
display: inline-block;
diff --git a/frontend/components/loaders/ProgressBar/_styles.scss b/frontend/components/loaders/ProgressBar/_styles.scss
index eac6050d31..fb28b40765 100644
--- a/frontend/components/loaders/ProgressBar/_styles.scss
+++ b/frontend/components/loaders/ProgressBar/_styles.scss
@@ -1,8 +1,10 @@
.progress-bar {
display: flex;
- background-color: $ui-medium-grey;
+ background-color: $ui-dark-grey;
height: 10px;
overflow: hidden;
+ border-radius: 2px;
+ margin-top: 4px;
&__progress {
height: 100%;
diff --git a/frontend/components/queries/QueryProgressDetails/QueryProgressDetails.jsx b/frontend/components/queries/QueryProgressDetails/QueryProgressDetails.jsx
index 7d0babf19a..86adaae10f 100644
--- a/frontend/components/queries/QueryProgressDetails/QueryProgressDetails.jsx
+++ b/frontend/components/queries/QueryProgressDetails/QueryProgressDetails.jsx
@@ -11,9 +11,20 @@ const baseClass = 'query-progress-details';
const QueryProgressDetails = ({ campaign, className, onRunQuery, onStopQuery, queryIsRunning, queryTimerMilliseconds, disableRun }) => {
const { hosts_count: hostsCount } = campaign;
+ const { Metrics: metrics = {} } = campaign;
+ const { errors } = campaign;
const totalHostsCount = get(campaign, ['totals', 'count'], 0);
const totalRowsCount = get(campaign, ['query_results', 'length'], 0);
+ const onlineHostsTotalDisplay = metrics.OnlineHosts === 1 ? '1 host' : `${metrics.OnlineHosts} hosts`;
+ const onlineResultsTotalDisplay = totalRowsCount === 1 ? '1 result' : `${totalRowsCount} results`;
+ const offlineHostsTotalDisplay = metrics.OfflineHosts === 1 ? '1 host' : `${metrics.OfflineHosts} hosts`;
+ const failedHostsTotalDisplay = hostsCount.failed === 1 ? '1 host' : `${hostsCount.failed} hosts`;
+ let totalErrorsDisplay = '0 errors';
+ if (errors) {
+ totalErrorsDisplay = errors.length === 1 ? '1 error' : `${errors.length} errors`;
+ }
+
const runQueryBtn = (