taskana/web/src/app/monitor/report/report.component.html

23 lines
808 B
HTML

<div class="row" *ngIf="isDataAvailable">
<div class="col-sm-12" style="margin-bottom: 10px">
<h4>{{meta.name}} ({{meta.date | date : 'dd.MM.yyyy HH:mm:ss'}})</h4>
<table class="table table-responsive table-condensed">
<tr>
<th>{{meta.rowDesc}}</th>
<th *ngFor="let header of meta.header">{{header}}</th>
<th>{{meta.totalDesc}}</th>
</tr>
<tr *ngFor="let row of rows | mapToIterable | orderBy:['key']">
<td>{{row.key}}</td>
<td *ngFor="let header of meta.header">{{row.val.cells[header]}}</td>
<th>{{row.val.total}}</th>
</tr>
<tr>
<th>{{meta.totalDesc}}</th>
<th *ngFor="let header of meta.header">{{sumRow.cells[header]}}</th>
<th>{{sumRow.total}}</th>
</tr>
</table>
</div>
</div>