feat: initial commit

This commit is contained in:
2025-06-15 16:44:44 +02:00
parent c50d1858f2
commit 21b334bc70
27 changed files with 13550 additions and 122 deletions

View File

@ -1,6 +1,7 @@
package component
import (
"fmt"
common "forge.cadoles.com/wpetit/kouiz/internal/http/handler/webui/common/component"
"forge.cadoles.com/wpetit/kouiz/internal/store"
"strconv"
@ -67,6 +68,7 @@ templ LeaderboardPage(vmodel LeaderboardPageVModel) {
if p.ID == vmodel.Player.ID {
class="has-text-weight-bold is-info"
}
id={ fmt.Sprintf("player-%d", p.ID) }
>
<td>{ strconv.FormatInt(int64(i+1), 10) }</td>
<td>{ p.Name }</td>