team info

This commit is contained in:
2025-09-17 21:51:17 +02:00
parent c9c717f1e3
commit 2cfd23cdb1
4 changed files with 55 additions and 4 deletions

View File

@@ -15,4 +15,12 @@ type CipherTemplateS struct {
Wrong bool
}
type TeamTemplateS struct {
TeamName string
Difficulty string
LastCipher int
Penalties int
}
var CipherTemplate = template.Must(template.ParseFiles("templates/assignment.html"))
var TeamTemplate = template.Must(template.ParseFiles("templates/team.html"))