aboutsummaryrefslogtreecommitdiffstats
path: root/templates/oldest_companies.html
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-04-04 23:59:25 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-04-04 23:59:25 +0200
commit779defc902762ac84d28ade55fa1fc3860a3e54d (patch)
treeb2b0bc885c1bfa478ac5e66799a6899c95885862 /templates/oldest_companies.html
parent9fa9616a36cf9635fd6922cfa5875efdc491c0d0 (diff)
downloadjustice-779defc902762ac84d28ade55fa1fc3860a3e54d.tar.gz
Adding some trivia
Diffstat (limited to 'templates/oldest_companies.html')
-rw-r--r--templates/oldest_companies.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/oldest_companies.html b/templates/oldest_companies.html
new file mode 100644
index 0000000..443ad1c
--- /dev/null
+++ b/templates/oldest_companies.html
@@ -0,0 +1,23 @@
+{% include 'header.html' %}
+
+<h1>Nejstarší společnosti:</h1>
+<table class="table table-hover">
+ <thead class="thead-dark">
+ <tr>
+ <th scope="col">#</th>
+ <th scope="col">Jméno</th>
+ <th scope="col">Datum založení</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for i in range (oldest_companies|length) %}
+ <tr>
+ <th scope = "row">{{ i + 1 }}</th>
+ <td><a href="{{ oldest_companies[i][2] }}">{{ oldest_companies[i][0] }}</a></td>
+ <td>{{ oldest_companies[i][1] }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+{% include 'footer.html' %} \ No newline at end of file