-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtutorial_bootstrap2.html
59 lines (57 loc) · 2.54 KB
/
tutorial_bootstrap2.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
<div class="row">
<div class="span12">
<div id="modal" class="modal hide fade">
<div class="modal-header">
<h3>Vimeo Vindeo tutorial</h3>
</div>
<div id="0" class="modal-body" style="display:none">
<p><strong>Hi!</strong> This is a <strong>demo application</strong> that shows how you can do analysis on videos using the PyBossa framework in Crowdcrafting.org.
</p>
</div>
<div id="1" class="modal-body" style="display:none">
<p>The application is really simple. It loads a video from <a href="http://vimeo.com">Vimeo</a> and asks you this question: <strong>Is this video showing a scientific experiment?</strong></p>
<iframe src="http://player.vimeo.com/video/67513950?color=c9ff23" width="300" height="226" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> <p><a href="http://vimeo.com/67513950">p0 4 1Hz SS3 1</a> from <a href="http://vimeo.com/user2180017">Rose Swan</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>You will have 3 possible answers:
<ul>
<li>Yes,</li>
<li>No, and</li>
<li>I don't know</li>
</ul>
</p>
<p>
</p>
<p>All you have to do is to click in one of the three possible answers and you will be done. This demo application could be adapted for more complex video recognition problems.</p>
</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="../vimeo/newtask" class="btn btn-primary" style="display:none"><i class="icon-thumbs-up"></i> Try the demo!</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 == 1 ) {
$("#nextBtn").hide();
$("#startContrib").show();
}
$("#" + step).show();
}
showStep('next');
$("#modal").modal('show');
</script>