annotate index.html @ 1090:c07b9e2312ba

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