summaryrefslogtreecommitdiff
path: root/modules/zelfoverhoor/docent.html
blob: 501d0075b05e0cbfae07fde5d959b3706407b11d (plain)
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
<!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: 5px;
}
.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 id="formheader">Nieuwe vragenset</h2>
	<p><i>Let op: vergeet niet om op "Vragenset klaar" te klikken als je klaar bent!</i></p>
	<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">
		<input type="button" onclick="doMaybeCloseForm()" value="Annuleren" style="color:red;margin-left:20px">
	</div>
</div>
</body>
</html>