comparison test.html @ 2269:64bdcd9ad9a4

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