From f8ac93f1639640f06afb514cb10f504d7951775c Mon Sep 17 00:00:00 2001
From: MaxJa4 <74194322+MaxJa4@users.noreply.github.com>
Date: Wed, 17 Jan 2024 21:33:04 +0100
Subject: [PATCH] Add single-calc-button for individual players. Add settings
modal-html.
---
pages.go | 1 +
templates/components/bottom_controls.html | 2 +-
templates/index.html | 3 ++
templates/modals/settings.html | 47 +++++++++++++++++++++++
templates/player_list_item.html | 9 +++--
5 files changed, 58 insertions(+), 4 deletions(-)
create mode 100644 templates/modals/settings.html
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 @@
-