-
Notifications
You must be signed in to change notification settings - Fork 0
/
createsurvey.html
37 lines (30 loc) · 1.4 KB
/
createsurvey.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<div id="createsurvey-content" class="page-content">
<article>
<form class="survey-info-form pure-form pure-form-stacked">
<label for="new-survey-title">Survey Title</label>
<input type="text" id="new-survey-title"/>
<label for="adminPwd">Survey Password</label>
<input type="password" name="adminPwd" id="adminPwd" size="30" />
</form>
<form class="pure-form pure-form-stacked">
<div class="questions">
<!-- more questions will be embedded here by addQuestion -->
</div>
<button type="button"
class="pure-button pure-button-success pure-button-small"
data-dropdown="#question-type-dropdown">Add Question</button>
<button type="button"
name="createSurvey"
class="pure-button pure-button-primary pure-button-small">Create Survey</button>
</form>
</article>
<!-- below is the div containing the dropdown menu for question type selection -->
<div id="question-type-dropdown" class="dropdown">
<ul class="dropdown-menu">
<li><a href="javascript:createQuestion('MCSR')">Multiple Choice, Single Response</a></li>
<li><a href="javascript:createQuestion('MCMR')">Multiple Choice, Multiple Response</a></li>
<li><a href="javascript:createQuestion('FR')">Free Response</a></li>
</ul>
</div>
<script type="text/javascript" src="javascript/createsurvey.js"></script>
</div>