summaryrefslogtreecommitdiff
path: root/modules/zelfoverhoor
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2018-02-12 12:35:52 +0100
committerTom Smeding <tom.smeding@gmail.com>2018-02-12 12:47:59 +0100
commit1985d6ea80408f2f9e371ddeb9531501e9693cc5 (patch)
treec74f3c5abbc0966c1f968e9c73f9e89847a41fae /modules/zelfoverhoor
parent8729493b181036c00db4f94777d38a4f2a8558bf (diff)
zelfoverhoor: Vim syntax highlighting, what even are you doing
Diffstat (limited to 'modules/zelfoverhoor')
-rw-r--r--modules/zelfoverhoor/docent.html4
-rw-r--r--modules/zelfoverhoor/qs.html2
-rw-r--r--modules/zelfoverhoor/zelfoverhoor.js4
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/zelfoverhoor/docent.html b/modules/zelfoverhoor/docent.html
index 95a5da7..c3c1d7b 100644
--- a/modules/zelfoverhoor/docent.html
+++ b/modules/zelfoverhoor/docent.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<title>Zelfoverhoor: Docent (<!--###NAME###-->)</title>
+<title>Zelfoverhoor: Docent (<!-- ###NAME### -->)</title>
<link rel="stylesheet" href="/zelfoverhoor/style.css">
<script src="/zelfoverhoor/docent/docent.js"></script>
<style>
@@ -33,7 +33,7 @@ td, th {
</style>
</head>
<body>
-<h1>Zelfoverhoor: Docent (<!--###NAME###-->)</h1>
+<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>
diff --git a/modules/zelfoverhoor/qs.html b/modules/zelfoverhoor/qs.html
index 7191aeb..b395ba8 100644
--- a/modules/zelfoverhoor/qs.html
+++ b/modules/zelfoverhoor/qs.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<title>Zelfoverhoor: <!--###ID###--></title>
+<title>Zelfoverhoor: <!-- ###ID### --></title>
<link rel="stylesheet" href="/zelfoverhoor/style.css">
<script>
// Gefeliciteerd, je hebt de antwoorden gevonden.
diff --git a/modules/zelfoverhoor/zelfoverhoor.js b/modules/zelfoverhoor/zelfoverhoor.js
index ff6b3ec..08431d1 100644
--- a/modules/zelfoverhoor/zelfoverhoor.js
+++ b/modules/zelfoverhoor/zelfoverhoor.js
@@ -123,7 +123,7 @@ module.exports=function(app,io,_moddir){
fs.readFile(moddir+"/qs.html",function(err,data){
if(err)throw err;
res.send(String(data)
- .replace("<!--###ID###-->",req.params.id)
+ .replace("<!-- ###ID### -->",req.params.id)
.replace("/*###QUESTIONSET###*/",JSON.stringify(resset)));
});
});
@@ -146,7 +146,7 @@ module.exports=function(app,io,_moddir){
fs.readFile(moddir+"/docent.html",function(err,data){
if(err)throw err;
res.send(String(data)
- .replace(/<!--###NAME###-->/g,req.authuser));
+ .replace(/<!-- ###NAME### -->/g,req.authuser));
});
});
app.get("/zelfoverhoor/docent/sets",function(req,res){