forked from CrowdCurio/audio-annotator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (60 loc) · 2.82 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
<!DOCTYPE html>
<html>
<head>
<title>Audio Annotator</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/css/materialize.min.css">
<link rel="stylesheet" type="text/css" href="/static/css/audio-annotator.css">
<script type="text/javascript" src="/static/js/lib/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="/static/js/lib/materialize.min.js"></script>
<script type="text/javascript" src="/static/js/lib/wavesurfer.min.js"></script>
<script type="text/javascript" src="/static/js/lib/wavesurfer.spectrogram.min.js"></script>
<script type="text/javascript" src="/static/js/colormap/colormap.min.js"></script>
<script type="text/javascript" src="/static/js/src/message.js"></script>
<script type="text/javascript" src="/static/js/src/wavesurfer.regions.js"></script>
<script type="text/javascript" src="/static/js/src/wavesurfer.drawer.extended.js"></script>
<script type="text/javascript" src="/static/js/src/wavesurfer.labels.js"></script>
<script type="text/javascript" src="/static/js/src/hidden_image.js"></script>
<script type="text/javascript" src="/static/js/src/components.js"></script>
<script type="text/javascript" src="/static/js/src/annotation_stages.js"></script>
<script type="text/javascript" src="/static/js/src/main.js" defer></script>
</head>
<body>
<div class="row header">
<div class="col s12">
<div class="divider"></div>
</div>
<div class="col s6">
</div>
<div class="col s6 ">
<div class="right" style="padding-top: 10px;">
<a class="waves-effect waves-light modal-trigger right btn" id="trigger" href="#instructions-modal">Instructions</a>
</div>
</div>
</div>
<!-- Modal Structure -->
<div id="instructions-modal" class="modal" style="max-height: 100% !important;">
<div class="modal-footer">
<a href="#!" class=" modal-action modal-close waves-effect waves-red btn-flat">Close</a>
</div>
<div class="modal-content">
<div id="instructions-container"></div>
<div class="videowrapper">
<iframe id="tutorial-video" width="100%" height="100%" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="annotation">
<div class="labels"></div>
<div class="audio_visual"></div>
<div class="play_bar"></div>
<div class="hidden_img"></div>
<div class="creation_stage_container"></div>
<div class="submit_container"></div>
</div>
<script>
var dataUrl = '/static/json/sample_data.json';
var postUrl = '/<post_url>'; // This is where data posts to
</script>
</body>
</html>