aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/online_qualifying_ranking.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-20 20:09:05 +0900
committernsfisis <nsfisis@gmail.com>2025-03-20 20:09:05 +0900
commit4b5c0f0d1f9711b27ededbcdda785753325f04ea (patch)
treeb8d5e2006035af2481a9c9cd7e8300e2cd6e3cb8 /backend/admin/templates/online_qualifying_ranking.html
parent1a08d06be929900fb8d8b61a1ac0611005c277e8 (diff)
downloadphperkaigi-2025-albatross-4b5c0f0d1f9711b27ededbcdda785753325f04ea.tar.gz
phperkaigi-2025-albatross-4b5c0f0d1f9711b27ededbcdda785753325f04ea.tar.zst
phperkaigi-2025-albatross-4b5c0f0d1f9711b27ededbcdda785753325f04ea.zip
feat(backend): add /admin/online-qualifying-ranking
Diffstat (limited to 'backend/admin/templates/online_qualifying_ranking.html')
-rw-r--r--backend/admin/templates/online_qualifying_ranking.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/backend/admin/templates/online_qualifying_ranking.html b/backend/admin/templates/online_qualifying_ranking.html
new file mode 100644
index 0000000..3b00046
--- /dev/null
+++ b/backend/admin/templates/online_qualifying_ranking.html
@@ -0,0 +1,31 @@
+{{ template "base.html" . }}
+
+{{ define "breadcrumb" }}
+<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a>
+{{ end }}
+
+{{ define "content" }}
+<table>
+ <thead>
+ <tr>
+ <th scope="col">順位</th>
+ <th scope="col">プレイヤー</th>
+ <th scope="col">スコア</th>
+ <th scope="col">提出時刻</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{ range .Entries }}
+ <tr>
+ <td>{{ .Rank }}</td>
+ <td>{{ .Username }}</td>
+ <td>{{ .Score1 }}</td>
+ <td>{{ .Score2 }}</td>
+ <td>{{ .TotalScore }}</td>
+ <td>{{ .SubmittedAt1 }}</td>
+ <td>{{ .SubmittedAt2 }}</td>
+ </tr>
+ {{ end }}
+ </tbody>
+</table>
+{{ end }}