summaryrefslogtreecommitdiff
path: root/web/kpov_judge/templates/params.html
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-02-24 21:05:27 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-02-24 21:05:27 +0100
commit8081a5520a441b43a8a7a73f3a90c7aacfaa8e10 (patch)
treec7f49bd33ed19d53afc0ee9df8b2c82c200c5910 /web/kpov_judge/templates/params.html
parent9963b74f777edf985540eac71b1ca095f88b8bca (diff)
Move everything one level up
Diffstat (limited to 'web/kpov_judge/templates/params.html')
-rw-r--r--web/kpov_judge/templates/params.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/web/kpov_judge/templates/params.html b/web/kpov_judge/templates/params.html
new file mode 100644
index 0000000..0648f66
--- /dev/null
+++ b/web/kpov_judge/templates/params.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+<link rel="stylesheet" href="/static/style.css">
+</head>
+<body>
+<h1>
+{{task_id}}
+</h1>
+<div>
+<h2>Parametri</h2>
+<form action="" method="post">
+{% for k, v in params.items() %}
+<div><span class="hover">{{k}}: <div class="tooltip">{{params_meta[k]['descriptions']['si']}}</div></span>
+{% if params_meta[k]["w"] %}
+<input type=text name="{{k}}" value="{{v}}" />
+{% else %}
+{{v}}
+{% endif %}</div>
+{% endfor %}
+<p><input type=submit value="Submit"/></p>
+</form>
+</div>
+</body>
+</html>