aboutsummaryrefslogtreecommitdiffstats
path: root/templates/oldest_persons.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/oldest_persons.html')
-rw-r--r--templates/oldest_persons.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/oldest_persons.html b/templates/oldest_persons.html
new file mode 100644
index 0000000..9e4b6c2
--- /dev/null
+++ b/templates/oldest_persons.html
@@ -0,0 +1,31 @@
+{% include 'header.html' %}
+
+<h1>Nejstarší 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 (oldest_persons_list|length) %}
+ <tr>
+ <th scope = "row">{{ i + 1 }}</th>
+ <td>{% if oldest_persons_list[i][0] != "0" %} {{ oldest_persons_list[i][0] }} {% endif %}{{ oldest_persons_list[i][1] }}</a></td>
+ <td>{{ oldest_persons_list[i][2] }}</td>
+ <td>{{ oldest_persons_list[i][5] }}</td>
+ <td>{{ oldest_persons_list[i][7] }}</td>
+ <td>{{ oldest_persons_list[i][3] }}, IČ: <a href="{{ oldest_persons_list[i][4] }}">{{ oldest_persons_list[i][4] }}</a></td>
+ <td>{{ oldest_persons_list[i][6] }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+{% include 'footer.html' %} \ No newline at end of file