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