forked from kittv/web
1
0
Fork 0

Nastavení barev u pracovníků

search
Emil Miler 4 years ago
parent cb47a3d71c
commit 0e7fd11b2a

@ -4,6 +4,7 @@ weight = 4
[extra] [extra]
group = "vedeni" group = "vedeni"
color = "#B48EAD"
role = "Studijní referent, Garant elektronického zápisu pro KITTV" role = "Studijní referent, Garant elektronického zápisu pro KITTV"
email = "eva.battistova@pedf.cuni.cz" email = "eva.battistova@pedf.cuni.cz"
phone = "+420 221 900 141" phone = "+420 221 900 141"

@ -4,6 +4,7 @@ weight = 2
[extra] [extra]
group = "vedeni" group = "vedeni"
color = "#B48EAD"
role = "Zástupce vedoucího katedry" role = "Zástupce vedoucího katedry"
email = "josef.prochazka@pedf.cuni.cz" email = "josef.prochazka@pedf.cuni.cz"
phone = "+420 221 900 327" phone = "+420 221 900 327"

@ -4,6 +4,7 @@ weight = 1
[extra] [extra]
group = "vedeni" group = "vedeni"
color = "#B48EAD"
role = "Vedoucí katedry" role = "Vedoucí katedry"
email = "jirka.stipek@gmail.com" email = "jirka.stipek@gmail.com"
phone = "+420 221 900 327" phone = "+420 221 900 327"

@ -4,6 +4,7 @@ weight = 3
[extra] [extra]
group = "vedeni" group = "vedeni"
color = "#B48EAD"
role = "Tajemnice" role = "Tajemnice"
email = "petra.vankova@pedf.cuni.cz" email = "petra.vankova@pedf.cuni.cz"
phone = "+420 221 900 140" phone = "+420 221 900 140"

@ -329,7 +329,7 @@ main {
align-items: flex-start; align-items: flex-start;
text-align: left; text-align: left;
padding-top: 2em; padding-top: 2em;
border-top: 5px solid $light-blue; border-top: 5px solid var(--color);
img { img {
width: 8rem; width: 8rem;
@ -347,6 +347,7 @@ main {
font-size: 1.3em; font-size: 1.3em;
margin-bottom: .3em; margin-bottom: .3em;
} }
.role { color: var(--color) }
.other { .other {
flex-direction: column; flex-direction: column;
margin-top: 1em; margin-top: 1em;

@ -133,7 +133,13 @@
<div class="group"> <div class="group">
{% for page in section.pages %} {% for page in section.pages %}
{% if page.extra.group and page.extra.group == group %} {% if page.extra.group and page.extra.group == group %}
<article> <article
{% if page.extra.color %}
style="--color: {{ page.extra.color }}"
{% else %}
style="--color: #81A1C1"
{% endif %}
>
{{ macro::profile_picture(profile=page) }} {{ macro::profile_picture(profile=page) }}
<div class="info"> <div class="info">
<div> <div>

Loading…
Cancel
Save