-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·44 lines (44 loc) · 1.51 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Football Set Picker</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<button id="resetButton" onclick="resetPicker()">Reset</button>
<div class="container">
<h1>⚽ Football Set Picker</h1>
<div class="mode-toggle">
<button onclick="setMode('player')">Player Mode</button>
<button onclick="setMode('keeper')">Keeper Mode</button>
</div>
<div class="config-section">
<div class="range-inputs">
<input type="number" id="setStart" placeholder="Start Set ex. 1">
<input type="number" id="setEnd" placeholder="End Set ex. 3">
</div>
<div class="player-mode active">
<input type="number" id="playersPerSet" placeholder="Players per set ex. 5">
</div>
<div class="button-group">
<button onclick="initializePicker()">Initialize</button>
<button onclick="undoLastPick()" class="undo">Undo</button>
</div>
</div>
<div class="action-section player-mode active">
<button onclick="pickPlayer()">Pick Player</button>
</div>
<div class="action-section keeper-mode">
<button onclick="pickKeeper()">Pick Keeper</button>
</div>
<div class="results">
<div id="setsStatus"></div>
</div>
<div id="errorMessage" class="error"></div>
</div>
<audio id="pickSound" src="pick-sound.mp3"></audio>
<script src="script.js"></script>
</body>
</html>