Last minute fixes

This commit is contained in:
nemunaire 2016-01-23 14:12:03 +01:00
parent d5d45c0b0c
commit fdeffbdefe
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@
<div class="panel panel-default" ng-show="(my.team_id)">
<div class="panel-body">
<strong class="teamname" style="background-color: {{ teams[my.team_id].color }}; color: {{ teams[my.team_id].color }};"><span>{{ teams[my.team_id].name }}</span></strong>
<a style="float: right;" class="btn btn-default btn-xs" href="/edit">edit</a><br><br>
<a style="float: right;" class="btn btn-default btn-xs" href="/edit" ng-show="false">edit</a><br><br>
<span ng-show="teams[my.team_id].rank">{{ teams[my.team_id].rank }}<sup>e</sup> sur {{ teams_count }} &ndash;</span>
{{ teams[my.team_id].score }} points

View File

@ -93,7 +93,7 @@ func GetRank() (map[int64]int, error) {
nteam += 1
var tid int64
var score int64
var tzzz int64
var tzzz time.Time
if err := rows.Scan(&tid, &score, &tzzz); err != nil {
return nil, err
}