Prepare Player-Delete modal. Update disabled-design.

This commit is contained in:
MaxJa4
2024-01-16 18:24:45 +01:00
parent 80d0489b41
commit 8c4ed63359
7 changed files with 88 additions and 8 deletions

View File

@@ -43,11 +43,10 @@ func GetPlayersByClanHTML(c *gin.Context) {
return
}
playerItem := string(file)
//player_item = strings.Replace(player_item, "PLAYERNAME", player.Name, 1)
var htmlOptions string
for _, player := range players {
htmlOptions += fmt.Sprintf(playerItem, player.Name)
htmlOptions += fmt.Sprintf(playerItem, player.Name, player.ID)
}
c.Header("Content-Type", "text/html")