annotate index.html @ 1105:d2afd2ee8684

Added score_parse.php separators for CSV
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 23 Feb 2016 17:11:28 +0000
parents
children a4ad9e55b5b8
rev   line source
n@1105 1 <!DOCTYPE html>
n@1105 2 <html lang="en">
n@1105 3 <head>
n@1105 4 <meta charset="utf-8" />
n@1105 5
n@1105 6
n@1105 7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
n@1105 8 Remove this if you use the .htaccess -->
n@1105 9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
n@1105 10
n@1105 11 <title>Web Audio Evaluation Tool</title>
n@1105 12 <meta name="description" content="" />
n@1105 13 <meta name="author" content="" />
n@1105 14
n@1105 15 <!-- Load up the default core JS and CSS files-->
n@1105 16 <link rel='stylesheet' type='text/css' href='core.css'>
n@1105 17 <!-- Use jQuery hosted from Google CDN -->
n@1105 18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
n@1105 19 <script src="jquery-2.1.4.js"></script>
n@1105 20 <script src='core.js'></script>
n@1105 21 <script src='loudness.js'></script>
n@1105 22 <script src='xmllint.js'></script>
n@1105 23 <script src='WAVE.js'></script>
n@1105 24 <script type="text/javascript">
n@1105 25 // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly
n@1105 26 if (window.location.search.length != 0)
n@1105 27 {
n@1105 28 var search = window.location.search.split('?')[1];
n@1105 29 // Now split the requests into pairs
n@1105 30 var searchQueries = search.split('&');
n@1105 31 for (var i in searchQueries)
n@1105 32 {
n@1105 33 // Split each request into
n@1105 34 searchQueries[i] = searchQueries[i].split('=');
n@1105 35 if (searchQueries[i][0] == "url")
n@1105 36 {
n@1105 37 url = searchQueries[i][1];
n@1105 38 }
n@1105 39 }
n@1105 40 loadProjectSpec(url);
n@1105 41 window.onbeforeunload = function() {
n@1105 42 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
n@1105 43 };
n@1105 44 }
n@1105 45 </script>
n@1105 46 </head>
n@1105 47
n@1105 48 <body>
n@1105 49 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
n@1105 50 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
n@1105 51 <div id='topLevelBody'>
n@1105 52 <span>Web Audio Evaluation Toolbox</span>
n@1105 53 </div>
n@1105 54 <div id="popupHolder" class="popupHolder" style="visibility: hidden; z-index: -1">
n@1105 55 <div id="popupContent">
n@1105 56 <div id="popupTitleHolder" style="text-align: center">
n@1105 57 <span id="popupTitle"></span>
n@1105 58 </div>
n@1105 59 <div id="popupResponse"></div>
n@1105 60 </div>
n@1105 61 <button id="popup-proceed" class="popupButton">Next</button>
n@1105 62 <button id="popup-previous" class="popupButton">Back</button>
n@1105 63 </div>
n@1105 64 <div class="testHalt" style="visibility: hidden; z-index: -2"></div>
n@1105 65 </body>
n@1105 66 </html>