From c294db9fd10e06bba61db28c1eb75c355dac84ae Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Tue, 13 Jan 2015 22:31:08 +0000 Subject: added missing templates git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@183 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/web/kpov_judge/templates/params.html | 24 +++++++++++++ kpov_judge/web/kpov_judge/templates/results.html | 15 ++++++++ .../web/kpov_judge/templates/task_greeting.html | 41 ++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 kpov_judge/web/kpov_judge/templates/params.html create mode 100644 kpov_judge/web/kpov_judge/templates/results.html create mode 100644 kpov_judge/web/kpov_judge/templates/task_greeting.html diff --git a/kpov_judge/web/kpov_judge/templates/params.html b/kpov_judge/web/kpov_judge/templates/params.html new file mode 100644 index 0000000..e6d631d --- /dev/null +++ b/kpov_judge/web/kpov_judge/templates/params.html @@ -0,0 +1,24 @@ + + + + + +

+{{task_id}} +

+
+

Parametri

+
+{% for k, v in params.iteritems() %} +
{{k}}:
{{params_meta[k]['descriptions']['si']}}
+{% if params_meta[k]["w"] %} + +{% else %} +{{v}} +{% endif %}
+{% endfor %} +

+
+
+ + diff --git a/kpov_judge/web/kpov_judge/templates/results.html b/kpov_judge/web/kpov_judge/templates/results.html new file mode 100644 index 0000000..e944d38 --- /dev/null +++ b/kpov_judge/web/kpov_judge/templates/results.html @@ -0,0 +1,15 @@ + + +

+{{task_id}} +

+

+

Rezultati

+ +

+ + diff --git a/kpov_judge/web/kpov_judge/templates/task_greeting.html b/kpov_judge/web/kpov_judge/templates/task_greeting.html new file mode 100644 index 0000000..50d0ec2 --- /dev/null +++ b/kpov_judge/web/kpov_judge/templates/task_greeting.html @@ -0,0 +1,41 @@ + + +

+{{task_id}} +

+

Navodila

+
+{{instructions}}
+
+

+

Računalniki v vaji

+{% for c in computers %} +

{{c['name']}}

+ {% if 'disk_urls' in c %} + + {% else %} + Slike navideznih diskov so v izdelavi in bodo kmalu na voljo. + {% endif %} +{% endfor %} +

+

+Lahko si ogledate surove: +

+

+

+{% if openstack %} +Openstack projekt za to vajo je že ustvarjen ali v izdelavi (funkcionalnost še ne deluje). +{% else %} +Ustvari Openstack projekt za to vajo (funkcionalnost še ne deluje). +{% endif %} + + -- cgit v1.2.1