aboutsummaryrefslogtreecommitdiffstats
path: root/templates/longest_registered_persons.html
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2022-01-29 23:22:54 +0100
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2022-01-29 23:22:54 +0100
commitcabd76663ea295c53d3875292aaf82bcd44b6340 (patch)
treedfbf0861cd81fd33a3b2ea339bcb5fb38040ed56 /templates/longest_registered_persons.html
parenta2a1ea822ba731b2de2e4336ab20acaa0f7e8bd4 (diff)
downloadjustice-cabd76663ea295c53d3875292aaf82bcd44b6340.tar.gz
update trivia section to add list of oldest and longest registered persons
Diffstat (limited to 'templates/longest_registered_persons.html')
-rw-r--r--templates/longest_registered_persons.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/longest_registered_persons.html b/templates/longest_registered_persons.html
new file mode 100644
index 0000000..2c8b77a
--- /dev/null
+++ b/templates/longest_registered_persons.html
@@ -0,0 +1,31 @@
+{% include 'header.html' %}
+
+<h1>Nejdéle registrované 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 (longest_registered_persons_list|length) %}
+ <tr>
+ <th scope = "row">{{ i + 1 }}</th>
+ <td>{% if longest_registered_persons_list[i][0] != "0" %} {{ longest_registered_persons_list[i][0] }} {% endif %}{{ longest_registered_persons_list[i][1] }}</a></td>
+ <td>{{ longest_registered_persons_list[i][2] }}</td>
+ <td>{{ longest_registered_persons_list[i][5] }}</td>
+ <td>{{ longest_registered_persons_list[i][7] }}</td>
+ <td>{{ longest_registered_persons_list[i][3] }}, IČ: <a href="{{ longest_registered_persons_list[i][4] }}">{{ longest_registered_persons_list[i][4] }}</a></td>
+ <td>{{ longest_registered_persons_list[i][6] }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+{% include 'footer.html' %} \ No newline at end of file