summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-13 21:36:23 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-13 21:40:02 +0200
commit5439f75ca2e1a38803a96853b6cac0ce5c9f58ce (patch)
treeff2350f8f769d92544202cb5d2149155aa1d04cb
parentfe23a3348098bc62b91c866771bd6585e01e4929 (diff)
A couple of tweaks
-rw-r--r--kpov_judge/web/kpov_judge/static/style.css3
-rw-r--r--kpov_judge/web/kpov_judge/templates/task_greeting.html3
-rw-r--r--kpov_judge/web/kpov_judge/translations/en/LC_MESSAGES/messages.po4
3 files changed, 6 insertions, 4 deletions
diff --git a/kpov_judge/web/kpov_judge/static/style.css b/kpov_judge/web/kpov_judge/static/style.css
index 69ac87c..4511302 100644
--- a/kpov_judge/web/kpov_judge/static/style.css
+++ b/kpov_judge/web/kpov_judge/static/style.css
@@ -10,8 +10,9 @@ body {
code {
background-color: #d6d6d6;
+ color: black;
font-size: 1.2em;
- padding: 0 0.25em;
+ padding: 0.20em 0.25em 0;
}
dl {
diff --git a/kpov_judge/web/kpov_judge/templates/task_greeting.html b/kpov_judge/web/kpov_judge/templates/task_greeting.html
index 73294e5..49288e3 100644
--- a/kpov_judge/web/kpov_judge/templates/task_greeting.html
+++ b/kpov_judge/web/kpov_judge/templates/task_greeting.html
@@ -19,6 +19,7 @@ section.data {
}
section.data > section {
display: inline-block;
+ margin: 0 1em;
}
section.disks > section > h1 {
margin-bottom: 0;
@@ -36,7 +37,7 @@ section > ul {
<h1>
<a href="{{ url_for('class_tasks', class_id=class_id) }}" class="back">↩</a> {{task_id}}
-<span style="float: right;">[
+ <span>[
{% for lang in ('en', 'si') %}
<a href="{{ url_for('task_greeting', class_id=class_id, task_id=task_id, lang=lang) }}">{{lang}}</a>
{% endfor %}
diff --git a/kpov_judge/web/kpov_judge/translations/en/LC_MESSAGES/messages.po b/kpov_judge/web/kpov_judge/translations/en/LC_MESSAGES/messages.po
index df2c29d..ef9a7bb 100644
--- a/kpov_judge/web/kpov_judge/translations/en/LC_MESSAGES/messages.po
+++ b/kpov_judge/web/kpov_judge/translations/en/LC_MESSAGES/messages.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2018-10-13 19:25+0200\n"
-"PO-Revision-Date: 2018-10-13 02:29+0200\n"
+"PO-Revision-Date: 2018-10-13 20:57+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
@@ -32,7 +32,7 @@ msgstr "Classes"
#: templates/task_greeting.html:52
msgid "Podrobna navodila."
-msgstr "Detalied instructions."
+msgstr "Detailed instructions."
#: templates/task_greeting.html:57
msgid "Računalniki"