Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
135 lines (80 sloc) 4.5 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>TheFragebogen: developer template</title>
<link rel="stylesheet" type="text/css" href="example.css">
<script src="../src/helper_download.js"></script>
<script src="../src/logger_console.js"></script>
<script src="../src/paginateui.js"></script>
<script src="../src/screen.js"></script>
<script src="../src/screencontroller.js"></script>
<script src="../src/uielement.js"></script>
<script src="../src/paginateui_button.js"></script>
<script src="../src/screen_data_preview.js"></script>
<script src="../src/screen_iframe.js"></script>
<script src="../src/screen_uielements.js"></script>
<script src="../src/screen_wait.js"></script>
<script src="../src/uielement_button.js"></script>
<script src="../src/uielement_html.js"></script>
<script src="../src/uielement_interactive.js"></script>
<script src="../src/questionnaireitem.js"></script>
<script src="../src/screen_uielements_auto.js"></script>
<script src="../src/screen_uielements_sequential.js"></script>
<script src="../src/screen_wait_data.js"></script>
<script src="../src/questionnaireitem_date.js"></script>
<script src="../src/questionnaireitem_defined.js"></script>
<script src="../src/questionnaireitem_media.js"></script>
<script src="../src/questionnaireitem_svg.js"></script>
<script src="../src/questionnaireitem_system.js"></script>
<script src="../src/questionnaireitem_text_area.js"></script>
<script src="../src/questionnaireitem_text.js"></script>
<script src="../src/questionnaireitem_wait_websocket.js"></script>
<script src="../src/questionnaireitem_system_wait.js"></script>
<script src="../src/questionnaireitem_write.js"></script>
<script src="../src/screen_wait_data_download.js"></script>
<script src="../src/screen_wait_data_upload.js"></script>
<script src="../src/questionnaireitem_defined_multi.js"></script>
<script src="../src/questionnaireitem_defined_one.js"></script>
<script src="../src/questionnaireitem_defined_range.js"></script>
<script src="../src/questionnaireitem_defined_selector.js"></script>
<script src="../src/questionnaireitem_media_audio.js"></script>
<script src="../src/questionnaireitem_media_image.js"></script>
<script src="../src/questionnaireitem_media_video.js"></script>
<script src="../src/questionnaireitem_svg_nasatlx.js"></script>
<script src="../src/questionnaireitem_svg_quality7pt.js"></script>
<script src="../src/questionnaireitem_svg_visualanalogue.js"></script>
<script src="../src/questionnaireitem_system_const.js"></script>
<script src="../src/questionnaireitem_system_screen_date_time.js"></script>
<script src="../src/questionnaireitem_system_screen_duration.js"></script>
<script src="../src/questionnaireitem_system_viewport_size.js"></script>
<script src="../src/questionnaireitem_system_focus.js"></script>
<script src="../src/questionnaireitem_system_url.js"></script>
<script>
var screenController = new ScreenController(
new ScreenUIElements(
new UIElementHTML(undefined, "<h1>TheFragebogen: developer template</h1>"),
new UIElementHTML(undefined, "This is a developer template without functionality."),
new UIElementHTML(undefined, "It imports all JavaScript source files directly instead of 'TheFragebogen.js'."),
new UIElementHTML(undefined, "<i>Attention:</i>In this environment the QuestionnaireItemSVG* do not work, as preprocessing is conducted while compiling TheFragebogen.js")
)
);
</script>
<script>
function start() {
document.body.innerHTML += "TheFragebogen loaded.";
if (typeof(screenController) === "undefined") {
document.body.innerHTML += "<br><i>Something went wrong:</i> Please check the configuration.";
return;
}
screenController.init(document.body);
screenController.start();
}
</script>
</head>
<body onload="start()">
<p>
TheFragebogen will be shown here.<br> If something fails while starting, an error message will be shown here.
</p>
</body>
</html>
You can’t perform that action at this time.