diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 03:10:03 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 03:17:06 +0200 |
commit | c5a8b2c72841ad0b58fb36870624737634778056 (patch) | |
tree | 01259a4a3338777031ae730366ea0193f86db222 /kpov_judge/tasks/public_ssh_motd_http | |
parent | 1cbc2f75ac1adf5ee70971052c819cdca1a0948c (diff) |
HTMLize instructions and use jinja2 to render them
Only fixed tasks for the kpov_2018 class for now.
Diffstat (limited to 'kpov_judge/tasks/public_ssh_motd_http')
-rw-r--r-- | kpov_judge/tasks/public_ssh_motd_http/task.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/tasks/public_ssh_motd_http/task.py b/kpov_judge/tasks/public_ssh_motd_http/task.py index 227425a..bd48d77 100644 --- a/kpov_judge/tasks/public_ssh_motd_http/task.py +++ b/kpov_judge/tasks/public_ssh_motd_http/task.py @@ -2,11 +2,11 @@ instructions = { 'si':""" -Na internet postavi računalnik, ki bo dostopen prek ssh in http. +<pre>Na internet postavi računalnik, ki bo dostopen prek ssh in http. Poskrbi, da bo na računalniku ustvarjen uporabnik test z geslom test. Ob prijavi naj se uporabniku v MOTD izpiše (le) zgodbica ali pesmica, ki vam je všeč, dolžine vsaj 50 znakov. Ista zgodbica ali pesmica naj se na strežniku izpiše, če se na strežnik kdorkoli poveže prek -http. +http.</pre> """ } |