annotate index.html @ 614:ecca9c11d2f2 multiple-tests-concatenation

removed garbage
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 13 Mar 2016 15:33:36 +0000
parents 328f24798462
children
rev   line source
b@75 1 <!DOCTYPE html>
b@75 2 <html lang="en">
b@75 3 <head>
b@75 4 <meta charset="utf-8" />
b@75 5
b@75 6
b@75 7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
b@75 8 Remove this if you use the .htaccess -->
b@75 9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
b@75 10
b@225 11 <title>Web Audio Evaluation Tool</title>
b@75 12 <meta name="description" content="" />
b@75 13 <meta name="author" content="" />
b@75 14
b@75 15 <!-- Load up the default core JS and CSS files-->
n@152 16 <link rel='stylesheet' type='text/css' href='core.css'>
b@75 17 <!-- Use jQuery hosted from Google CDN -->
nicholas@103 18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
nicholas@103 19 <script src="jquery-2.1.4.js"></script>
b@75 20 <script src='core.js'></script>
n@407 21 <script src='loudness.js'></script>
n@447 22 <script src='xmllint.js'></script>
n@482 23 <script src='WAVE.js'></script>
b@75 24 <script type="text/javascript">
nicholas@420 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@420 26 if (window.location.search.length != 0)
nicholas@420 27 {
nicholas@420 28 var search = window.location.search.split('?')[1];
nicholas@420 29 // Now split the requests into pairs
nicholas@420 30 var searchQueries = search.split('&');
nicholas@420 31 for (var i in searchQueries)
nicholas@420 32 {
nicholas@420 33 // Split each request into
nicholas@420 34 searchQueries[i] = searchQueries[i].split('=');
giuliomoro@607 35 var key = searchQueries[i][0];
giuliomoro@607 36 var string = searchQueries[i][1];
giuliomoro@607 37 if (key === "url")
nicholas@420 38 {
giuliomoro@607 39 url = string;
giuliomoro@607 40 }
giuliomoro@607 41 if (key === "returnUrl"){
giuliomoro@607 42 returnUrl = decodeURIComponent(string);
nicholas@420 43 }
nicholas@420 44 }
giuliomoro@607 45 loadProjectSpec(url+"?"+Math.random()); // force resource reload, in case the server is lazy
n@432 46 window.onbeforeunload = function() {
n@432 47 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
n@432 48 };
nicholas@420 49 }
b@75 50 </script>
b@75 51 </head>
b@75 52
b@75 53 <body>
b@75 54 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
b@75 55 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
b@75 56 <div id='topLevelBody'>
giuliomoro@607 57 <span>Loading Web Audio Evaluation Toolbox ...</span>
giuliomoro@607 58 <noscript>Javascript must be enabled in your browsers in order to be able to view this website</noscript>
b@75 59 </div>
n@512 60 <div id="popupHolder" class="popupHolder" style="visibility: hidden; z-index: -1">
n@510 61 <div id="popupContent">
n@513 62 <div id="popupTitleHolder" style="text-align: center">
n@510 63 <span id="popupTitle"></span>
n@510 64 </div>
n@513 65 <div id="popupResponse"></div>
n@510 66 </div>
n@510 67 <button id="popup-proceed" class="popupButton">Next</button>
n@510 68 <button id="popup-previous" class="popupButton">Back</button>
n@510 69 </div>
n@510 70 <div class="testHalt" style="visibility: hidden; z-index: -2"></div>
b@75 71 </body>
b@75 72 </html>