-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
119 lines (112 loc) · 5.31 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
113
114
115
116
117
118
119
<!doctype html>
<html lang="en">
<head>
<title>Learn notes fast and easy!</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta property="og:type" content="website">
<meta property="og:title" content="Learn notes fast and easy!">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@hackthepiano">
<meta name="twitter:title" content="Learn notes fast and easy!">
<meta name="keywords" content="notes, piano, playing">
<meta name="description" content="Learn notes fast and easy by connecting your digital piano to computer">
<meta property="og:description" content="Learn notes fast and easy by connecting your digital piano to computer">
<meta name="twitter:description" content="Learn notes fast and easy by connecting your digital piano to computer">
<meta property="og:image" content="https://wojciechmalota.github.io/hackthepiano/img/image.png">
<meta name="twitter:image" content="https://wojciechmalota.github.io/hackthepiano/img/image.png">
<meta name="author" content="Wojciech Małota-Wójcik">
<link rel="stylesheet" href="css/bootstrap-3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-2545926-20', 'auto');
ga('send', 'pageview');
</script>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '250625871981446'); // Insert your pixel ID here.
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=250625871981446&ev=PageView&noscript=1"
/></noscript>
<!-- DO NOT MODIFY -->
<!-- End Facebook Pixel Code -->
</head>
<body>
<div class="staffsContainer">
<div class="staffContainer">
<div class="staff" id="staff1"><div class="lines"></div></div>
</div>
<div class="staffContainer">
<div class="staff" id="staff2"><div class="lines"></div></div>
</div>
</div>
<div class="buttonsContainer">
<div class="btn-group" role="group" aria-label="...">
<a class="btn btn-primary" href="#" role="button" data-toggle="modal" data-target="#results">Your results</a>
<a class="btn btn-info" href="#" role="button" data-toggle="modal" data-target="#help">Help</a>
</div>
<div class="levelsContainer">Select difficulty level: <select id="level"></select></div>
</div>
<div class="shareContainer">
Found the tool useful? Share with others:
<a href="https://www.facebook.com/sharer/sharer.php?u=https%3A//wojciechmalota.github.io/hackthepiano/" target="_blank">Facebook</a>
<a href="https://twitter.com/home?status=https%3A//wojciechmalota.github.io/hackthepiano/" target="_blank">Twitter</a>
</div>
<div id="results" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Your results</h4>
</div>
<div class="modal-body">
<ol>
<li>Accuracy: <span id="accuracy"></span></li>
<li>Average reaction time: <span id="reactionTime"></span></li>
</ol>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="help" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">User manual</h4>
</div>
<div class="modal-body">
<ol>
<li>Connect your digital piano with MIDI interface to computer</li>
<li>Open this website in Chrome or Opera browser</li>
<li>Select difficulty level</li>
<li>Play the note you see</li>
<li>Improve yourself!</li>
</ol>
Have a problem or idea? Mail me: <a href="mailto:wojciech.malota@invini.pl">wojciech.malota@invini.pl</a>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="js/jquery-3.2.1.min.js" type="text/javascript"></script>
<script src="css/bootstrap-3.3.7/js/bootstrap.min.js"></script>
<script src="js/code.js" type="text/javascript"></script>
</body>
</html>