diff --git a/src/app/item-detail/item-detail.component.html b/src/app/item-detail/item-detail.component.html index adc0c290..3f9a1d69 100644 --- a/src/app/item-detail/item-detail.component.html +++ b/src/app/item-detail/item-detail.component.html @@ -9,13 +9,34 @@ [itemDetailData]="{note: itemData.note, environment: itemData.environment, hostname: itemData.hostname, isBase: itemData.isBase, params: itemParams}" (itemDetailChange)="itemDetailChanged($event)"> - + - +
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+
+
-
+
diff --git a/src/app/item-detail/item-detail.component.scss b/src/app/item-detail/item-detail.component.scss index ef7944e8..c3c408b3 100644 --- a/src/app/item-detail/item-detail.component.scss +++ b/src/app/item-detail/item-detail.component.scss @@ -1,4 +1,4 @@ -.items-overview { +.items-overview, .not-ready { padding-left: 200px; padding-right: 200px; background-color: #f0f1f4; diff --git a/src/app/item-detail/item-detail.component.ts b/src/app/item-detail/item-detail.component.ts index 00061057..f93615b3 100644 --- a/src/app/item-detail/item-detail.component.ts +++ b/src/app/item-detail/item-detail.component.ts @@ -31,6 +31,7 @@ export class ItemDetailComponent implements OnInit { baseId: null, note: null, plot: null, + reportStatus: null, hostname: null, statistics: [], testName: null, diff --git a/src/app/items.service.model.ts b/src/app/items.service.model.ts index 4eb595ef..962b8348 100644 --- a/src/app/items.service.model.ts +++ b/src/app/items.service.model.ts @@ -13,6 +13,12 @@ export interface Items { total: number; } +export enum ReportStatus { + InProgress = 'in_progress', + Error = 'error', + Ready = 'ready' +} + export interface ItemDetail { overview: { avgLatency: number @@ -25,6 +31,7 @@ export interface ItemDetail { startDate: string throughput: number }; + reportStatus: ReportStatus; monitoringData: { cpu: [], mem: [], maxCpu?: number, maxMem?: number}; baseId: string; testName: string;