diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 21:58:29 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 21:59:11 +0200 |
commit | e4e109c16ef27012157cb38cf6375c1ae4d2ef69 (patch) | |
tree | ff2350f8f769d92544202cb5d2149155aa1d04cb /kpov_judge/tasks/public_ssh_motd_http | |
parent | f2060d5143f5c4b14bfff723d238c497a0053f17 (diff) | |
parent | 5439f75ca2e1a38803a96853b6cac0ce5c9f58ce (diff) |
Merge branch 'improve-web'
Store instructions in HTML and render with jinja2. Add i18n with
gettext / pybabel. Improve styling.
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> """ } |