remove datatable html for scoreboard

pull/39/head
HardiReady 2018-07-12 21:49:16 +02:00
parent 99482625a2
commit 6f4274a365
1 changed files with 2 additions and 48 deletions

View File

@ -2,7 +2,8 @@
<table mat-table matSort
[dataSource]="sortedRows"
matSortActive="{{tableHead[2].prop}}" matSortDirection="desc" matSortDisableClear (matSortChange)="sortData($event)"
matSortActive="{{tableHead[2].prop}}" matSortDirection="desc" matSortDisableClear
(matSortChange)="sortData($event)"
class="mat-elevation-z8">
<ng-container matColumnDef="{{tableHead[0].prop}}">
@ -41,51 +42,4 @@
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
<!--<ngx-datatable-->
<!--[rows]="rows"-->
<!--[sorts]="[{prop: 'kill', dir: 'desc'}]"-->
<!--[reorderable]="reorderable"-->
<!--[messages]="{emptyMessage: 'Loading...'}"-->
<!--[headerHeight]="cellHeight"-->
<!--[rowHeight]="cellHeight"-->
<!--[cssClasses]='customClasses'-->
<!--[columnMode]="'force'"-->
<!--[scrollbarV]="true"-->
<!--[selectionType]="'single'">-->
<!--<ngx-datatable-column name="{{tableHead[0].head}}" prop="name" [width]="210" style="padding-left:10px">-->
<!--<ng-template ngx-datatable-cell-template let-row="row" let-value="value">-->
<!--<span class="player-name"-->
<!--[style.color]="row['fraction'] === 'BLUFOR' ? fraction.COLOR_BLUFOR : fraction.COLOR_OPFOR">-->
<!--{{value}}-->
<!--</span>-->
<!--</ng-template>-->
<!--</ngx-datatable-column>-->
<!--<ngx-datatable-column name="{{tableHead[1].head}}" prop="fraction" [width]="90">-->
<!--<ng-template ngx-datatable-cell-template let-value="value">-->
<!--{{value === 'BLUFOR' ? fraction.BLUFOR : fraction.OPFOR}}-->
<!--</ng-template>-->
<!--</ngx-datatable-column>-->
<!--<div *ngFor="let column of tableHead.slice(2, tableHead.length) ">-->
<!--<ngx-datatable-column [width]="columnWidth" prop="{{column.prop}}">-->
<!--<ng-template ngx-datatable-header-template let-sort="sortFn">-->
<!--<span class="datatable-header-cell-wrapper">-->
<!--<span class="datatable-header-cell-label text-truncate" title="{{column.head}}" (click)="sort()">-->
<!--<img src="../../../../assets/scoreboard/{{column.prop}}.png" alt="{{column.head}}">-->
<!--</span>-->
<!--</span>-->
<!--</ng-template>-->
<!--</ngx-datatable-column>-->
<!--</div>-->
<!--<ngx-datatable-column [width]="80">-->
<!--<ng-template ngx-datatable-cell-template let-row="row">-->
<!--<span class="btn btn-sm btn-default in-table-btn"-->
<!--(click)="selectPlayerDetail(1, isSteamUUID(row['steamUUID']) ? row['steamUUID'] : row['name'])">-->
<!--Gesamt-->
<!--</span>-->
<!--</ng-template>-->
<!--</ngx-datatable-column>-->
<!--</ngx-datatable>-->
</div>