summaryrefslogtreecommitdiff
path: root/kpov_judge/web/kpov_judge/templates/task_greeting.html
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/web/kpov_judge/templates/task_greeting.html')
-rw-r--r--kpov_judge/web/kpov_judge/templates/task_greeting.html27
1 files changed, 21 insertions, 6 deletions
diff --git a/kpov_judge/web/kpov_judge/templates/task_greeting.html b/kpov_judge/web/kpov_judge/templates/task_greeting.html
index 188145c..422f14b 100644
--- a/kpov_judge/web/kpov_judge/templates/task_greeting.html
+++ b/kpov_judge/web/kpov_judge/templates/task_greeting.html
@@ -2,9 +2,7 @@
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<body>
-<h1>
-{{task_id}}
-</h1>
+<h1>{{task_id}}</h1>
<h2>Navodila</h2>
<pre>
{{instructions}}
@@ -14,24 +12,40 @@
<a href='howto/'>Podrobna navodila (HOWTO)</a>
</p>
+<section class="images">
<h2>Računalniki v vaji</h2>
+<section>
{% for c in computers %}
<h3>{{c['name']}}</h3>
{% if 'disk_urls' in c %}
<ul>
{% for u in c['disk_urls'] %}
- <li><a href={{u['url']}}>{{u['name']}}</a></li>
+ <li><a href={{disk_base_url+u['file']}}>{{u['name']}}</a></li>
{% endfor %}
</ul>
{% else %}
Slike navideznih diskov so v izdelavi in bodo kmalu na voljo.
{% endif %}
{% endfor %}
-</p>
+
<p>
-<img src="setup.png"/>
+<img src="setup.png">
</p>
+</section>
+
+<section>
+{% if backing_images %}
+<h3>Osnovne slike</h3>
+<ul>
+{% for b in backing_images %}
+ <li><a href={{disk_base_url+b}}>{{b}}</a></li>
+{% endfor %}
+</ul>
+{% endif %}
+</section>
+</section>
+
<p>
Lahko si ogledate surove:
<ul>
@@ -40,6 +54,7 @@ Lahko si ogledate surove:
<li><a href='../task.html'>preverjalni program</a> (<a href='../task.py'>source</a>)</li>
</ul>
</p>
+
<p>
{% if openstack %}
Openstack projekt za to vajo je že ustvarjen ali v izdelavi (funkcionalnost še ne deluje).