annotate index.html @ 1444:5590afd89544

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