forked from teleyinex/pybossa-the-face-we-make
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tutorial.html
118 lines (112 loc) · 4.94 KB
/
tutorial.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
<style>
#example button {
width: 72px;
}
#example2 button {
width: 72px;
}
table, td {
text-transform: capitalize;
font-size: 18px;
vertical-align: middle !important;
}
td> i {
font-size: 48px;
}
</style>
<div class="row">
<div class="span12">
<div id="modal" class="modal hide fade">
<div class="modal-header">
<h3>The Face We Make tutorial</h3>
</div>
<div id="0" class="modal-body" style="display:none">
<p><strong>Hi!</strong> This is a <strong>research application</strong> that wants to understand how good are humans identifying feelings using emoticons.
</p>
</div>
<div id="1" class="modal-body" style="display:none">
<p>The application is really simple. It loads a photo from <a href="http://flickr.com/photos/thefacewemake">The Face We Make's photostream</a> and asks you this question: <strong>What emoticon is he/she representing?</strong></p>
<img src="http://farm7.staticflickr.com/6109/6286728068_2f3c6912b8_q.jpg" class="pull-right img-circle"/>
<p>You will have to choose between the following possible answers:</p>
<p id="example">
<button class="btn btn-large">:-P</button>
<button class="btn btn-large">:-*</button>
<button class="btn btn-large">:~(</button>
<button class="btn btn-large">:-(</button>
<button class="btn btn-large">;-)</button>
</p>
<p id="example2">
<button class="btn btn-large">:-O</button>
<button class="btn btn-large">:-|</button>
<button class="btn btn-large">:-@</button>
<button class="btn btn-large">:-D</button>
<button class="btn btn-large">:-)</button>
</p>
<p>Click in the emoticon that you think the person is representing and a new task will be loaded for you. That's all!</p>
</div>
<div id="2" class="modal-body" style="display:none">
<p>We will show you 10 photos, and if you do all of them in a row we will show you a summary about which ones you have answered correctly. Something like this:</p>
<table class="table table-condensed">
<thead>
<tr>
<th>Emoticons</th>
<th></th>
<th>Correct Answer</th>
<th>Your answer</th>
</tr>
</thead>
<tbody>
<tr class="success">
<td><img class="img-polaroid" src="http://farm7.staticflickr.com/6109/6286728068_2f3c6912b8_q.jpg" style="height:50px"></td>
<td><i class="icon-thumbs-up"></i></td>
<td>Grin :-D</td>
<td>Grin :-D</td>
</tr>
<tr class="error">
<td><img class="img-polaroid" src="http://farm7.staticflickr.com/6109/6286728068_2f3c6912b8_q.jpg" style="height:50px"></td>
<td><i class="icon-thumbs-down"></i></th>
<td>Grin :-D</td>
<td>Smile :-)</td>
</tr>
<tr class="info">
<td><img class="img-polaroid" src="http://farm7.staticflickr.com/6109/6286728068_2f3c6912b8_q.jpg" style="height:50px"></td>
<td><i class="icon-question-sign"></i></td>
<td>Grin :-D</td>
<td>I don't know</td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer">
<a id="prevBtn" href="#" onclick="showStep('prev')" class="btn">Previous</a>
<a id="nextBtn" href="#" onclick="showStep('next')" class="btn btn-success">Next</a>
<a id="startContrib" href="../thefacewemake/newtask" class="btn btn-primary" style="display:none"><i class="icon-thumbs-up"></i> Start collaborating!</a>
</div>
</div>
</div>
</div>
<script>
var step = -1;
function showStep(action) {
$("#" + step).hide();
if (action == 'next') {
step = step + 1;
}
if (action == 'prev') {
step = step - 1;
}
if (step == 0) {
$("#prevBtn").hide();
}
else {
$("#prevBtn").show();
}
if (step == 2 ) {
$("#nextBtn").hide();
$("#startContrib").show();
}
$("#" + step).show();
}
showStep('next');
$("#modal").modal('show');
</script>