-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (109 loc) · 6.04 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
<!DOCTYPE html>
<html lang="en" translate="no">
<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">
<title>Chess Game</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" href="bootstrap/bootstrap.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
<link rel="stylesheet" href="fontawesome/font-awesome.css">
<link rel="stylesheet" href="style.css">
</head>
<body style="overflow: hidden" oncontextmenu="return false;" >
<div id="game" class="role-black" >
<table class="board" id="board">
<thead>
<tr>
</tr>
</thead>
<tbody>
<tr>
<td class="square white cords cords-8"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
<td class="square white"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
</tr>
<tr>
<td class="square black cords cords-7"></div> <td class="square white"></div> <td class="square black"></div> <td class="square white"></td>
<td class="square black"></div> <td class="square white"></div> <td class="square black"></div> <td class="square white"></td>
</tr>
<tr>
<td class="square white cords cords-6"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
<td class="square white"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
</tr>
<tr>
<td class="square black cords cords-5"></div> <td class="square white"></div> <td class="square black"></div> <td class="square white"></td>
<td class="square black"></div> <td class="square white"></div> <td class="square black"></div> <td class="square white"></td>
</tr>
<tr>
<td class="square white cords cords-4"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
<td class="square white"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
</tr>
<tr>
<td class="square black cords cords-3"></div> <td class="square white"></div> <td class="square black"></div> <td class="square white"></td>
<td class="square black"></div> <td class="square white"></div> <td class="square black"></div> <td class="square white"></td>
</tr>
<tr>
<td class="square white cords cords-2"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
<td class="square white"></div> <td class="square black"></div> <td class="square white"></div> <td class="square black"></td>
</tr>
<tr>
<td class="square black cords cords-1 cords-a"></div> <td class="square white cords cords-b"></div> <td class="square black cords cords-c"></div> <td class="square white cords cords-d"></td>
<td class="square black cords cords-e"></div> <td class="square white cords cords-f"></div> <td class="square black cords cords-g"></div> <td class="square white cords cords-h"></td>
</tr>
</table>
<div>
</div>
<div id="timerHolder">
<div id="BlackTimer">05:00</div>
<div id="WhiteTimer">05:00</div>
</div>
<div class="overlay">
<div class="row card">
<div class="col-12" style="line-height: 10px!important;"> </div>
<div class="col-12">
<div class="d-flex justify-content-center">
<div class="input-group">
<input id="playerTimeInput" type="text" value="300" class="form-control" placeholder="Example: 300 ">
<div class="input-group-append">
</div>
</div>
</div>
</div>
<div class="col-12" style="line-height: 10px!important;"> </div>
<div class="col-12">
<div class="d-flex justify-content-center">
<div class="input-group">
<input id="playerIncrementInput" readonly type="text" value="0" class="form-control" placeholder="Example: 0 ">
<div class="input-group-append">
<span class="input-group-text">Increment in seconds</span>
</div>
</div>
</div>
</div>
<div class="col-12" style="line-height: 10px!important;"> </div>
<div class="col-12">
<div class="d-flex justify-content-center">
<button onclick="initGame()" class="btn btn-dark btn-block">
Start
</button>
</div>
</div>
<div class="col-12" style="line-height: 10px!important;"> </div>
</div>
</div>
</div>
<script src="jquery/jquery.js"></script>
<script src="bootstrap/popover.js"></script>
<script src="bootstrap/bootstrap.js"></script>
<script src="jquery/jquery-ui.js"></script>
<script src="classes/classes.js"></script>
<script src="code.js"></script>
</body>
</html>