forked from jasonfill/family-feud
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpopup.html
More file actions
113 lines (92 loc) · 3.48 KB
/
Copy pathpopup.html
File metadata and controls
113 lines (92 loc) · 3.48 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
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
<!DOCTYPE html>
<html>
<!--
Copyright 2011 Daniel Seither (post@tiwoc.de), Cornelius Flöter (cornelius@nxon.de)
This file is part of Clan Contest.
Clan Contest is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Clan Contest is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Clan Contest. If not, see http://www.gnu.org/licenses/.
-->
<head>
<title>Clan Contest</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="style/popup.css">
<script src="lib/jquery-1.6.1.js"></script>
<script src="questions.js"></script>
<script type="text/javascript">
// maximum number of answers per question
var max_answers = 0;
// tasks to be run when window is closed
window.onbeforeunload = function (e) {
// notify control window
window.opener.game_window_closed();
};
</script>
<!-- the state changer - contains the same functions as the control window's state changer, except the code applies to the game window -->
<script type="text/javascript" src="js/game_window/game_window_state_changer.js"></script>
<!-- initialise things and call a function in the control window to tell it we are ready -->
<script type="text/javascript" src="js/game_window/game_window_dom_ready.js"></script>
<!-- "api" functions - these are functions which the control window can call -->
<script type="text/javascript" src="js/game_window/game_window_api_functions.js"></script>
</head>
<body>
<div id="container">
<!-- splash -->
<div class="screen" id="view_splash">
<img src="gfx/logo.png" />
</div>
<!-- round 1 to 4 -->
<div class="screen" id="view_rounds">
<h1>Round <span id="round_display"></span> <span id="multiplicator_display"></span></h1>
<table class="answerstable" id="tbl_rounds_answers"><!-- placeholder for answers, filled using JS --></table>
<table class="pointstable">
<tr>
<td id="name_t0" class="points_left"></td>
<td class="points_center"></td>
<td id="name_t1" class="points_right"></td>
</tr>
<tr class="points_row">
<td id="team0_points" class="points_left"></td>
<td id="round_points" class="points_center"></td>
<td id="team1_points" class="points_right"></td>
</tr>
<tr>
<td class="points_left">
<span id="x_t0_0"> </span>
<span id="x_t0_1"> </span>
<span id="x_t0_2"> </span>
</td>
<td></td>
<td class="points_right">
<span id="x_t1_2"> </span>
<span id="x_t1_1"> </span>
<span id="x_t1_0"> </span>
</td>
</tr>
</table>
</div>
<!-- finals -->
<div class="screen" id="view_finals">
<h1>Finals</h1>
<table class="answerstable" id="tbl_finals_answers"><!-- placeholder for answers, filled using JS --></table>
<table class="pointstable">
<tr>
<td class="points_left">Time left: <span id="timeleft"></span> s</td>
<td class="points_right">Σ <span id="finals_points"></span></td>
</tr>
</table>
</div>
<!-- end -->
<div class="screen" id="view_end">
<img src="gfx/logo.png" />
</div>
</div>
</body>
</html>