annot-server/webapp/templates/pianoroll.html
changeset 76 029cdbeebf03
parent 49 5c1702e8d2a4
child 79 bd2f2c3f205c
--- a/annot-server/webapp/templates/pianoroll.html	Tue Oct 28 11:33:52 2014 +0100
+++ b/annot-server/webapp/templates/pianoroll.html	Tue Oct 28 09:47:11 2014 +0100
@@ -1,7 +1,7 @@
 <html>
 <head>
     <meta charset="UTF-8">
-    <title>Piano Roll with pixi.js</title>
+    <title>Piano Roll {{event.label}}</title>
     <style>
         body {
             margin: 0;
@@ -16,7 +16,7 @@
     </style>
 </head>
 <body>
-    <h1>OSC websocket Piano Roll Test</h1>
+    <h1>Piano Roll {{event.label}}</h1>
     <noscript>You must enable JavaScript</noscript>
     <div id="canvasContainer"></div>
     <p>
@@ -25,6 +25,9 @@
      </p>
     <pre id="log"></pre>
     <script src="{{ config['STATIC_URL'] }}/js/pixi.js"></script>
+    <script>
+        var event_code = "{{event.code}}";
+    </script>
     <script src="{{ config['STATIC_URL'] }}/js/pianoroll.js"></script>
 </body>
 </html>