-
Notifications
You must be signed in to change notification settings - Fork 43
/
index.html
104 lines (84 loc) · 3.17 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Telewave</title>
<meta name="description" content="Telewave">
<meta name="author" content="Gus">
<link rel="stylesheet" href="styles/styles.css?v=1.0">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162367629-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-162367629-2');
</script>
</head>
<body>
<div>
<div id='header'>
<div class="seed-container">
<span class="label">Seed</span>
<input type="image" onclick="update_seed()" src="img/refresh.png" alt="Update seed" width=24px height=24px>
<input type="text" id="seed" placeholder="seed" size="8" autofocus>
<input type="image" onclick="copySeedUrl()" src="img/clipboard-copy-512.png" alt="Copy link with seed" width=24px height=24px>
</div>
<button id="new" onclick="new_clue()">New clue</button>
<button id="commit" onclick="button_guess()">Guess</button>
<button id="reveal" onclick="button_peek()">Peek</button>
<button id="reset" onclick="button_clear()">Clear</button>
<div class="percentages-container">
<span id="percentagesText" class="label">Percentage</span>
<input type="checkbox" id="percentages" checked onclick="update_percentages()">
</div>
<a href="instructions">Instructions</a>
<a href="lang/langs"><img src="lang/icons/translation.png" alt="Other languages" width=36px height=36px></a>
</div>
</div>
<script src="scripts/jquery-3.4.1.min.js"></script>
<script src="scripts/seedrandom.js"></script>
<script src="scripts/data.js"></script>
<canvas id="wave" width="1000" height="150" style="border:5px solid #d3d3d3;">
</canvas>
<div class="slidecontainer">
<input type="range" min="0" max="1000" value="500" class="slider" id="guesser" oninput="guessdisp.value = Math.round(guesser.value/10)">
<output id="guessdisp">50</output>
</div>
<div id="board"></div>
<div id="score"></div>
<div id="scoreboard">
<div class="divTable scoreboard">
<div class="divTableBody">
<div class="divTableRow">
<div class="divTableCell">Team 1
<div>
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepDown();">
-
</button>
<input type="number" name="number" min="0" max="100" value="0">
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepUp();">
+
</button>
</div>
</div>
<div class="divTableCell">Team 2
<div>
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepDown();">
-
</button>
<input type="number" name="number" min="0" max="100" value="0">
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepUp();">
+
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="scripts/board.js"></script>
<script src="scripts/draw.js"></script>
</div>
</body>
</html>