Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Test harness html files now load correct resources (fixes #122) #123

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading