This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
112 lines (104 loc) · 4.63 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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script src="bower_components/jquery/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/wavesurfer.js/dist/wavesurfer.min.js"></script>
<script src="bower_components/handlebars/handlebars.min.js"></script>
<script src="bower_components/store-js/store.min.js"></script>
<link href="bower_components/bootstrap-file-dialog/dist/bootstrap.fd.css" rel="stylesheet" type="text/css">
<script src="bower_components/bootstrap-file-dialog/dist/bootstrap.fd.js"></script>
<script src="app.js"></script>
<style>
h3 {
word-wrap: break-word;
}
</style>
</head>
<body>
<div class="section">
<div class="container">
<div class="row">
<div class="col-md-1 text-center" id="loadTrack">
<p><i class="fa fa-4x fa-folder-open fa-fw text-muted"></i></p>
</div>
<div class="col-md-5">
<h3 id="trackName">Load a local audio track or play with demo track</h3>
</div>
</br>
<div class="col-md-6 text-center">
<p class="btn btn-block btn-lg btn-success" id="playPause"><i class="fa fa-fw fa-lg fa-play pull-left" id="playPauseIcon"></i><span id="playPauseText">Play</span></p>
</div>
</div>
</div>
</div>
<div class="section">
<div class="container" id="waveform"></div>
</div>
<div class="section">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1 class="text-left">Cue markers</h1>
</div>
<div class="col-md-6 text-center">
<div class="btn-group btn-group-justified btn-group-lg">
<p class="btn btn-primary" id="addCue"><i class="fa fa-fw fa-plus pull-left"></i>Add cue marker</p>
<!-- <p class="btn btn-primary"><i class="fa fa-download fa-fw pull-left"></i>Export</p> !-->
</div>
</div>
</div>
</div>
</div>
<script id="cueMarkersTemplate" type="text/x-handlebars-template">
<div class="container">
{{#each cueMarkers}}
</br>
<div class="row">
<div class="col-md-6">
<form role="form">
<div class="form-group has-feedback">
<input class="form-control input-lg" id="exampleInputEmail1" placeholder="{{this.text}}" type="text" disabled="disabled">
</div>
</form>
</div>
<!--
<div class="col-md-3">
<div class="btn-group btn-group-justified btn-group-lg">
<p class="btn btn-primary" data-cuemarker="{{this.startAt}}"><i class="fa fa-fw fa-plus"></i></p>
<p class="btn btn-primary" data-cuemarker="{{this.startAt}}"><i class="fa fa-fw fa-minus"></i></p>
</div>
</div>
!-->
<div class="col-md-6 text-center">
<div class="btn-group btn-group-justified btn-group-lg">
<p class="btn btn-success playCue" data-cuemarker="{{this.startAt}}"><i class="fa fa-fw pull-left fa-play"></i>Play</p>
<p class="btn btn-danger removeCue" data-cuemarker="{{this.startAt}}"><i class="fa fa-fw pull-left fa-trash"></i>Delete</p>
</div>
</div>
<!--
<div class="col-md-3">
<form role="form">
<div class="form-group has-feedback">
<input class="form-control input-lg" id="exampleInputEmail1" placeholder="Enter comment..." type="text">
</div>
</form>
</div>
!-->
</div>
{{else}}
<div class="row">
<div class="col-md-12">
<h3>No cue markers in here</h3>
</div>
</div>
{{/each}}
</div>
</script>
<div class="section" id="cueMarkers">
</div>
</body>
</html>