aboutsummaryrefslogtreecommitdiffstats
path: root/templates/most_common_activity.html
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-04-05 18:26:08 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-04-05 18:26:08 +0200
commit0279c2c4edbeea14a801271e273078a21b5b9fd6 (patch)
treef5e22b3829fff2222500f3a08d9e49e8cabf782c /templates/most_common_activity.html
parent779defc902762ac84d28ade55fa1fc3860a3e54d (diff)
downloadjustice-0279c2c4edbeea14a801271e273078a21b5b9fd6.tar.gz
More tweaks
Diffstat (limited to 'templates/most_common_activity.html')
-rw-r--r--templates/most_common_activity.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/most_common_activity.html b/templates/most_common_activity.html
new file mode 100644
index 0000000..dd73b41
--- /dev/null
+++ b/templates/most_common_activity.html
@@ -0,0 +1,24 @@
+{% include 'header.html' %}
+
+<h1>Nejčastější předmět činnosti:</h1>
+
+<table class="table table-hover" style="width: auto">
+ <thead class="thead-dark">
+ <tr class="table-info">
+ <th scope="col">#</th>
+ <th scope="col">Předmět činnosti</th>
+ <th scope="col">Frekvence</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for i in range (most_common_activity|length) %}
+ <tr>
+ <th scope = "row">{{ i + 1 }}</th>
+ <td>{{ most_common_activity[i][0] }}</td>
+ <td>{{ most_common_activity[i][1] }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+{% include 'footer.html' %} \ No newline at end of file