comparison index.html @ 444:9c9fd68693b1

Merge. Pull of revision info from dev_main.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 23 Dec 2015 14:36:00 +0000
parents cb2132a83247
children 9d73d9f6b03e
comparison
equal deleted inserted replaced
442:1081368deed7 444:9c9fd68693b1
16 <link rel='stylesheet' type='text/css' href='core.css'> 16 <link rel='stylesheet' type='text/css' href='core.css'>
17 <!-- Use jQuery hosted from Google CDN --> 17 <!-- Use jQuery hosted from Google CDN -->
18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>--> 18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
19 <script src="jquery-2.1.4.js"></script> 19 <script src="jquery-2.1.4.js"></script>
20 <script src='core.js'></script> 20 <script src='core.js'></script>
21 <script src='loudness.js'></script>
21 <script type="text/javascript"> 22 <script type="text/javascript">
22 window.onbeforeunload = function() { 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
23 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; 24 if (window.location.search.length != 0)
24 }; 25 {
26 var search = window.location.search.split('?')[1];
27 // Now split the requests into pairs
28 var searchQueries = search.split('&');
29 for (var i in searchQueries)
30 {
31 // Split each request into
32 searchQueries[i] = searchQueries[i].split('=');
33 if (searchQueries[i][0] == "url")
34 {
35 url = searchQueries[i][1];
36 }
37 }
38 loadProjectSpec(url);
39 window.onbeforeunload = function() {
40 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
41 };
42 }
25 </script> 43 </script>
26 <!-- Uncomment the following script for automatic loading of projects -->
27 <script>
28 //url = '/pseudo.xml'; //Project XML document location
29 url = 'example_eval/project.xml';
30 loadProjectSpec(url);
31 </script>
32
33 </head> 44 </head>
34 45
35 <body> 46 <body>
36 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded--> 47 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
37 <!-- Actual test interface design should be contained in the .js for ease of dynamic content--> 48 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
38 <div id='topLevelBody'> 49 <div id='topLevelBody'>
39 <p>HTML5 APE Tool</p> 50 <h1>Web Audio Evaluation Tool</h1>
51 <h2>Start menu </h2>
52 <ul>
53 <li><a href="index.html?url=example_eval/project.xml" target="_blank">APE interface test example</a></li>
54 <li><a href="index.html?url=example_eval/mushra_example.xml" target="_blank">MUSHRA interface test example</a></li>
55 <li><a href="test_create/test_create.html" target="_blank">Test creator</a></li>
56 <li><a href="analyse.html" target="_blank">Analysis and diagnostics of results</a></li>
57 </ul>
58
59 <br>
60
61 <ul>
62 <li><a href="LICENSE.txt" target="_blank">License</a></li>
63 <li><a href="CITING.txt" target="_blank">Citing</a></li>
64 <li><a href="docs/Instructions/Instructions.pdf" target="_blank">Instructions</a></li>
65 </ul>
66
67
40 </div> 68 </div>
41 </body> 69 </body>
42 </html> 70 </html>