-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
118 lines (113 loc) · 5.16 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="./bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="./main.css">
<script src="./jquery.min.js"></script>
<script src="./bootstrap.min.js"></script>
</head>
<body>
<div class="col-xs-3 col-sm-3 col-md-3" id="p1">
<div class="thumbnail relative">
<img class="icon" alt="Icon of Player 1">
<img src="img/jail.png" class="jail" alt="jail" style="display: none;">
<div class="caption">
<p class="score">score: 0</p>
<div class="input-group large">
<span class="input-group-addon">@</span>
<input type="text"
class="form-control input-lg"
placeholder="GitHub ID"
aria-describedby="basic-addon1"
onchange="game.players[0].updateName(this.value)">
</div>
</div>
</div>
</div>
<div class="col-xs-3 col-sm-3 col-md-3" id="p2">
<div class="thumbnail relative">
<img class="icon" alt="Icon of Player 2">
<img src="img/jail.png" class="jail" alt="jail" style="display: none;">
<div class="caption">
<p class="score">score: 0</p>
<div class="input-group large">
<span class="input-group-addon">@</span>
<input type="text"
class="form-control input-lg"
placeholder="GitHub ID"
aria-describedby="basic-addon1"
onchange="game.players[1].updateName(this.value)">
</div>
</div>
</div>
</div>
<div class="col-xs-3 col-sm-3 col-md-3" id="p3">
<div class="thumbnail relative">
<img class="icon" alt="Icon of Player 3">
<img src="img/jail.png" class="jail" alt="jail" style="display: none;">
<div class="caption">
<p class="score">score: 0</p>
<div class="input-group large">
<span class="input-group-addon">@</span>
<input type="text"
class="form-control input-lg"
placeholder="GitHub ID"
aria-describedby="basic-addon1"
onchange="game.players[2].updateName(this.value)">
</div>
</div>
</div>
</div>
<div class="col-xs-3 col-sm-3 col-md-3" id="p4">
<div class="thumbnail relative">
<img class="icon" alt="Icon of Player 4">
<img src="img/jail.png" class="jail" alt="jail" style="display: none;">
<div class="caption">
<p class="score">score: 0</p>
<div class="input-group large">
<span class="input-group-addon">@</span>
<input type="text"
class="form-control input-lg"
placeholder="GitHub ID"
aria-describedby="basic-addon1"
onchange="game.players[3].updateName(this.value)">
</div>
</div>
</div>
</div>
<div style="clear: both;"></div>
<div class="well well-lg" id="msgbox"></div>
<div style="clear: both;"></div>
<div class="btn-group btn-group-lg" id="controller">
<button type="button"
class="btn btn-primary"
onclick="game.wait()"
id="start-button">スタート</button>
<button type="button"
class="btn btn-primary dropdown-toggle"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<li><a href="#" onclick="game.enter()">エントリー</a></li>
</ul>
</div>
<button type="button"
class="btn btn-primary btn-lg"
onclick="game.correct()"
id="correct-button" disabled>○</button>
<button type="button"
class="btn btn-primary btn-lg"
onclick="game.incorrect()"
id="incorrect-button" disabled>×</button>
<audio src="se/hai.mp3" id="hai"></audio>
<audio src="se/pingpong2.mp3" id="pingpong2"></audio>
<audio src="se/buzzer.mp3" id="buzzer"></audio>
<script src="./main.js"></script>
</body>
</html>