annotate index.html @ 749:07c996307cbd

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