summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/templates/page-exams.html
diff options
context:
space:
mode:
authorChristian Klinger2016-06-15 14:37:11 +0200
committerChristian Klinger2016-06-15 14:37:11 +0200
commit8ee4f89825de178b301fa909532c7111e1dbb3ec (patch)
tree2205b177e6a045f7fa957afc4e913507faed33b7 /modules-available/exams/templates/page-exams.html
parentFirst version of a visualization. (diff)
downloadslx-admin-8ee4f89825de178b301fa909532c7111e1dbb3ec.tar.gz
slx-admin-8ee4f89825de178b301fa909532c7111e1dbb3ec.tar.xz
slx-admin-8ee4f89825de178b301fa909532c7111e1dbb3ec.zip
Multiple locations per exam.
Diffstat (limited to 'modules-available/exams/templates/page-exams.html')
-rw-r--r--modules-available/exams/templates/page-exams.html20
1 files changed, 2 insertions, 18 deletions
diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html
index 8758b408..95c73d34 100644
--- a/modules-available/exams/templates/page-exams.html
+++ b/modules-available/exams/templates/page-exams.html
@@ -12,9 +12,7 @@
{{#exams}}
<tr>
<td>{{examid}}</td>
- <td>
- <a href="?do=baseconfig&module=locations&locationid={{locationid}}"> {{locationname}} </a>
- </td>
+ <td> {{locationnames}} </td>
<td>{{starttime}}</td>
<td>{{endtime}}</td>
<td>
@@ -38,11 +36,7 @@
function customOrder(a, b) {
- console.log("a is ");
- console.log(a);
- console.log("b is ");
- console.log(b);
- return 1000;
+ return 1000; // just in order of appeareance
}
document.addEventListener("DOMContentLoaded", function () {
@@ -53,16 +47,6 @@ document.addEventListener("DOMContentLoaded", function () {
console.log(items_plain);
var groups = new vis.DataSet(groups_plain);
var items = new vis.DataSet(items_plain);
- // var groups = new vis.DataSet([
- // { id: 1, content:'RZ -101' },
- // { id: 2, content:'RZ -104' }
- // ]);
- // var items = new vis.DataSet([
- // { id: 1, group: 1, content: 'Bio 1', start: '2016-06-15 10:30', end : '2016-06-15 14:45'},
- // { id: 2, group: 1, content: 'Bio 2', start: '2016-06-15 10:45', end : '2016-06-15 15:00'},
- // { id: 3, group: 2, content: 'Englisch', start: '2016-06-15 16:00', end : '2016-06-15 17:15'},
- // { id: 4, group: 1, content: 'BACKGROUND', start: '2016-06-15-11:00', end: '2016-06-15 18:00', type: 'background'}
- // ]);
var options = {
'start' : '{{{vis_begin}}}',