|
|
|
@ -15,194 +15,42 @@
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.kill"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" style="padding-left:10px">
|
|
|
|
|
<ng-template ngx-datatable-cell-template let-row="row" let-value="value">
|
|
|
|
|
<div *ngFor="let attributeMap of playerAttributeDisplayNames.slice(2, playerAttributeDisplayNames.length)">
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players[attributeMap.prop]"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Kills" prop="kill"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</ngx-datatable-column>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.friendlyFire"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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">
|
|
|
|
|
<ngx-datatable-column [width]="valueColWidth" prop="{{attributeMap.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="{{attributeMap.head}}" (click)="sort()">
|
|
|
|
|
<img src="../../../../assets/scoreboard/{{attributeMap.prop}}.png" alt="{{attributeMap.head}}">
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</ng-template>
|
|
|
|
|
<ng-template ngx-datatable-cell-template let-row="row" let-value="value">
|
|
|
|
|
<span style="padding-left: 7px;">
|
|
|
|
|
{{value}}
|
|
|
|
|
</span>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column [width]="valueColWidth" name="FriendlyFire" prop="friendlyFire"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.death"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Tode" prop="death"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.respawn"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Respawn" prop="respawn"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.revive"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Revive" prop="revive"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.flagTouch"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Eroberung" prop="flagTouch"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.vehicleLight"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Fzg (Light)" prop="vehicleLight"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.vehicleHeavy"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Fzg (Heavy)" prop="vehicleHeavy"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
|
|
|
|
|
<ngx-datatable
|
|
|
|
|
[rows]="players.vehicleAir"
|
|
|
|
|
[messages]="emptyMessage"
|
|
|
|
|
[headerHeight]="cellHeight"
|
|
|
|
|
[rowHeight]="cellHeight"
|
|
|
|
|
[cssClasses]='customClasses'
|
|
|
|
|
[columnMode]="'force'"
|
|
|
|
|
[scrollbarV]="true"
|
|
|
|
|
[selectionType]="'single'">
|
|
|
|
|
<ngx-datatable-column [width]="numberColWidth" name="#" prop="num"></ngx-datatable-column>
|
|
|
|
|
<ngx-datatable-column name="Spieler" prop="name" [width]="nameColWidth" 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 [width]="valueColWidth" name="Fzg (Air)" prop="vehicleAir"></ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</ngx-datatable-column>
|
|
|
|
|
</ngx-datatable>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|