annotate index.html @ 1284:6c819878ac85

Major updates. Specification Nodes now own file (specification.js). Updating Analysis to allow filtering based on survey responses.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 31 Mar 2016 13:31:42 +0100
parents a4ad9e55b5b8
children 760719986df3
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>-->
n@1284 19 <script type="text/javascript" src="jquery-2.1.4.js"></script>
n@1284 20 <script type="text/javascript" src='specification.js'></script>
n@1284 21 <script type="text/javascript" src='core.js'></script>
n@1284 22 <script type="text/javascript" src='loudness.js'></script>
n@1284 23 <script type="text/javascript" src='xmllint.js'></script>
n@1284 24 <script type="text/javascript" src='WAVE.js'></script>
BrechtDeMan@938 25 <script type="text/javascript">
nicholas@761 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
nicholas@761 27 if (window.location.search.length != 0)
nicholas@761 28 {
nicholas@761 29 var search = window.location.search.split('?')[1];
nicholas@761 30 // Now split the requests into pairs
nicholas@761 31 var searchQueries = search.split('&');
nicholas@761 32 for (var i in searchQueries)
nicholas@761 33 {
nicholas@761 34 // Split each request into
nicholas@761 35 searchQueries[i] = searchQueries[i].split('=');
nicholas@761 36 if (searchQueries[i][0] == "url")
nicholas@761 37 {
nicholas@761 38 url = searchQueries[i][1];
nicholas@761 39 }
nicholas@761 40 }
n@754 41 loadProjectSpec(url);
n@807 42 window.onbeforeunload = function() {
n@807 43 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
n@807 44 };
nicholas@761 45 }
BrechtDeMan@938 46 </script>
BrechtDeMan@938 47 </head>
BrechtDeMan@938 48
BrechtDeMan@938 49 <body>
BrechtDeMan@938 50 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
BrechtDeMan@938 51 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
BrechtDeMan@938 52 <div id='topLevelBody'>
n@1181 53 <span>Web Audio Evaluation Toolbox</span>
BrechtDeMan@938 54 </div>
n@1181 55 <div id="popupHolder" class="popupHolder" style="visibility: hidden; z-index: -1">
n@1179 56 <div id="popupContent">
n@1182 57 <div id="popupTitleHolder" style="text-align: center">
n@1179 58 <span id="popupTitle"></span>
n@1179 59 </div>
n@1182 60 <div id="popupResponse"></div>
n@1179 61 </div>
n@1179 62 <button id="popup-proceed" class="popupButton">Next</button>
n@1179 63 <button id="popup-previous" class="popupButton">Back</button>
n@1179 64 </div>
n@1179 65 <div class="testHalt" style="visibility: hidden; z-index: -2"></div>
BrechtDeMan@938 66 </body>
BrechtDeMan@938 67 </html>