h5p-question-set/views/questionset.ejs

32 lines
1.1 KiB
Plaintext
Raw Normal View History

<% if (introPage.showIntroPage) { %>
<div class="intro-page">
<div class="title"><%= introPage.title %></div>
<div class="introduction"><%= introPage.introduction %></div>
2013-01-30 19:55:33 +01:00
<div class="buttons"><a id="qs-startbutton" class="button"><%= introPage.startButtonText %></a></div>
</div>
<%} %>
<div class="questionset hidden">
<div class="title"><%= title %></div>
2013-01-08 13:04:15 +01:00
<% for (var i=0; i<questions.length; i++) { %>
<div class="question-container" id="q-<%= i %>">
<div><%= questions[i].machineName %></div>
2013-01-08 13:04:15 +01:00
</div>
<% } %>
<div class="qs-footer">
<div class="qs-progress">
2013-01-08 13:04:15 +01:00
<% if (progressType == "dots") { %>
<div class="dots-container">
<% for (var i=0; i<questions.length; i++) { %>
<span class="progress-dot unanswered" id="qdot-<%= i %>"></span>
<%} %>
</div>
2013-01-08 13:04:15 +01:00
<% } else if (progressType == "textual") { %>
<span class="progress-text"></span>
2013-01-08 13:04:15 +01:00
<% } %>
</div>
2013-01-30 19:55:33 +01:00
<a class="prev button"><%= texts.prevButton %></a>
<a class="next button"><%= texts.nextButton %></a>
<a class="finish button"><%= texts.finishButton %></a>
2013-01-08 13:04:15 +01:00
</div>
</div>