2013-01-25 10:22:47 +01:00
|
|
|
<% 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>
|
2013-01-25 10:22:47 +01:00
|
|
|
</div>
|
|
|
|
<%} %>
|
|
|
|
<div class="questionset hidden">
|
2013-01-08 16:16:19 +01:00
|
|
|
<div class="title"><%= title %></div>
|
2013-01-08 13:04:15 +01:00
|
|
|
<% for (var i=0; i<questions.length; i++) { %>
|
2013-01-09 16:26:52 +01:00
|
|
|
<div class="question-container" id="q-<%= i %>">
|
2013-01-08 16:16:19 +01:00
|
|
|
<div><%= questions[i].machineName %></div>
|
2013-01-08 13:04:15 +01:00
|
|
|
</div>
|
|
|
|
<% } %>
|
2013-01-25 10:22:47 +01:00
|
|
|
<div class="qs-footer">
|
|
|
|
<div class="qs-progress">
|
2013-01-08 13:04:15 +01:00
|
|
|
<% if (progressType == "dots") { %>
|
2013-01-09 16:26:52 +01:00
|
|
|
<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") { %>
|
2013-01-08 16:16:19 +01:00
|
|
|
<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>
|