aboutsummaryrefslogtreecommitdiffstats
path: root/templates
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
parenta2a1ea822ba731b2de2e4336ab20acaa0f7e8bd4 (diff)
downloadjustice-cabd76663ea295c53d3875292aaf82bcd44b6340.tar.gz
update trivia section to add list of oldest and longest registered persons
Diffstat (limited to 'templates')
-rw-r--r--templates/longest_registered_executives.html29
-rw-r--r--templates/longest_registered_persons.html31
-rw-r--r--templates/oldest_persons.html31
-rw-r--r--templates/oldest_shareholders.html29
-rw-r--r--templates/trivia.html5
5 files changed, 64 insertions, 61 deletions
diff --git a/templates/longest_registered_executives.html b/templates/longest_registered_executives.html
deleted file mode 100644
index 281c3fb..0000000
--- a/templates/longest_registered_executives.html
+++ /dev/null
@@ -1,29 +0,0 @@
-{% include 'header.html' %}
-
-<h1>Nejdéle registrovaní statutáři:</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">Ve společnosti</th>
- <th scope="col">Datum zápisu</th>
- </tr>
- </thead>
- <tbody>
- {% for i in range (longest_registered_executives_list|length) %}
- <tr>
- <th scope = "row">{{ i + 1 }}</th>
- <td>{% if longest_registered_executives_list[i][0] != "0" %} {{ longest_registered_executives_list[i][0] }} {% endif %}{{ longest_registered_executives_list[i][1] }}</a></td>
- <td>{{ longest_registered_executives_list[i][2] }}</td>
- <td>{{ longest_registered_executives_list[i][5] }}</td>
- <td>{{ longest_registered_executives_list[i][3] }}, IČ: <a href="{{ longest_registered_executives_list[i][4] }}">{{ longest_registered_executives_list[i][4] }}</a></td>
- <td>{{ longest_registered_executives_list[i][6] }}</td>
- </tr>
- {% endfor %}
- </tbody>
-</table>
-
-{% include 'footer.html' %} \ No newline at end of file
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
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
diff --git a/templates/oldest_shareholders.html b/templates/oldest_shareholders.html
deleted file mode 100644
index 02767af..0000000
--- a/templates/oldest_shareholders.html
+++ /dev/null
@@ -1,29 +0,0 @@
-{% include 'header.html' %}
-
-<h1>Nejstarší společníci:</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">Ve společnosti</th>
- <th scope="col">Datum zápisu</th>
- </tr>
- </thead>
- <tbody>
- {% for i in range (oldest_shareholders_list|length) %}
- <tr>
- <th scope = "row">{{ i + 1 }}</th>
- <td>{% if oldest_shareholders_list[i][0] != "0" %} {{ oldest_shareholders_list[i][0] }} {% endif %}{{ oldest_shareholders_list[i][1] }}</a></td>
- <td>{{ oldest_shareholders_list[i][2] }}</td>
- <td>{{ oldest_shareholders_list[i][5] }}</td>
- <td>{{ oldest_shareholders_list[i][3] }}, IČ: <a href="{{ oldest_shareholders_list[i][4] }}">{{ oldest_shareholders_list[i][4] }}</a></td>
- <td>{{ oldest_shareholders_list[i][6] }}</td>
- </tr>
- {% endfor %}
- </tbody>
-</table>
-
-{% include 'footer.html' %} \ No newline at end of file
diff --git a/templates/trivia.html b/templates/trivia.html
index bb4e0b5..643ee2f 100644
--- a/templates/trivia.html
+++ b/templates/trivia.html
@@ -11,8 +11,7 @@
<p><a href="/most_common_business">Seznam nejčastějších předmětů podnikání</a></p>
<p><a href="/most_common_activity">Seznam nejčastějších předmětů činnosti</a></p>
<p><a href="/most_common_degree">Seznam nejčastějších titulů</a></p>
-<p><a href="/oldest_shareholders">Seznam nejstarších společníků</a></p>
-<p><a href="/longest_registered_shareholders">Seznam nejdéle registrovaných společníků</a></p>
-<p><a href="/longest_registered_executives">Seznam nejdéle registrovaných statutárů</a></p>
+<p><a href="/oldest_persons">Seznam nejstarších osob</a></p>
+<p><a href="/longest_registered_persons">Seznam nejdéle registrovaných osob</a></p>
{% include 'footer.html' %} \ No newline at end of file