annotate index.html @ 2212:279733b3b67e

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