annotate index.html @ 1224:124e6c702845

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