summaryrefslogtreecommitdiff
path: root/modules/zelfoverhoor/docent.html
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-11-22 21:23:14 +0100
committertomsmeding <tom.smeding@gmail.com>2017-11-22 22:23:51 +0100
commit32523cdcd9eaa4ad9363d79ebe82d5de4b852676 (patch)
tree88b27b82007047e6923c608cc44ca38dcd0e125a /modules/zelfoverhoor/docent.html
parent58d635e0c88ea5428072f7901417908f455b93ec (diff)
Add module 'zelfoverhoor'
Beta stage
Diffstat (limited to 'modules/zelfoverhoor/docent.html')
-rw-r--r--modules/zelfoverhoor/docent.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/modules/zelfoverhoor/docent.html b/modules/zelfoverhoor/docent.html
new file mode 100644
index 0000000..224384d
--- /dev/null
+++ b/modules/zelfoverhoor/docent.html
@@ -0,0 +1,57 @@
+<!doctype html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Zelfoverhoor: Docent (<!--###NAME###-->)</title>
+<link rel="stylesheet" href="/zelfoverhoor/style.css">
+<script src="/zelfoverhoor/docent/docent.js"></script>
+<style>
+table {
+ border-collapse: collapse;
+}
+td, th {
+ border: 1px #333 solid;
+ padding: 4px;
+}
+.invisible {
+ display: none;
+}
+#newqsetform {
+ border: 1px #333 solid;
+ padding: 4px;
+}
+.newquestioncontainer {
+ margin-bottom: 10px;
+}
+.newquestioncontainer > span {
+ margin-right: 5px;
+}
+.newquestioncontainer textarea {
+ width: 300px;
+ height: 60px;
+}
+</style>
+</head>
+<body>
+<h1>Zelfoverhoor: Docent (<!--###NAME###-->)</h1>
+<h2>Vragensets</h2>
+<table>
+ <thead><tr><th>ID</th><th>Naam</th><th>Beschrijving</th><th>#vragen</th></tr></thead>
+ <tbody id="qsets"></tbody>
+</table>
+<br>
+<input type="button" id="newqsetvisible" onclick="doNewQSet()" value="Nieuwe vragenset maken">
+<br>
+<div id="newqsetform" class="invisible">
+ <h2>Nieuwe vragenset</h2>
+ <b>Naam</b>:<br><input type="text" id="newqsetname" size="40"><br><br>
+ <b>Beschrijving</b>:<br><textarea id="newqsetdescr" style="width:300px;height:60px"></textarea><br><br>
+ <div id="newquestions"></div>
+ <input type="button" onclick="addNewQuestion()" value="Nog een vraag!"><br>
+ <br>
+ <div style="background-color:#d8d8d8;padding:10px;display:inline-block">
+ <input type="button" onclick="submitQSet()" value="Vragenset klaar">
+ </div>
+</div>
+</body>
+</html>