-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
215 lines (194 loc) · 9.13 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Memory Game</title>
<link rel="stylesheet" href="assets/lib/semantic/semantic.min.css">
<link rel="stylesheet" href="assets/css/overrides.css">
<script src="assets/lib/jquery/jquery-3.1.1.min.js"></script>
<script src="assets/lib/semantic/semantic.min.js"></script>
<script src="assets/js/main.js"></script>
</head>
<body>
<div class="ui container">
<h1 id="page-title" class="meta-title ui centered dividing header" style="margin-top: 0px; line-height:0.8">
<span id="normal-title" style="color:black"></span>
<span id="preview-appendix" style="color:red"></span>
<p id="requester-details" style="font-size: x-small"></p>
</h1>
</div>
<div id="main" class="ui container">
<!--Instructions page-->
<div id="instructions" class="ui top aligned centered grid">
<div class="row">
<div class="left aligned fourteen wide column">
<p id="description"></p>
<h3 style="margin-bottom: 6px">Guidelines:</h3>
<p id="guidelines-simple" style="margin-bottom: 6px"></p>
<ol id=guidelines-steps>
</ol>
<p id="guidelines-final-notes" style="font-weight: bold"></p>
<h3 style="margin-bottom: 6px"> Prerequisites:</h3>
<p id="prerequisites-simple" style="margin-bottom: 6px"></p>
<ol id="prerequisites-steps">
</ol>
<div id="idcode-field" class="field">
<p id="idcode-instructions" style="margin-top: 30px; margin-bottom:0px"></p>
<textarea id="idcode-text" rows="2"></textarea>
</div>
<div id ="instruction-button" class="ui primary button right floated">Continue</div>
</div>
</div>
</div>
<!--Sorry page-->
<div id="sorry" class="ui top aligned centered relaxed grid" style="display: none">
<div class="row">
<div id="sorry_text" , class="sixteen wide column">
</div>
</div>
<div class="row">
<img id='sorry_image' width="556px" height="356px" style="visibility: visible"/>
</div>
<div class="row">
<div id="rescue-button" class="ui primary right floated button" style="display: none">Go to submit page
</div>
</div>
</div>
<!--Preloading images page-->
<div id="loadingImages" class="ui top aligned centered relaxed grid" style="display: none">
<div class="row">
<div class="sixteen wide column">
Please wait while the images are loading. This might take a few seconds.
</div>
</div>
<div class="row">
<div class="sixteen wide column">
<div id="progress" style="width:100%; background-color: grey">
<div id="progress-bar" style="width:0%; height:30px; background-color:green"></div>
</div>
</div>
</div>
<div class="row">
<div class="sixteen wide column">
<div id="progress_text">
</div>
</div>
</div>
<div class="top aligned row">
<div class="eight wide column"></div>
<div class="right aligned eight wide column">
<div id="start-button" class="ui primary right floated button">Start</div>
</div>
</div>
</div>
<!--Main experiment page-->
<div id="experiment" class="ui top aligned centered relaxed grid">
<div class="row">
<div class="sixteen wide column">
<div id="instructions-oneliner" style="text-align: center;"></div>
</div>
</div>
<img id='mem_image' width="556px" height="356px"
style="cursor: none; visibility: visible; outline-style: solid; outline-width: 1px; outline-color: grey; padding-bottom: 50px; padding-top: 50px; padding-left: 150px; padding-right: 150px"/>
</div>
<!--End of the experiment page-->
<div id="endGame" class="ui top aligned centered relaxed grid" style="display:none">
<div id="final-task-layout" class="row" style="padding-top:0px">
<div class="one wide column"></div>
<div class="fourteen wide column">
<!--<div id="final-task-fields" class="ui form">-->
<div id="performance-table">
<h2>Thank you!</h2>
<table border-collapse="collapse" width="75%" padding="8px" bgcolor="#ADD8E6" align="center">
<tr>
<td align="left"
style="padding: 15px; padding-top: 5px; padding-bottom: 0px; font-weight: bold">Repeats detected:
</td>
<td id="repeats-detected" align="right"
style="padding: 15px; padding-top: 5px; padding-bottom: 0px; font-weight: bold">
Calculating...
</td>
</tr>
<tr>
<td align="left"
style="padding: 15px; padding-top: 5px; padding-bottom: 5px;font-weight: bold; padding-top: 5px">
Tricked by non-repeats:
</td>
<td id="wrong-presses" align="right"
style="padding: 15px; padding-top: 5px; padding-bottom: 5px; font-weight: bold; padding-top: 5px">
Calculating...
</td>
</tr>
<tr></tr>
<tr height="50" style="vertical-align:bottom">
<td align="left" style="padding: 15px; border-top: 2px solid #ddd; font-weight: bold">
Earnings so far:
</td>
<td id="earnings" align="right"
style="padding: 15px; border-top: 2px solid #ddd; font-weight: bold">Calculating...
</td>
</tr>
</table>
<p width="75%" align="left" style="padding-left:13%">Did you not get a perfect score? Do not worry,
nobody does (really). It is supposed to be challenging!</p>
</div>
<div class="row" style="padding-bottom: 25px"></div>
<div id="keep-playing" class="row" style="padding-bottom: 25px">
<h2>Want to keep playing?</h2>
<p> If the "Keep playing" button is enabled, you can! Maybe you can even beat your previous score!
Just a few things to be aware of:</p>
<ol id="end-instructions">
</ol>
<div id="maintenance-message" class="left floated" style="color: red"></div>
<div id="keep-playing-button" class="ui blue right floated button">Keep playing</div>
</div>
<div id="stop-playing" class="row" style="display:None">
<div id="end-text" class="eight wide column">
</div>
</div>
</div>
<div class="one wide column"></div>
</div>
<div class="row" style="padding:0px; margin-top:0px; margin-bottom: 0px">
<div class="one wide column"></div>
<div class="fourteen wide column">
<div class="row">
<div id="stop-playing-button" class="ui blue right floated button">Go to submit page</div>
</div>
</div>
<div class="one wide column"></div>
</div>
</div>
<div id="submitPage" class="ui top aligned centered relaxed grid" style="display:none">
<div class="ui form eight wide column">
<div class="row" style="padding-bottom: 25px"></div>
<div class="row">
<div id="feedback-field" class="field">
<label>
Any comments or feedback?
</label>
<textarea id="feedback-input" rows="2"></textarea>
</div>
</div>
<div class=row>
<div id="submit-field" class="field">
<div id="submit-button" class="ui green right floated button" style="margin-top: 50px">Submit</div>
</div>
</div>
<div class = row>
<div id="submit-eval" style="display:none; margin-top:10px; margin-bottom: 10px"></div>
</div>
</div>
<div class="row">
<form id="submit-form" name="submit-form">
</form>
</div>
</div>
</div>
<div id="disclaimer-box" class="ui container">
<div class="ui divider" style="margin-top: 70px; margin-bottom: 0px"></div>
<div id="disclaimer" class="left aligned sixteen wide column" style="font-size: 12px; color: slategrey">
</div>
</div>
</body>
</html>