admin: add wchoices in team_history.json
This commit is contained in:
parent
1b75547308
commit
f3eabd74fc
4 changed files with 26 additions and 6 deletions
|
|
@ -18,10 +18,13 @@ const indextpl = `<!DOCTYPE html>
|
|||
white-space: nowrap;
|
||||
}
|
||||
.bg-mfound {
|
||||
background-color: #7bcfd0;
|
||||
background-color: #7bcfd0 !important;
|
||||
}
|
||||
.bg-ffound {
|
||||
background-color: #7bdfc0;
|
||||
background-color: #7bdfc0 !important;
|
||||
}
|
||||
.bg-wchoices {
|
||||
background-color: #c07bdf !important;
|
||||
}
|
||||
</style>
|
||||
<base href="{{.urlbase}}">
|
||||
|
|
|
|||
|
|
@ -16,10 +16,13 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
.bg-mfound {
|
||||
background-color: #7bcfd0;
|
||||
background-color: #7bcfd0 !important;
|
||||
}
|
||||
.bg-ffound {
|
||||
background-color: #7bdfc0;
|
||||
background-color: #7bdfc0 !important;
|
||||
}
|
||||
.bg-wchoices {
|
||||
background-color: #c07bdf !important;
|
||||
}
|
||||
</style>
|
||||
<base href="/admin/">
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@
|
|||
<div class="col-lg-4">
|
||||
<table ng-controller="TeamHistoryController" class="table table-hover table-striped table-bordered bg-primary text-light">
|
||||
<tbody>
|
||||
<tr ng-repeat="row in history" ng-class="{'bg-ffound': row.kind == 'flag_found', 'bg-mfound': row.kind == 'mcq_found', 'bg-success': row.kind == 'solved', 'bg-info': row.kind == 'hint', 'bg-warning': row.kind == 'key_found'}">
|
||||
<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 }}
|
||||
</td>
|
||||
|
|
|
|||
Reference in a new issue