@@ -13,7 +13,12 @@ <h1 class="mat-headline-2" style="user-select: none; font-weight: 800; text-alig
13
13
< mat-progress-bar *ngIf ="progress && progress < 99 " mode ="determinate " [value] ="progress "> </ mat-progress-bar >
14
14
< mat-progress-bar *ngIf ="progress && progress >= 99 " mode ="indeterminate "> </ mat-progress-bar >
15
15
16
- < ng-container *ngIf ="usage ">
16
+ < button mat-button *ngIf ="usage " (click) ="exportHtml() ">
17
+ < mat-icon > download</ mat-icon >
18
+ Export
19
+ </ button >
20
+
21
+ < div id ="usage-report " *ngIf ="usage ">
17
22
< form class ="mat-app-background ">
18
23
< mat-form-field appearance ="fill ">
19
24
< mat-label > Choose a date range</ mat-label >
@@ -61,7 +66,7 @@ <h1 class="mat-headline-2" style="user-select: none; font-weight: 800; text-alig
61
66
</ ng-template >
62
67
< ng-template matTabContent >
63
68
< div style ="margin-top: 25px; "> </ div >
64
- < app-actions [data] ="usageLinesActions " [currency] ="currency "> </ app-actions >
69
+ < app-actions [data] ="this.usageLines.actions " [currency] ="currency "> </ app-actions >
65
70
</ ng-template >
66
71
</ mat-tab >
67
72
< mat-tab >
@@ -71,7 +76,7 @@ <h1 class="mat-headline-2" style="user-select: none; font-weight: 800; text-alig
71
76
</ ng-template >
72
77
< ng-template matTabContent >
73
78
< div style ="margin-top: 25px; "> </ div >
74
- < app-shared-storage [data] ="usageLinesSharedStorage " [currency] ="currency "> </ app-shared-storage >
79
+ < app-shared-storage [data] ="this.usageLines.sharedStorage " [currency] ="currency "> </ app-shared-storage >
75
80
</ ng-template >
76
81
</ mat-tab >
77
82
< mat-tab >
@@ -81,12 +86,11 @@ <h1 class="mat-headline-2" style="user-select: none; font-weight: 800; text-alig
81
86
</ ng-template >
82
87
< ng-template matTabContent >
83
88
< div style ="margin-top: 25px; "> </ div >
84
- < app-copilot [data] ="usageLinesCopilot " [currency] ="currency "> </ app-copilot >
89
+ < app-copilot [data] ="this.usageLines.copilot " [currency] ="currency "> </ app-copilot >
85
90
</ ng-template >
86
91
</ mat-tab >
87
92
</ mat-tab-group >
88
-
89
- </ ng-container >
93
+ </ div >
90
94
91
95
< ng-container *ngIf ="!usage && !progress ">
92
96
< div class ="flex-center-column full-width " style ="text-align: center; ">
0 commit comments