aboutsummaryrefslogtreecommitdiffstats
path: root/templates/most_common_addresses.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/most_common_addresses.html
parent9fa9616a36cf9635fd6922cfa5875efdc491c0d0 (diff)
downloadjustice-779defc902762ac84d28ade55fa1fc3860a3e54d.tar.gz
Adding some trivia
Diffstat (limited to 'templates/most_common_addresses.html')
-rw-r--r--templates/most_common_addresses.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/most_common_addresses.html b/templates/most_common_addresses.html
new file mode 100644
index 0000000..8c2277f
--- /dev/null
+++ b/templates/most_common_addresses.html
@@ -0,0 +1,23 @@
+{% include 'header.html' %}
+
+<h1>Nejčastější sídla:</h1>
+<table class="table table-hover">
+ <thead class="thead-dark">
+ <tr>
+ <th scope="col">#</th>
+ <th scope="col">Adresa</th>
+ <th scope="col">Frekvence</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for i in range (most_common_addresses|length) %}
+ <tr>
+ <th scope = "row">{{ i + 1 }}</th>
+ <td>{{ most_common_addresses[i][0] }}</td>
+ <td>{{ most_common_addresses[i][1] }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+{% include 'footer.html' %} \ No newline at end of file