From c57e0d5921e225978773775d5be2e7a3389df43b Mon Sep 17 00:00:00 2001 From: Frank Ronny Larsen Date: Wed, 9 Jan 2013 16:26:52 +0100 Subject: [PATCH] Better dots for progress, still not perfect.. --- js/questionset.js | 57 +++++++++++++++++++++++++++++++++++++------ schema.json | 7 +++++- views/questionset.ejs | 30 ++++++++++++++++++++--- 3 files changed, 81 insertions(+), 13 deletions(-) diff --git a/js/questionset.js b/js/questionset.js index e354141..9a482de 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -14,19 +14,41 @@ H5P.QuestionSet = function (options) { return new H5P.QuestionSet(options); var texttemplate = '' + +'' + '
' + '
<%= title %>
' + ' <% for (var i=0; i' + -'
' + +'
' + '
<%= questions[i].machineName %>
' + '
' + ' <% } %>' + '