-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (65 loc) · 3.22 KB
/
index.html
File metadata and controls
68 lines (65 loc) · 3.22 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link href="favicon.ico" rel="icon" type="image/ico">
<link href="css/main.css" rel="stylesheet" />
<script src="mdl/material.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.blue_grey-red.min.css">
<title>Image Guess</title>
</head>
<body>
<script defer src="scripts/images.js"></script>
<script defer src="scripts/init.js"></script>
<div id="settings-dialog">
<h1 id="message">Game Settings</h1>
<form id="settings-form">
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="team-1">
<label class="mdl-textfield__label" for="team-1">Team Name</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="team-2">
<label class="mdl-textfield__label" for="team-2">Team Name</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="team-3">
<label class="mdl-textfield__label" for="team-3">Team Name</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="team-4">
<label class="mdl-textfield__label" for="team-4">Team Name</label>
</div>
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="timer-toggle">
<input type="checkbox" id="timer-toggle" class="mdl-switch__input">
<span class="mdl-switch__label">Timer Toggle</span>
</label>
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="german-toggle">
<input type="checkbox" id="german-toggle" class="mdl-switch__input">
<span class="mdl-switch__label">German Toggle</span>
</label>
</form>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect" onclick="setSettings()">Play</button>
</div>
<div id="wrapper">
<div id="game">
<div id="game-image" onclick="showAnswer()"></div>
<button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored" id="next-button" disabled><i class="material-icons">arrow_forward</i></button>
</div>
<div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
<dialog class="mdl-dialog">
<div class="mdl-dialog__content">
<h4 id="answer"></h4>
</div>
<div class="mdl-dialog__actions">
<button id="close-dialog" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--accent close">OK</button>
</div>
</dialog>
</div>
</body>
</html>