admin: new page to see score details
This commit is contained in:
parent
4a4d0f634a
commit
024ae04f45
3 changed files with 59 additions and 2 deletions
|
|
@ -1,6 +1,9 @@
|
|||
<h1>
|
||||
{{ team.name }}
|
||||
<button type="button" ng-click="showStats()" class="float-right btn btn- btn-primary" ng-if="team.id">
|
||||
<button type="button" ng-click="showScore()" class="float-right btn btn-primary mr-1" ng-if="team.id">
|
||||
Score
|
||||
</button>
|
||||
<button type="button" ng-click="showStats()" class="float-right btn btn-primary mr-1" ng-if="team.id">
|
||||
<span class="glyphicon glyphicon-list" aria-hidden="true"></span>
|
||||
Statistiques
|
||||
</button>
|
||||
|
|
@ -98,7 +101,7 @@
|
|||
<tbody>
|
||||
<tr ng-repeat="row in history" ng-class="{'bg-ffound': row.kind == 'flag_found', 'bg-mfound': row.kind == 'mcq_found', 'bg-wchoices': row.kind == 'wchoices', 'bg-success': row.kind == 'solved', 'bg-info': row.kind == 'hint', 'bg-warning': row.kind == 'tries'}">
|
||||
<td>
|
||||
<nobr>{{ row.time | date:"mediumTime" }}</nobr><br>{{ row.kind }}
|
||||
<nobr title="{{ row.time }}">{{ row.time | date:"mediumTime" }}</nobr><br>{{ row.kind }}
|
||||
</td>
|
||||
<td>
|
||||
<span ng-if="row.primary_title">
|
||||
|
|
|
|||
Reference in a new issue