forked from kittv/web
1
0
Fork 0

Výpis seznamu pracovníků katedry

search
Emil Miler 3 years ago
parent 9891afec4d
commit ed3f70b695

@ -0,0 +1,14 @@
+++
title = "Pracovníci"
template = "people-list.html"
page_template = "people-profile.html"
[extra]
icon = "♥"
+++
Zde najdete informace a kontaktní údaje pracovníků katedry. Další termíny konzultací zde uvedených pracovníků mohou být stanoveny individuálně na základě dohody s příslušným pracovníkem e-mailem.
Kontakty na studijní oddělení najdete na [webových stránkách fakulty](https://pedf.cuni.cz/PEDF-220.html).

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

@ -0,0 +1,11 @@
+++
title = "PaedDr. Eva Battistová"
[extra]
role = "Studijní referent, Garant elektronického zápisu pro KITTV"
email = "eva.battistova@pedf.cuni.cz"
phone = "+420 221 900 141"
time = "Pondělí 12:00 – 13:00"
image = "battistova.jpg"
+++

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

@ -0,0 +1,11 @@
+++
title = "doc. RNDr. Miroslava Černochová, CSc."
[extra]
role = "Zahraniční referent"
email = "miroslava.cernochova@pedf.cuni.cz"
phone = "+420 221 900 238"
time = "Středa 12:00 – 13:00"
image = "cernochova.jpg"
+++

@ -1,7 +0,0 @@
+++
title = "Zaměstnanci"
[extra]
icon = "♥"
+++

@ -207,6 +207,53 @@ main {
}
}
.people-list {
display: flex;
flex-direction: column;
article {
display: flex;
align-items: center;
height: 8em;
margin-bottom: 3em;
text-align: left;
a { font-weight: normal }
a:hover { text-decoration: underline }
img {
display: block;
height: 100%;
margin-right: 2.5em;
border-radius: 50%;
}
.info {
height: 70%;
display: flex;
flex-direction: column;
justify-content: space-between;
.name a {
display: block;
font-weight: bold;
font-size: 1.5em;
margin-bottom: .3em;
}
.role { color: #81A1C1 }
.other {
display: flex;
div {
margin-right: 2em;
}
}
}
}
}
.centering {
text-align: center;
}

@ -109,3 +109,34 @@
</a>
{% endfor %}
{% endmacro %}
{% macro list_people() %}
{% for page in section.pages %}
<article>
{% if page.extra.image %}
<img src="{{ page.permalink~page.extra.image }}" alt="{{ page.title }}">
{% else %}
<img src="{{ get_url(path="person.jpg") }}" alt="{{ page.title }}">
{% endif %}
<div class="info">
<div>
<div class="name"><a href="{{ page.permalink }}">{{ page.title }}</a></div>
{% if page.extra.email %}
<div class="role">{{ page.extra.role }}</div>
{% endif %}
</div>
<div class="other">
{% if page.extra.email %}
<div><a href="mailto:{{ page.extra.email }}">{{ page.extra.email }}</a></div>
{% endif %}
{% if page.extra.phone %}
<div><a href="tel:{{ page.extra.phone }}">{{ page.extra.phone }}</a></div>
{% endif %}
{% if page.extra.time %}
<div title="Konzultační hodiny">{{ page.extra.time | safe }}</div>
{% endif %}
</div>
</div>
</article>
{% endfor %}
{% endmacro %}

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block extra %}
{{ macro::breadcrumbs(page=section) }}
{% endblock %}
{% block content %}
<main>
<section class="centering">
<h1>{{ section.title }}</h1>
{{ section.content | safe }}
</section>
<section class="people-list">
{{ macro::list_people() }}
</section>
</main>
{% endblock content %}

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block extra %}
{{ macro::breadcrumbs(page=page) }}
{% endblock %}
{% block content %}
<main>
<section>
<h1>{{ page.title }}</h1>
{{ page.content | safe }}
</section>
</main>
{% endblock content %}
Loading…
Cancel
Save