annotate index.html @ 1940:fffc644a018d

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