diff options
-rw-r--r-- | kpov_judge/web/kpov_judge/templates/task_greeting.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/kpov_judge/web/kpov_judge/templates/task_greeting.html b/kpov_judge/web/kpov_judge/templates/task_greeting.html index 1825726..73294e5 100644 --- a/kpov_judge/web/kpov_judge/templates/task_greeting.html +++ b/kpov_judge/web/kpov_judge/templates/task_greeting.html @@ -2,6 +2,10 @@ <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> <style> +body > h1 > span { + font-size: small; + font-weight: normal; +} img.setup { border: 1px solid black; border-radius: 0.2em; @@ -30,7 +34,14 @@ section > ul { } </style> -<h1><a href="{{ url_for('class_tasks', class_id=class_id) }}" class="back">↩</a> {{task_id}}</h1> +<h1> +<a href="{{ url_for('class_tasks', class_id=class_id) }}" class="back">↩</a> {{task_id}} +<span style="float: right;">[ +{% for lang in ('en', 'si') %} +<a href="{{ url_for('task_greeting', class_id=class_id, task_id=task_id, lang=lang) }}">{{lang}}</a> +{% endfor %} +]</span> +</h1> <section> <a href="setup.png"><img src="setup.png" class="setup"></a> |