From 0e7fd11b2ad775b3e7413e33c20fe046f543845e Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Wed, 31 Mar 2021 10:26:49 +0200 Subject: [PATCH] =?UTF-8?q?Nastaven=C3=AD=20barev=20u=20pracovn=C3=ADk?= =?UTF-8?q?=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/katedra/pracovnici/battistova/index.md | 1 + content/katedra/pracovnici/prochazka/index.md | 1 + content/katedra/pracovnici/stipek/index.md | 1 + content/katedra/pracovnici/vankova/index.md | 1 + sass/main.scss | 3 ++- templates/macros.html | 8 +++++++- 6 files changed, 13 insertions(+), 2 deletions(-) diff --git a/content/katedra/pracovnici/battistova/index.md b/content/katedra/pracovnici/battistova/index.md index e37a21d..d3abad7 100644 --- a/content/katedra/pracovnici/battistova/index.md +++ b/content/katedra/pracovnici/battistova/index.md @@ -4,6 +4,7 @@ weight = 4 [extra] group = "vedeni" +color = "#B48EAD" role = "Studijní referent, Garant elektronického zápisu pro KITTV" email = "eva.battistova@pedf.cuni.cz" phone = "+420 221 900 141" diff --git a/content/katedra/pracovnici/prochazka/index.md b/content/katedra/pracovnici/prochazka/index.md index 747d17a..b683bcd 100644 --- a/content/katedra/pracovnici/prochazka/index.md +++ b/content/katedra/pracovnici/prochazka/index.md @@ -4,6 +4,7 @@ weight = 2 [extra] group = "vedeni" +color = "#B48EAD" role = "Zástupce vedoucího katedry" email = "josef.prochazka@pedf.cuni.cz" phone = "+420 221 900 327" diff --git a/content/katedra/pracovnici/stipek/index.md b/content/katedra/pracovnici/stipek/index.md index a1c2450..aeeec3f 100644 --- a/content/katedra/pracovnici/stipek/index.md +++ b/content/katedra/pracovnici/stipek/index.md @@ -4,6 +4,7 @@ weight = 1 [extra] group = "vedeni" +color = "#B48EAD" role = "Vedoucí katedry" email = "jirka.stipek@gmail.com" phone = "+420 221 900 327" diff --git a/content/katedra/pracovnici/vankova/index.md b/content/katedra/pracovnici/vankova/index.md index c00430b..d454cae 100644 --- a/content/katedra/pracovnici/vankova/index.md +++ b/content/katedra/pracovnici/vankova/index.md @@ -4,6 +4,7 @@ weight = 3 [extra] group = "vedeni" +color = "#B48EAD" role = "Tajemnice" email = "petra.vankova@pedf.cuni.cz" phone = "+420 221 900 140" diff --git a/sass/main.scss b/sass/main.scss index 123d419..2d9078e 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -329,7 +329,7 @@ main { align-items: flex-start; text-align: left; padding-top: 2em; - border-top: 5px solid $light-blue; + border-top: 5px solid var(--color); img { width: 8rem; @@ -347,6 +347,7 @@ main { font-size: 1.3em; margin-bottom: .3em; } + .role { color: var(--color) } .other { flex-direction: column; margin-top: 1em; diff --git a/templates/macros.html b/templates/macros.html index 15d4f7a..f567ad8 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -133,7 +133,13 @@
{% for page in section.pages %} {% if page.extra.group and page.extra.group == group %} -
+
{{ macro::profile_picture(profile=page) }}