-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
54 lines (46 loc) · 2.2 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>The Tonnetz – One Key, Many Representations</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="index.css">
<!-- <link href="https://fonts.googleapis.com/css?family=Quicksand:400,500" rel="stylesheet"> -->
</head>
<body>
<div class=header>
<div style="background: #b30469"></div>
<div style="background: #822b9b"></div>
<div style="background: #5053cd"></div>
<div style="background: #1f7aff"></div>
<div style="background: #258dab"></div>
<div style="background: #2ba058"></div>
<div style="background: #31b304"></div>
<div style="background: #76a90d"></div>
<div style="background: #e6bd00"></div>
<div style="background: #ff941f"></div>
<div style="background: #e66438"></div>
<div style="background: #cc3450"></div>
</div>
<div id="proto">
<h1 v-cloak>{{ strings.title }}</h1>
<h2 v-cloak>{{ strings.subtitle }}</h2>
<language-selector :languages="Object.keys(allStrings)" v-model="language"></language-selector>
<div v-cloak class="reset" @click="reset(language)">{{ strings.reset }}</div>
<div class="columns">
<div class="col-1" v-cloak>
<tonnetz-view :notes="notes"></tonnetz-view>
</div>
<div class="col-2" v-cloak>
<clock-octave v-bind:notes="notes" v-bind:height="400" v-bind:width="400" v-bind:intervals="1"></clock-octave>
<clock-octave v-bind:notes="notes" v-bind:height="400" v-bind:width="400" v-bind:intervals="7"></clock-octave>
</div>
</div>
<play-recorder @reset-notes="resetNotes"></play-recorder>
<div class="piano-wrap"><piano-keyboard :id="'piano'"></piano-keyboard></div>
</div>
<script src="lib/fallback/fallback.js"></script>
<script src="js/loadDeps.js"></script>
<script src="js/index.js"></script>
</body>
</html>