summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/analyse.html2
-rw-r--r--templates/answer.html1
-rw-r--r--templates/create.html3
-rw-r--r--templates/question.html9
-rw-r--r--templates/quiz.html4
5 files changed, 19 insertions, 0 deletions
diff --git a/templates/analyse.html b/templates/analyse.html
index 3220412..6970764 100644
--- a/templates/analyse.html
+++ b/templates/analyse.html
@@ -1,2 +1,4 @@
+<div id="nickbox">{{ nick }}</div>
<div id="alertbox">{{ alert }}</div>
<h1>analyse</h1>
+
diff --git a/templates/answer.html b/templates/answer.html
index 808dde8..3870e6b 100644
--- a/templates/answer.html
+++ b/templates/answer.html
@@ -1,2 +1,3 @@
+<div id="nickbox">{{ nick }}</div>
<div id="alertbox">{{ alert }}</div>
<h1>answer</h1>
diff --git a/templates/create.html b/templates/create.html
index 15af509..0ba8164 100644
--- a/templates/create.html
+++ b/templates/create.html
@@ -1,2 +1,5 @@
+<div id="nickbox">{{ nick }}</div>
<div id="alertbox">{{ alert }}</div>
<h1>create</h1>
+<a href="#question">Lisää kysymys</a>
+</form>
diff --git a/templates/question.html b/templates/question.html
new file mode 100644
index 0000000..90d3abc
--- /dev/null
+++ b/templates/question.html
@@ -0,0 +1,9 @@
+<div id="alertbox">{{ 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ä">
+</form>
diff --git a/templates/quiz.html b/templates/quiz.html
new file mode 100644
index 0000000..4c1871d
--- /dev/null
+++ b/templates/quiz.html
@@ -0,0 +1,4 @@
+<div id="alertbox">{{ alert }}</div>
+<form action="/new_quiz" method="POST">
+<input type="submit" value="Aloita uusi kyselmä">
+</form>