-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (65 loc) · 3.52 KB
/
index.html
File metadata and controls
70 lines (65 loc) · 3.52 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charSet="utf-8"/>
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1.0"/>
<title>Lottery Game</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./assets/index.css">
<link rel="icon" href="data:,">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body style="background-image: url('./assets/images/background.jpg'); margin:0; padding:0; overflow:hidden;">
<script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tween.js/18.6.4/tween.umd.js"></script>
<script type="importmap">
{ "imports": {
"three": "./three/build/three.module.js",
"three/addons/": "./three/examples/jsm/",
"tween": "./src/libs/tween.esm.js"
}}
</script>
<script type="module">
import { Main } from './src/Main.js'
</script>
<div class="container mt-3" id="controlpan">
<h3 class="text-black">Lottery Game!!!</h3>
<p class="text-white">Click on the button to open the modal.</p>
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#myModal">
Select the Balls
</button>
</div>
<!-- The Modal -->
<div class="modal fade" id="myModal" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content">
<div class="modal-header bg-primary text-black">
<h4 class="modal-title" id="myModalLabel">Let's Play!</h4>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="container mt-3">
<h3 class="text-black text-color: Red">Lottery Game Settings</h3>
<form>
<div class="mb-3">
<label for="import_balls" class="form-label text-black">Import Balls</label>
<input type="number" class="form-control" id="import_balls" placeholder="Enter number of import balls">
</div>
<div class="mb-3">
<label for="export_balls" class="form-label text-black">Export Balls</label>
<input type="number" class="form-control" id="export_balls" placeholder="Enter number of export balls">
</div>
</form>
</div>
<div class="modal-footer bg-secondary">
<div class="modal-footer bg-secondary">
<button type="button" class="btn btn-danger" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" data-bs-dismiss="modal" onclick="handleClick(); startGame();">Start Game</button>
</div>
</div>
</div>
</div>
</div>
<!-- Include start.js -->
<script src="./demos/start.js"></script>
</body>
</html>