-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
89 lines (73 loc) · 1.55 KB
/
index.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<html>
<head>
<title>Annotation-powered survey</title>
<link rel="stylesheet" href="https://jonudell.info/hlib/hlib.css" />
<script src="https://jonudell.info/hlib/hlib2.bundle.js"></script>
<script src="questions.js"></script>
<script src="index.js"></script>
<style>
@import url(https://fonts.googleapis.com/css?family=Raleway:500,400,300,800,700);
body {
font-family: Raleway;
word-break: break-word;
margin-top:.25in;
width: 65%;
}
textarea {
width: 60%;
height: 6em;
}
#endRepeatButton {
display: none;
}
#params {
position: fixed;
left: 70%;
right: 20px;
margin-left: 20px;
padding-left: 8px;
padding-right: 8px;
border-width: thin;
border-style: solid;
background-color: #faf9f9d6;
}
#postAnswerButton {
display: none;
}
.asterisk {
font-size: larger;
cursor: pointer;
}
.choice {
line-height: 1.5;
}
.clearSelection {
font-size: smaller;
cursor: pointer;
display: none
}
.question {
display: none
}
.redoButton {
margin-top: 8px;
font-size: x-small;
}
</style>
</head>
<body>
<h1>Annotation-powered survey</h1>
<div id="formContainer">
<div id="userContainer"></div>
<div id="groupContainer"></div>
<div id="tokenContainer"></div>
<div class="tokenReset"><a title="click to reset">reset username and API token</a></div>
</div>
<div id="params"></div>
<div id="questions"></div>
<div class="buttons">
<button onclick="postAnswer()" id="postAnswerButton">post answer</button>
<button onclick="endRepeat()" id="endRepeatButton">next question</button>
</div>
</body>
</html>