startup page seting

This commit is contained in:
2025-01-13 15:36:39 +02:00
commit d9e40f0d73
7 changed files with 239 additions and 0 deletions

20
templates/add_group.html Normal file
View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Add Group</title>
</head>
<body>
<h1>Add Group</h1>
<form method="POST">
<label>Group Name:</label>
<input type="text" name="group_name" required><br>
<label>Select Players:</label><br>
{% for player in players %}
<input type="checkbox" name="players" value="{{ player.id }}">
{{ player.username }}<br>
{% endfor %}
<button type="submit">Create Group</button>
</form>
<a href="{{ url_for('dashboard') }}">Back to Dashboard</a>
</body>
</html>