feat: initial commit
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user