forked from allenai/ai2thor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
173 lines (146 loc) · 7.03 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | AI2-THOR</title>
<script>
window.game_build = ".";
window.game_url = "%UNITY_WEBGL_BUILD_URL%";
</script>
<link rel="shortcut icon" href="TemplateData/favicon.ico">
<link rel="stylesheet" href="TemplateData/style.css">
<script src="TemplateData/UnityProgress.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="TemplateData/script.js"></script>
</head>
<body>
<div class="main">
<div class="submit-container">
<p class="instructions-title submit">  Submit</p>
<div class="finish">
<button class="finish-btn" id="finish-hit" disabled="true" >
Finish
</button>
</div>
<div>
<button class="reset-btn" id="reset-hit" disabled="true" >
Reset
</button>
</div>
<div>
</div>
<div>
<p id="message-text" hidden="true"></p>
</div>
<div>
<p class="action-text" id="last-action-text" hidden="true"></p>
</div>
<div class="instructions">
<p class="instructions-title">  Instructions</p>
<div class="instruction-section">
<div class="instruction-line extra-margin">
<p id="instruction-text"></p>
</div>
<div class="instruction-line extra-margin">
<p id="instruction-2"/>
</div>
<div class="instruction-line extra-margin">
<p id="instruction-3"/>
</div>
<div class="instruction-line">
<p id="instruction-4"/>
</div>
<div class="instruction-line">
<p id="instruction-5"/>
</div>
<div class="instruction-line">
<p id="instruction-6"/>
</div>
</div>
</div>
</div>
<div class="webgl-content">
<div id="gameContainer" style="width: 75vmin; height: 75vmin"></div>
<div class="footer">
<div class="webgl-logo"></div>
<!-- <div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> -->
<div class="title">AI2-THOR</div>
</div>
</div>
<div class="instructions" id="instructions-seeker" hidden="true">
<p class="instructions-title">  Controls</p>
<div class="instruction-section">
<div class="instruction-line">
<p><img src="TemplateData/images/WASD.png" class="tutorial-img-large"/></p>
<p>Keys to move.</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/arrowkeys.png" class="tutorial-img-large"/></p>
<p>Left and Right arrows to turn.</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/mouselook.png" class="tutorial-img-large"/></p>
<p style="font-size: 30px"> </p>
<p><img src="TemplateData/images/leftclick.png" class="mouse-img1"/></p>
<p>Move your mouse and <strong>Left Click</strong> on doors and drawers to open or close them. </br></br><strong>Left Click</strong> on the object you have to find.</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/Control.png" class="r-key-img"/></p>
<p>To crouch and stand.</p>
</div>
</div>
</div>
<div class="instructions" id="instructions-hider" hidden="true">
<p class="instructions-title">  Controls</p>
<div class="instruction-section">
<div class="instruction-line">
<p><img src="TemplateData/images/WASD.png" class="tutorial-img-large"/></p>
<p style="margin-left: 5px">Keys to move.</p>
<p><img src="TemplateData/images/arrowkeys.png" class="tutorial-img-large"/></p>
<p><strong>Left</strong> and <strong>Right</strong> arrows to turn.</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/mouselook.png" class="tutorial-img-large"/></p>
<p style="font-size: 30px"> </p>
<p><img src="TemplateData/images/leftclick.png" class="mouse-img1"/></p>
<p>Move your mouse and <strong>Left Click</strong> on doors and drawers to open or close them. </br></br><strong>Left Click</strong> on the object to drop it or pick it up.</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/Control.png" class="r-key-img"/></p>
<p>To crouch and stand.</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/Shift.png" class="r-key-img"/></p>
<p style="font-size: 30px"> + </p>
<p><img src="TemplateData/images/WASD.png" class="tutorial-img-large"/></p>
<p> to move the object up, down, left and right</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/Shift.png" class="r-key-img"/></p>
<p style="font-size: 30px"> + </p>
<p><img src="TemplateData/images/arrowkeys.png" class="tutorial-img-large"/></p>
<p> To move the object forwards, backwards, left and right</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/Shift.png" class="r-key-img"/></p>
<p style="font-size: 30px"> + </p>
<p><img src="TemplateData/images/Space.png" class="r-key-img"/></p>
<p> to drop or pickup the object (object MUST to be visible)</p>
</div>
<div class="instruction-line">
<p><img src="TemplateData/images/Space.png" class="r-key-img"/></p>
<p> Toggle to make the object visible or invisible.</p>
</div>
</div>
</div>
</div>
<div id="turk-form">
<form id="mturk_form" method="POST" action='https://www.mturk.com/mturk/externalSubmit'>
<input type="hidden" id="assignmentId" name="assignmentId"/>
<input type="hidden" id="data" name="data"/>
<!-- <script language='Javascript'>turkSetAssignmentID();</script> -->
</form>
</div>
</body>
</html>