Feat: add rating

This commit is contained in:
Grail Finder
2025-07-11 18:45:33 +03:00
parent 329f849a72
commit f01fc12510
5 changed files with 27 additions and 0 deletions

View File

@ -25,6 +25,7 @@
<thead class="bg-gray-800 text-white">
<tr>
<th class="py-2 px-4">Player</th>
<th class="py-2 px-4">Rating</th>
<th class="py-2 px-4">Games Played</th>
<th class="py-2 px-4">Games Won</th>
<th class="py-2 px-4">Games Lost</th>
@ -36,6 +37,7 @@
{{range .}}
<tr>
<td class="py-2 px-4 border">{{.Username}}</td>
<td class="py-2 px-4 border">{{.Rating}}</td>
<td class="py-2 px-4 border">{{.GamesPlayed}}</td>
<td class="py-2 px-4 border">{{.GamesWon}}</td>
<td class="py-2 px-4 border">{{.GamesLost}}</td>