diff options
Diffstat (limited to 'backend/admin')
| -rw-r--r-- | backend/admin/handler.go | 1 | ||||
| -rw-r--r-- | backend/admin/templates/online_qualifying_ranking.html | 9 |
2 files changed, 7 insertions, 3 deletions
diff --git a/backend/admin/handler.go b/backend/admin/handler.go index 161f85c..c0ddd43 100644 --- a/backend/admin/handler.go +++ b/backend/admin/handler.go @@ -413,6 +413,7 @@ func (h *Handler) getOnlineQualifyingRanking(c echo.Context) error { entries[i] = echo.Map{ "Rank": i + 1, "Username": r.Username, + "UserLabel": r.UserLabel, "Score1": r.CodeSize1, "Score2": r.CodeSize2, "TotalScore": r.TotalCodeSize, diff --git a/backend/admin/templates/online_qualifying_ranking.html b/backend/admin/templates/online_qualifying_ranking.html index 3b00046..039687e 100644 --- a/backend/admin/templates/online_qualifying_ranking.html +++ b/backend/admin/templates/online_qualifying_ranking.html @@ -10,15 +10,18 @@ <tr> <th scope="col">順位</th> <th scope="col">プレイヤー</th> - <th scope="col">スコア</th> - <th scope="col">提出時刻</th> + <th scope="col">スコア1</th> + <th scope="col">スコア2</th> + <th scope="col">合計スコア</th> + <th scope="col">提出時刻1</th> + <th scope="col">提出時刻2</th> </tr> </thead> <tbody> {{ range .Entries }} <tr> <td>{{ .Rank }}</td> - <td>{{ .Username }}</td> + <td>{{ .Username }}{{ if .UserLabel }} ({{ .UserLabel }}){{ end }}</td> <td>{{ .Score1 }}</td> <td>{{ .Score2 }}</td> <td>{{ .TotalScore }}</td> |
