diff --git a/pages.go b/pages.go index ab7b939..1847e83 100644 --- a/pages.go +++ b/pages.go @@ -22,6 +22,7 @@ func mainPage(c *gin.Context) { "./templates/modals/add_player.html", "./templates/modals/delete_player.html", "./templates/modals/edit_player.html", + "./templates/modals/settings.html", "./templates/components/header.html", } tmpl, err := template.ParseFiles(files...) diff --git a/templates/components/bottom_controls.html b/templates/components/bottom_controls.html index ee286d1..e730823 100644 --- a/templates/components/bottom_controls.html +++ b/templates/components/bottom_controls.html @@ -5,7 +5,7 @@ - diff --git a/templates/index.html b/templates/index.html index 9de8694..c1f6edb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -45,6 +45,9 @@ {{ template "edit_player" . }} + +{{ template "settings" . }} + + +{{ end }} \ No newline at end of file diff --git a/templates/player_list_item.html b/templates/player_list_item.html index 16899b9..24264ee 100644 --- a/templates/player_list_item.html +++ b/templates/player_list_item.html @@ -1,11 +1,14 @@
- +
- %s + %s - %s + %s +