diff --git a/gemeinsamforschen/src/main/webapp/pages/view_student_criteriachoice.html b/gemeinsamforschen/src/main/webapp/pages/view_student_criteriachoice.html new file mode 100644 index 0000000000000000000000000000000000000000..0c276dfc7051a77310112f35529ffcaddf6a963f --- /dev/null +++ b/gemeinsamforschen/src/main/webapp/pages/view_student_criteriachoice.html @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html> +<meta http-equiv="content-type" content="text/html; charset=utf-8"> +<head> + <title>View survey results of other people in read-only/display mode, jQuery Survey Library Example</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <script src="https://unpkg.com/jquery"></script> + <script src="https://surveyjs.azureedge.net/1.0.29/survey.jquery.js"></script> + <link href="https://surveyjs.azureedge.net/1.0.29/survey.css" type="text/css" rel="stylesheet"/> + <link rel="stylesheet" href="./index.css"> + +</head> +<br> +<h2>Auswahl der Kriterien für Studenten</h2> + + +<div id="surveyElement"></div> +<div id="surveyResult"></div> + + + +<script type="text/javascript" > + Survey + .StylesManager + .applyTheme("default"); + + var json = { + pages: [ + { + questions: [ + { + type: "matrix", + name: "Quality", + title: "Bitte markiere wie stark die einzelnen Punkte auf Dich zutreffen", + columns: [ + { + value: 1, + text: 1 + }, { + value: 2, + text: 2 + }, { + value: 3, + text: 3 + }, { + value: 4, + text: 4 + }, { + value: 5, + text: 5 + }, + + ], + rows: [ + { + value: "affordable", + text: "Ich kann mich selbst so organisieren, dass ich alle Deadlines einhalten kann" + }, { + value: "does what it claims", + text: "Kurz nach der Vorlesung kann ich mich an den Kernstoff erinnern" + }, { + value: "better then others", + text: "Ich kann die meisten Schlüsselkompetenzen verstehen die meinen Kurs betreffen" + }, { + value: "easy to use", + text: "Ich kann mich gut selbst organisieren" + } + ] + }, { + type: "rating", + name: "satisfaction", + title: "Wie zufrieden sind Sie mit Ihrer eigenen Arbeit", + mininumRateDescription: "Nicht zufrieden", + maximumRateDescription: "Komplett zufrieden" + }, + ] + }, + ] + }; + + window.survey = new Survey.Model(json); + + survey + .onComplete + .add(function (result) { + document + .querySelector('#surveyResult') + //.innerHTML = "result: " + JSON.stringify(result.data); + }); + + $("#surveyElement").Survey({model: survey}); + + + + + +</script> + +</body> +</html>