-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (119 loc) · 3.74 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../../global.style.css" />
<link rel="stylesheet" href="./static/css/style.css" />
<title>Coral | Torre di Hanoi</title>
</head>
<body>
<header>
<h2>Torre di Hanoi</h2>
</header>
<div class="top-settings">
<!-- Disk Number Slider -->
<div class="slider">
<div class="row" style="justify-content: center">
Numero di dischi: <span class="display-disk-number"></span>
</div>
<div class="row">
<div class="custom__slider">
<input
type="range"
name="disk-number"
id="disk-number"
value="3"
step="1"
min="2"
max="17"
/>
<div
data-category="disk-number"
class="custom__slider__remaining"
></div>
</div>
</div>
</div>
<!-- End -->
</div>
<div class="columns">
<div class="column">
<div class="disk__container" data-number="0">
<!-- Where disks stay -->
</div>
<div class="column__stick"></div>
<div class="column__base"></div>
</div>
<div class="column">
<div class="disk__container" data-number="1">
<!-- Where disks stay -->
</div>
<div class="column__stick"></div>
<div class="column__base"></div>
</div>
<div class="column">
<div class="disk__container" data-number="2">
<!-- Where disks stay -->
</div>
<div class="column__stick"></div>
<div class="column__base"></div>
</div>
</div>
<div class="bottom-controls row">
<div class="terminal">
<!-- <img
src="./assets/images/blue__screen.jpg"
class="blue-screen"
style="display: none"
/> -->
<p>
<span style="color: #c088d6">const</span>
<span style="color: #f3636f">sequence</span>
<span style="color: #c088d6">=</span>
<span style="color: #6ae5f0; margin-left: 1rem">"</span
><span id="display-sequence"></span
><span style="color: #6ae5f0">"</span>
</p>
</div>
<div class="controls">
<p class="time">
<span id="time-hours">00</span>:<span id="time-minutes">00</span
>:<span id="time-seconds">00</span>:<span id="time-milliseconds"
>000</span
>
</p>
<div class="info">
<p>Tempo stimato: <span id="estimated-time"></span></p>
<p>Numero di mosse: <span id="moves"></span></p>
</div>
<!-- Velocity Slider -->
<div class="velocity">
<!-- Velocità -->
<div class="row">
<button class="btn velocity-btn" data-speed="slow">
<img src="./static/img/snail.png" />
</button>
<button class="btn velocity-btn selected" data-speed="medium">
<img src="./static/img/walking.png" />
</button>
<button class="btn velocity-btn" data-speed="fast">
<img src="./static/img/rabbit.png" />
</button>
</div>
</div>
<button class="btn start" id="start-btn">Solve</button>
</div>
<div class="terminal">
<div id="display-moves"></div>
</div>
</div>
<div class="credits">
<p>Lorenzo Corallo</p>
<p>Luis Dodaj</p>
</div>
<script src="./static/js/stopwatch.js"></script>
<script src="./static/js/app.js"></script>
</body>
</html>