annotate index.html @ 1399:5f17d2a88e27

MUSHRA: Checks enabled. MUSHRA & APE: Warning if check not supported. Core: checkMoved and checkPlayed now in interface and available to all interfaces.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Thu, 17 Dec 2015 17:09:40 +0000
parents eacd258d0ecd
children 43801b3d6131
rev   line source
nickjillings@1392 1 <!DOCTYPE html>
nickjillings@1392 2 <html lang="en">
nickjillings@1392 3 <head>
nickjillings@1392 4 <meta charset="utf-8" />
nickjillings@1392 5
nickjillings@1392 6
nickjillings@1392 7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
nickjillings@1392 8 Remove this if you use the .htaccess -->
nickjillings@1392 9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
nickjillings@1392 10
nickjillings@1392 11 <title>Web Audio Evaluation Tool</title>
nickjillings@1392 12 <meta name="description" content="" />
nickjillings@1392 13 <meta name="author" content="" />
nickjillings@1392 14
nickjillings@1392 15 <!-- Load up the default core JS and CSS files-->
nickjillings@1392 16 <link rel='stylesheet' type='text/css' href='core.css'>
nickjillings@1392 17 <!-- Use jQuery hosted from Google CDN -->
nickjillings@1392 18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
nickjillings@1392 19 <script src="jquery-2.1.4.js"></script>
nickjillings@1392 20 <script src='core.js'></script>
nickjillings@1392 21 <script src='loudness.js'></script>
nickjillings@1392 22 <script type="text/javascript">
nickjillings@1392 23 window.onbeforeunload = function() {
nickjillings@1392 24 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
nickjillings@1392 25 };
nickjillings@1398 26
nickjillings@1398 27 var url = 'example_eval/project.xml';
nickjillings@1398 28 // 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 29 if (window.location.search.length != 0)
nickjillings@1398 30 {
nickjillings@1398 31 var search = window.location.search.split('?')[1];
nickjillings@1398 32 // Now split the requests into pairs
nickjillings@1398 33 var searchQueries = search.split('&');
nickjillings@1398 34 for (var i in searchQueries)
nickjillings@1398 35 {
nickjillings@1398 36 // Split each request into
nickjillings@1398 37 searchQueries[i] = searchQueries[i].split('=');
nickjillings@1398 38 if (searchQueries[i][0] == "url")
nickjillings@1398 39 {
nickjillings@1398 40 url = searchQueries[i][1];
nickjillings@1398 41 }
nickjillings@1398 42 }
nickjillings@1398 43 }
nickjillings@1392 44 loadProjectSpec(url);
nickjillings@1392 45 </script>
nickjillings@1392 46 </head>
nickjillings@1392 47
nickjillings@1392 48 <body>
nickjillings@1392 49 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
nickjillings@1392 50 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
nickjillings@1392 51 <div id='topLevelBody'>
nickjillings@1392 52 <p>HTML5 APE Tool</p>
nickjillings@1392 53 </div>
nickjillings@1392 54 </body>
nickjillings@1392 55 </html>