annotate index.html @ 807:8540d153caec

Merge. Reload will only generate alert if test is loaded.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 18 Dec 2015 18:31:26 +0000
parents a554f64bcba7 43801b3d6131
children 56ee920d5d85
rev   line source
nicholas@763 1 <!DOCTYPE html>
nicholas@763 2 <html lang="en">
nicholas@763 3 <head>
nicholas@763 4 <meta charset="utf-8" />
nicholas@763 5
nicholas@763 6
nicholas@763 7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
nicholas@763 8 Remove this if you use the .htaccess -->
nicholas@763 9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
nicholas@763 10
nicholas@763 11 <title>Web Audio Evaluation Tool</title>
nicholas@763 12 <meta name="description" content="" />
nicholas@763 13 <meta name="author" content="" />
nicholas@763 14
nicholas@763 15 <!-- Load up the default core JS and CSS files-->
nicholas@763 16 <link rel='stylesheet' type='text/css' href='core.css'>
nicholas@763 17 <!-- Use jQuery hosted from Google CDN -->
nicholas@763 18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
nicholas@763 19 <script src="jquery-2.1.4.js"></script>
nicholas@763 20 <script src='core.js'></script>
n@792 21 <script src='loudness.js'></script>
nicholas@763 22 <script type="text/javascript">
nicholas@761 23 // 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 24 if (window.location.search.length != 0)
nicholas@761 25 {
nicholas@761 26 var search = window.location.search.split('?')[1];
nicholas@761 27 // Now split the requests into pairs
nicholas@761 28 var searchQueries = search.split('&');
nicholas@761 29 for (var i in searchQueries)
nicholas@761 30 {
nicholas@761 31 // Split each request into
nicholas@761 32 searchQueries[i] = searchQueries[i].split('=');
nicholas@761 33 if (searchQueries[i][0] == "url")
nicholas@761 34 {
nicholas@761 35 url = searchQueries[i][1];
nicholas@761 36 }
nicholas@761 37 }
n@754 38 loadProjectSpec(url);
n@807 39 window.onbeforeunload = function() {
n@807 40 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
n@807 41 };
nicholas@761 42 }
nicholas@763 43 </script>
nicholas@763 44 </head>
nicholas@763 45
nicholas@763 46 <body>
nicholas@763 47 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
nicholas@763 48 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
nicholas@763 49 <div id='topLevelBody'>
BrechtDeMan@753 50 <h1>Web Audio Evaluation Tool</h1>
BrechtDeMan@753 51 <h2>Start menu </h2>
BrechtDeMan@753 52 <ul>
BrechtDeMan@753 53 <li><a href="index.html?url=example_eval/project.xml" target="_blank">APE interface test example</a></li>
BrechtDeMan@753 54 <li><a href="index.html?url=example_eval/mushra_example.xml" target="_blank">MUSHRA interface test example</a></li>
BrechtDeMan@753 55 <li><a href="test_create/test_create.html" target="_blank">Test creator</a></li>
BrechtDeMan@753 56 <li><a href="analyse.html" target="_blank">Analysis and diagnostics of results</a></li>
BrechtDeMan@753 57 </ul>
BrechtDeMan@753 58
BrechtDeMan@753 59 <br>
BrechtDeMan@753 60
BrechtDeMan@753 61 <ul>
BrechtDeMan@753 62 <li><a href="LICENSE.txt" target="_blank">License</a></li>
BrechtDeMan@753 63 <li><a href="CITING.txt" target="_blank">Citing</a></li>
BrechtDeMan@753 64 <li><a href="docs/Instructions/Instructions.pdf" target="_blank">Instructions</a></li>
BrechtDeMan@753 65 </ul>
BrechtDeMan@753 66
BrechtDeMan@753 67
nicholas@763 68 </div>
nicholas@763 69 </body>
nicholas@763 70 </html>