-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
55 lines (50 loc) · 1.87 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
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<!-- Notre page est en anglais -->
<head>
<meta charset="utf-8">
<title>Queens</title>
<link rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/ico" sizes="512x512" href="img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/firebase/7.14.1-0/firebase.js"></script>
<script type="module" src="script/db.js"></script>
<script type="module" src="script/pushInDb.js"></script>
<script src="script/chrono.js"></script>
<script src="script/verif_auth.js"></script>
<script src="script/maps.js" defer></script>
<script src="script/constants.js" defer></script>
<script src="script/utils.js" defer></script>
<script src="script/main.js" defer></script>
</head>
<body>
<!-- Menu choix de la map-->
<div id="menu">
<h1 id="username"></h1>
<select id="mapSelector">
<option value="">Choose a map</option>
</select>
<button id="buttonPlay">Play</button>
<button id="buttonRandomPlay">Random Map</button>
<span id="chronometer">00:00:00.000</span>
<select id="colorSelector">
</select>
<label for="optionMarker">Use markers</label>
<input type="checkbox" id="optionMarker" name="optionMarker">
<a href="leaderboard.html">
<img src="img/button_leaderboard.png" alt="Leaderboard">
</a>
</div>
<!-- Terrain de jeu -->
<div id="grid">
</div>
<!-- Pop-Up de Victoire -->
<div id="victory-popup" class="popup-container" style="display:none;">
<div class="popup-content">
<h2>Félicitations !</h2>
<p>Vous avez gagné la partie !</p>
<button id="save-button">Sauvegarder</button>
<button id="close-popup" onclick="closePopup()">Fermer</button>
</div>
</div>
</body>
</html>