diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-04 23:59:25 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-04 23:59:25 +0200 |
commit | 779defc902762ac84d28ade55fa1fc3860a3e54d (patch) | |
tree | b2b0bc885c1bfa478ac5e66799a6899c95885862 /templates/oldest_companies.html | |
parent | 9fa9616a36cf9635fd6922cfa5875efdc491c0d0 (diff) | |
download | justice-779defc902762ac84d28ade55fa1fc3860a3e54d.tar.gz |
Adding some trivia
Diffstat (limited to 'templates/oldest_companies.html')
-rw-r--r-- | templates/oldest_companies.html | 23 |
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 |