add everything necessary to be able to calculate skills interactive.
added new route to main to handle skill field update added new handler to work with htmx requests for skill calculation made skill fields readonly adapted templates for reloading of skills only
This commit is contained in:
parent
7ed139ff97
commit
206b5bb506
6 changed files with 644 additions and 473 deletions
1
main.go
1
main.go
|
|
@ -36,6 +36,7 @@ func main() {
|
|||
routes.HandleFunc("/about", handlers.AboutHandler(content))
|
||||
routes.HandleFunc("/contact", handlers.ContactHandler(content))
|
||||
routes.HandleFunc("/monsterTable", handlers.MonsterTableHandler(content, &Monsters))
|
||||
routes.HandleFunc("/calculate-skills", handlers.SkillCalculationHandler(content))
|
||||
// Print the message indicating that 'static' has been included.
|
||||
log.Printf("Eingebunden is %v\n", static)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue