-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
169 lines (156 loc) · 7.26 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CodeCharts Demo</title>
<meta name="description" content="Measuring attention on images">
<meta name="author" content="Zoya Bylinskii and Anelise Newman" >
<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/custom.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/demo_survey.js"></script>
<link rel="shortcut icon" href="/turkeyes_favicon.ico" />
</head>
<body>
<div class="ui container">
<h1 id="page-title" class="meta-title ui centered dividing header"></h1>
<div id="instructions" class="ui top aligned centered grid">
<div class="row">
<div class="left aligned fourteen wide column">
<h2>Instructions</h2>
<p><b class="meta-desc"></b></p>
<p class="instructions-simple"></p>
<h3>Guidelines:</h3>
<ol class="instructions-steps">
</ol>
<div id="sample-task">
<h3>Sample task:</h3>
<div id="instructions-demo"></div>
</div>
<div class="ui progress blue" id="im-load-progress">
<div class="bar">
<div class="progress"></div>
</div>
<div class="label">Loading images...</div>
</div>
<div class="ui primary button right floated instruction-button">Continue</div>
</div>
</div>
</div>
<div class="ui error message subtask" id="hit-not-accepted" style="display:none">You have not yet accepted this HIT. Please accept the HIT before you can see the rest of the task.</div>
<div id="succesful-submit" class="row" style="display: none; text-align:center">
<p class="ui header">Thank you for completing the task!</p>
<div style="background-color: lightgray; display: inline-block; align-items: center; padding: 20px; border-radius: 10px">
<p>MTurk submit code:</p>
<h1 class="ui header" id="submit-code"></h1>
<div id="copy-key-button" class="ui blue icon large button"><i class="copy icon"></i></div>
</div>
</div>
<div id="experiment" class="ui top aligned centered relaxed grid">
<div class="row">
<div class="sixteen wide column">
<div id="progress-bar" class="ui small olive progress">
<div class="bar"></div>
<div class="label"></div>
</div>
</div>
</div>
<!-- vv CUSTOM EXPERIMENT MARKUP GOES HERE vv -->
<!-- putting all subtasks here as separate divs, while task code will toggle visibility of each one -->
<div id="show-cross-subtask" class="subtask row"> <!-- one subtask visible at a time -->
<div class="row" id="show-cross">
<div class="img-box">
<img id="img-cross" src="" class="img-main" />
</div>
</div>
</div>
<div id="show-image-subtask" class="subtask row"> <!-- one subtask visible at a time -->
<div class="row" id="show-image">
<div class="img-box">
<img id="img-main" src="" class="img-main" />
</div>
</div>
</div>
<div id="show-digits-subtask" class="subtask row">
<div class="row" id="show-digits">
<div class="img-box">
<img id="img-digits" src="" class="img-main"/>
</div>
</div>
</div>
<div id="remembered-char-subtask" class="subtask">
<div class="img-box ui middle aligned grid img-sized-container">
<div class="eight column wide">
<h3 class="ui header">Please enter the character code you remember looking at last:</h3>
<div class="ui form" id="letters-form">
<div class="field">
<div class="ui large input">
<input id="remembered-char" type="text" size="75" maxlength="3" class="uppercase" >
</div>
</div>
<div class="ui error message"></div>
</div>
</div>
</div>
</div>
<div id="feedback-subtask" class="subtask row">
<div class="img-box ui middle aligned grid img-sized-container">
<div class="eight column wide">
<div id ="feedback-message"></div>
</div>
</div>
</div>
<div id="accuracy-error-message" class="subtask row">
<div class="ui error message">We're sorry, but the rest of the task will not continue at this time. We are looking for high accuracy to proceed with the task. You may try again if you would like.</div>
</div>
<!-- ^^ CUSTOM EXPERIMENT MARKUP GOES HERE ^^ -->
<div id="demo-survey" class ="ui top aligned centered grid"></div>
<div class="middle aligned row">
<div class="eight wide column">
<div id="message-field" class="field">
</div>
</div>
<div class="eight wide column">
<div id="button-row" class="field">
<div id="next-button" class="ui primary right floated button">Next</div>
<!-- NOTE: disabling previous and instructions buttons for the current task for which we're controlling the flow -->
<!--div id="prev-button" class="ui primary right floated button">Prev</div-->
<!--div class="ui button right floated instruction-button">Show instructions</div-->
</div>
</div>
</div>
<div class="top aligned row">
<div class="eight wide column"></div>
<div class="right aligned eight wide column">
<div id="final-task-fields" class="ui form">
<div id="feedback-field" class="field">
<label>
Any comments or feedback?
</label>
<textarea id="feedback-input" rows="2"></textarea>
</div>
<div id="submit-field" class="field">
<div id="submit-button" class="ui green right floated button">Submit</div>
</div>
</div>
</div>
</div>
<div class="row">
<form id="submit-form" name="submit-form">
</form>
</div>
</div>
<div id="disclaimer" class="ui top aligned centered relaxed grid">
<div class="row">
<div id="disclaimer-box" class="center aligned fourteen wide column">
<div class="ui divider"></div>
<p class="disclaimer-text"></p>
</div>
</div>
</div>
</div>
</body>
</html>