-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
124 lines (121 loc) · 3.49 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
121
122
123
124
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Online Chess Timer</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="main-container">
<div class="top-bar">
<div class="main-header">
<h1>Online chess Timer</h1>
</div>
<div class="info-nav">
<h2>Info</h2>
</div>
</div>
<div id="selection-container" class="selection-wrapper">
<div class="game-selection">
<div class="game-selection-tab">
<h2>1m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>2m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>3m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>3m + 2s</h2>
</div>
<div class="game-selection-tab">
<h2>5m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>5m + 3s</h2>
</div>
<div class="game-selection-tab">
<h2>5m + 5s</h2>
</div>
<div class="game-selection-tab">
<h2>10m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>10m + 10s</h2>
</div>
<div class="game-selection-tab">
<h2>15m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>15m + 10s</h2>
</div>
<div class="game-selection-tab">
<h2>20m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>30m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>30m + 15s</h2>
</div>
<div class="game-selection-tab">
<h2>60m + 0s</h2>
</div>
<div class="game-selection-tab">
<h2>Custom</h2>
</div>
</div>
</div>
<div class="game-wrapper" id="game-container">
<div class="timers" id="timers-container">
<div class="timer-wrapper whites-timer">
<div class="time-info">
<h2>White</h2>
<h3 class="time-displayer" id="whites-displayer">00:00:00</h3>
</div>
<div class="rook" id="white-rook">
<p>♜</p>
</div>
</div>
<div class="timer-wrapper blacks-timer">
<div class="rook">
<p id="black-rook">♜</p>
</div>
<div class="time-info">
<h2>Black</h2>
<h3 class="time-displayer" id="blacks-displayer">00:00:00</h3>
</div>
</div>
</div>
<div class="change-sides-wrapper">
<div class="change-sides-button" onclick="changeSides()">
<p>change sides</p>
</div>
</div>
<div class="tap-area-and-info">
<p class="press-space-info" id="press-space-info">press space or click to change turn</p>
</div>
<div class="game-buttons">
<div class="game-button" id="back-button">
<h3>Back</h3>
</div>
<div class="game-button" id="restart-button">
<h3>restart game</h3>
</div>
<div class="game-button" id="pause-button">
<h3>pause game</h3>
</div>
</div>
</div>
<footer>
<div class="footer-content">
<p>Online chess timer by Michał Musioł</p>
</div>
</footer>
</div>
<script src="main.js" charset="utf-8"></script>
<script src="playerTimer.js" charset="utf-8"></script>
</body>
</html>