-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsurvey_creator_index.html
121 lines (69 loc) · 3.59 KB
/
survey_creator_index.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!doctype html>
<html lang="de">
<head>
<meta name="viewport" content="width=device-width"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>SurveyJS survey creator and form builder</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
<!-- Begin: Scripts & Links -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.0/knockout-min.js"></script>
<script src="https://surveyjs.azureedge.net/1.7.12/survey.ko.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.10/ace.min.js" type="text/javascript" charset="utf-8"></script>
<link href="https://surveyjs.azureedge.net/1.7.12/survey-creator.css" type="text/css" rel="stylesheet" />
<script src="https://surveyjs.azureedge.net/1.7.12/survey-creator.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<!-- Menu Design -->
<script src="https://unpkg.com/jquery"></script>
<script src="https://surveyjs.azureedge.net/1.7.23/survey.jquery.js"></script>
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons"/>
<link rel="stylesheet" href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css" integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous"/>
<script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js" integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script>
<script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js" integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous"></script>
<script>
$(document).ready(function () {
$('body').bootstrapMaterialDesign();
});
</script>
<!-- End: scripts & Links -->
</head>
<body>
<!-- Begin: Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark">
<a class="text-white" style="font-size: 20px; line-height: 30px;" href="#">
<div class="collapse navbar-collapse" id="navbarSupportedContent">BETA: SurveyCreator </a>
</div>
<ul class="form-inline my-2 my-lg-0">
<li class="nav-item inactive">
<a class="nav-link text-light" href="index.html" style="font-size:14px;">Zurück zur Startseite</a>
</li>
</ul>
</nav>
<!-- End: Navbar -->
<!-- Begin: surveyContainer -->
<div id="surveyContainer">
<!-- Begin: creatorElement -->
<div id="creatorElement"></div>
<!-- End: creatorElement -->
</div>
<!-- End: surveyContainer -->
<script>
//set function on save callback
//surveyCreator.saveSurveyFunc = saveMySurvey;
// Step 5. Save and load surveys. Save survey.
//function saveMySurvey(){
//var yourNewSurveyJSON = surveyCreator.text;
//send updated json in your storage
//Set Survey JSON directly
//surveyCreator.text = yourSurveyJSON;
//Load Survey from SurveyJS Service
//surveyCreator.loadSurvey(yourSurveyId);
//}
</script>
<!-- Begin: OwnJS -->
<script type="text/javascript" src="js/scriptSurveyCreator.js"></script>
<script type="text/javascript" src="./index.js"></script>
<!-- End: OwnJS -->
</body>
</html>