Skip to content

Commit

Permalink
Fix: Test harness html files now load correct resources (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-jensen authored Nov 29, 2023
1 parent 641f0b0 commit 0f6c91e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 50 deletions.
48 changes: 22 additions & 26 deletions required/xapi_adl_test_harness.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,27 @@
configuration for this extension for the ADL method to be utilised
-->

<!--[if IE]><![endif]-->
<!doctype html>
<!--[if IE 7 ]><html id="adapt" class="ie ie7 no-js" lang="en"><![endif]-->
<!--[if IE 8 ]><html id="adapt" class="ie ie8 no-js" lang="en"><![endif]-->
<!--[if IE 9 ]><html id="adapt" class="ie ie9 no-js" lang="en"><![endif]-->
<!--[if gt IE 9]><!--><html id="adapt" class="no-js" lang="en"><!--<![endif]-->
<head>
<script src="libraries/js-cookie.js" type="text/javascript" language="javascript"></script>
<script src="libraries/xapiwrapper.min.js" type="text/javascript" language="javascript"></script>
<script src="offline_xapi_adl_wrapper.js" type="text/javascript" language="javascript"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<link href="adapt/css/adapt.css" type="text/css" rel="stylesheet"/>
<script src="libraries/modernizr.js" type="text/javascript" language="javascript"></script>
<script src="adapt/js/scriptLoader.js" type="text/javascript" language="javascript"></script>
</head>

<body>
<button id="accessibility-toggle" class="base button a11y-ignore-focus" role="button" ></button>
<span id="accessibility-instructions" class="aria-label" role="region" tabindex="0"></span>
<div id="wrapper">
</div>
</body>
<html id="adapt" class="no-js" lang="en" dir="ltr">
<head>
<script type="text/javascript">
window.ADAPT_BUILD_TYPE = '@@build.type';
</script>
<script src="libraries/js-cookie.js"></script>
<script src="libraries/xapiwrapper.min.js"></script>
<script src="offline_xapi_adl_wrapper.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Adapt</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="adapt.css" type="text/css" rel="stylesheet">
<script src="libraries/modernizr.js"></script>
<script src="adapt/js/scriptLoader.js"></script>
</head>
<body>
<div id="app">
<div id="wrapper">
</div>
</div>
</body>
</html>
44 changes: 20 additions & 24 deletions required/xapi_test_harness.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,25 @@
configuration for this extension for the Rustici method to be utilised
-->

<!--[if IE]><![endif]-->
<!doctype html>
<!--[if IE 7 ]><html id="adapt" class="ie ie7 no-js" lang="en"><![endif]-->
<!--[if IE 8 ]><html id="adapt" class="ie ie8 no-js" lang="en"><![endif]-->
<!--[if IE 9 ]><html id="adapt" class="ie ie9 no-js" lang="en"><![endif]-->
<!--[if gt IE 9]><!--><html id="adapt" class="no-js" lang="en"><!--<![endif]-->
<head>
<script src="offline_xapi_adl_wrapper.js" type="text/javascript" language="javascript"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<link href="adapt/css/adapt.css" type="text/css" rel="stylesheet"/>
<script src="libraries/modernizr.js" type="text/javascript" language="javascript"></script>
<script src="adapt/js/scriptLoader.js" type="text/javascript" language="javascript"></script>
</head>

<body>
<button id="accessibility-toggle" class="base button a11y-ignore-focus" role="button" ></button>
<span id="accessibility-instructions" class="aria-label" role="region" tabindex="0"></span>
<div id="wrapper">
</div>
</body>
<html id="adapt" class="no-js" lang="en" dir="ltr">
<head>
<script type="text/javascript">
window.ADAPT_BUILD_TYPE = '@@build.type';
</script>
<script src="offline_xapi_wrapper.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Adapt</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="adapt.css" type="text/css" rel="stylesheet">
<script src="libraries/modernizr.js"></script>
<script src="adapt/js/scriptLoader.js"></script>
</head>
<body>
<div id="app">
<div id="wrapper">
</div>
</div>
</body>
</html>

0 comments on commit 0f6c91e

Please sign in to comment.