mirror of
https://github.com/benjamin-wilson/public-pool-ui.git
synced 2025-03-28 18:51:47 +01:00
rank
This commit is contained in:
parent
483acc8858
commit
27de381f5e
@ -138,14 +138,16 @@
|
|||||||
<p-table [value]="highScores">
|
<p-table [value]="highScores">
|
||||||
<ng-template pTemplate="header">
|
<ng-template pTemplate="header">
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>Rank</th>
|
||||||
<th>Difficulty</th>
|
<th>Difficulty</th>
|
||||||
<th>Device</th>
|
<th>Device</th>
|
||||||
<th>When</th>
|
<th>When</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template pTemplate="body" let-highScore>
|
<ng-template pTemplate="body" let-highScore let-i="rowIndex">
|
||||||
<tr></tr>
|
<tr></tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>#{{i+1}}</td>
|
||||||
<td>{{ highScore.bestDifficulty | numberSuffix }}</td>
|
<td>{{ highScore.bestDifficulty | numberSuffix }}</td>
|
||||||
<td><app-user-agent-link
|
<td><app-user-agent-link
|
||||||
[userAgent]="highScore.bestDifficultyUserAgent ? highScore.bestDifficultyUserAgent : 'unknown'"></app-user-agent-link>
|
[userAgent]="highScore.bestDifficultyUserAgent ? highScore.bestDifficultyUserAgent : 'unknown'"></app-user-agent-link>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user