From d2de3ae10b6f5314bd4b8243218212d2004f35b0 Mon Sep 17 00:00:00 2001 From: Jani Peter Karhunen Date: Sat, 25 Nov 2023 03:32:29 +0200 Subject: MEGA Commit. Rework of routing. Visuals. Answer analysis and much more. --- templates/analyse.html | 75 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 3 deletions(-) (limited to 'templates/analyse.html') diff --git a/templates/analyse.html b/templates/analyse.html index 6970764..70fb98e 100644 --- a/templates/analyse.html +++ b/templates/analyse.html @@ -1,4 +1,73 @@ -
{{ nick }}
-
{{ alert }}
-

analyse

+{% include 'base.html' %} + +{% if users %} + +Tutkit kyselyä: {{ code }} + + +
+
+ + + +
+
+
+ +{% endif %} + +{% if code %} + +
+
+
{{ avg }}%
+
+{% for q in questions %} +
+
{{ q.q }} ({{ q.c }}%)
+ + +
+
{{ q.n }}
+
+
{{ q.p }}
+
+
+{% endfor %} + +
+ +{% endif %} + +
+Vaihda kyselyn koodia: + + + +
+ +{% if code %} +Linkki tähän kyselyyn: + + http://anal.fi:5000/kys/{{ code }} + +{% endif %} -- cgit v1.2.3