-
Notifications
You must be signed in to change notification settings - Fork 408
/
Copy pathtestcafe_localized_ui.html
39 lines (35 loc) · 1.77 KB
/
testcafe_localized_ui.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="../node_modules/survey-core/survey-core.css" />
<link rel="stylesheet" type="text/css" href="../node_modules/survey-creator-core/survey-creator-core.css" />
<!-- <link rel="stylesheet" type="text/css" href="../build/survey-creator-js.min.css" /> -->
<script src="../node_modules/survey-core/survey.core.js"></script>
<script src="../node_modules/survey-core/survey.i18n.js"></script>
<script src="../node_modules/survey-core/themes/index.js"></script>
<script src="../node_modules/survey-creator-core/survey-creator-core.js"></script>
<script src="../node_modules/survey-creator-core/survey-creator-core.i18n.js"></script>
<script src="../node_modules/survey-js-ui/survey-js-ui.js"></script>
<script src="../build/survey-creator-js.js"></script>
<script src="./sc.js"></script>
</head>
<body spellcheck="false">
<div id="survey-creator" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0;"></div>
</body>
<script>
window.surveyJSFramework = "react";
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
const loc = SurveyCreatorCore.localization.getLocale("de");
loc.ed.logic = "Miner Logik";
SurveyCreatorCore.localization.currentLocale = "de";
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", showLogicTab: true, showTranslationTab: true });
creator.tabResponsivenessMode = "menu";
creator["animationEnabled"] = false;
creator.showOneCategoryInPropertyGrid = false;
window.creator = creator;
creator.allowZoom = false;
SurveyCreator.renderSurveyCreator(creator, document.getElementById("survey-creator"));
</script>
</html>