summaryrefslogtreecommitdiff
path: root/templates/question.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/question.html')
-rw-r--r--templates/question.html22
1 files changed, 15 insertions, 7 deletions
diff --git a/templates/question.html b/templates/question.html
index 90d3abc..6d0dca1 100644
--- a/templates/question.html
+++ b/templates/question.html
@@ -1,9 +1,17 @@
-<div id="alertbox">{{ alert }}</div>
+<div id="kysAlert">{{ alert }}</div>
<form action="/new_question" method="POST">
-Kysymys:<input type="text" name="question" rows="1" cols="120"><br>
-<input type="text" name="neg_ans" rows="1" cols="40"> : valinnat :
-<input type="text" name="pos_ans" rows="1" cols="40"><br>
-<input type="range" min="-1000" max="1000" value="0"
- class="slider" name="answer" class="answerSlider"><br>
-<input type="submit" value="Lähetä">
+<div class="kysQuestion">
+<div class="kysCreateText">Kysymys:</div>
+<div class="kysCreateText"><input type="text" name="question"></div>
+<div class="kysCreateText">Valinnat:</div>
+<div class="kysScale">
+ <div class="kysNegative"><input type="text" name="neg_ans"></div>
+ <div class="kysScaleSpacer"></div>
+ <div class="kysPositive"><input type="text" name="pos_ans"></div>
+</div>
+
+<input type="range" min="0" max="999" value="500"
+ class="kysAnswer" name="answer" >
+<input type="submit" value="Lisää kysymys">
+</div>
</form>