aboutsummaryrefslogtreecommitdiffstats
path: root/templates/youngest_persons.html
blob: d8003409fb9d54f7461d4b24ea844cc73f5faac5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{% include 'header.html' %}

<h1>Nejmladší osoby:</h1>
<table class="table table-hover" style="width: auto">
    <thead class="thead-dark">
    <tr class="table-info">
        <th scope="col">#</th>
        <th scope="col">Jméno a příjmení</th>
        <th scope="col">Datum narození</th>
        <th scope="col">Adresa</th>
        <th scope="col">Funkce</th>
        <th scope="col">Ve společnosti</th>
        <th scope="col">Datum zápisu</th>
    </tr>
    </thead>
    <tbody>
    {% for i in range (youngest_persons_list|length) %}
    <tr>
        <th scope = "row">{{ i + 1 }}</th>
        <td>{% if youngest_persons_list[i][0] != "0" %} {{ youngest_persons_list[i][0] }} {% endif %}{{ youngest_persons_list[i][1] }}</a></td>
        <td>{{ youngest_persons_list[i][2] }}</td>
        <td>{{ youngest_persons_list[i][5] }}</td>
        <td>{{ youngest_persons_list[i][7] }}</td>
        <td>{{ youngest_persons_list[i][3] }}, IČ: <a href="{{ youngest_persons_list[i][4] }}">{{ youngest_persons_list[i][4] }}</a></td>
        <td>{{ youngest_persons_list[i][6] }}</td>
    </tr>
    {% endfor %}
    </tbody>
</table>

{% include 'footer.html' %}