annotate index.html @ 1303:ade3acb0cee3

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