openct-tasks/examples/module_testing/test-template/index.html

59 lines
2.0 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>test-template</title>
<script>
window.stringsLanguage = 'fr';
</script>
<script class="remove" type="text/javascript" src="../../../_common/modules/pemFioi/importModules-1.1.js" id="import-modules"></script>
<script class="remove" type="text/javascript">
var modulesPath = '../../../_common/modules/';
importModules([
'jquery-1.7.1', 'JSON-js', 'raphael-2.2.1', 'beaver-task-2.0', 'jschannel', 'raphaelFactory-1.0', 'delayFactory-1.0', 'simulationFactory-1.0',
'platform-pr', 'buttonsAndMessages', 'beav-1.0', 'installationAPI.01', 'miniPlatform', 'taskStyles-0.1', 'blockly-template']);
// set Blockly as default language when none is specified through ?language=
importLanguageModules('blockly');
</script>
<script class="remove" type="text/javascript">
var json = {
"id": "test-template",
"language": "fr",
"version": "fr.01",
"authors": "",
"translators": [],
"license": "",
"taskPathPrefix": "",
"modulesPathPrefix": "",
"browserSupport": [],
"acceptedAnswers": [""],
"fullFeedback": true,
"minWidth": "auto"
};
var strings = {
outputCorrect: "Bravo ! La sortie est correcte."
};
</script>
<script type="text/javascript" src="task.js"></script>
</head>
<body onresize="task.displayedSubTask.updateScale()">
<div id="task">
<h1>Exemple d'exercice</h1>
<div id="tabsContainer"></div>
<div id="taskContent">
<div id="taskIntro">
<p>
Insérez des instructions dans le bloc ci-dessous.
</p>
</div>
<div id="gridContainer"></div>
<div id="blocklyLibContent"></div>
</div>
</div><!-- task -->
</body>
</html>