diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-18 00:16:48 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-18 00:16:48 +0200 |
commit | 9cceba9b3466a2e5a7e712414bdf006215d7cb18 (patch) | |
tree | 759ffa8973d32fae04acd2bf5899e0459b087b46 /templates/most_common_degree.html | |
parent | 9a9914e21a4813e1ebb810be2b3b8084067c63b4 (diff) | |
download | justice-9cceba9b3466a2e5a7e712414bdf006215d7cb18.tar.gz |
add search by persons
Diffstat (limited to 'templates/most_common_degree.html')
-rw-r--r-- | templates/most_common_degree.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/most_common_degree.html b/templates/most_common_degree.html new file mode 100644 index 0000000..72ac5b2 --- /dev/null +++ b/templates/most_common_degree.html @@ -0,0 +1,28 @@ +{% include 'header.html' %} + +<h1>Nejčastější tituly:</h1> + +<table class="table table-hover" style="width: auto"> + <thead class="thead-dark"> + <tr class="table-info"> + <th scope="col">#</th> + <th scope="col">Titul před jménem</th> + <th scope="col">Frekvence</th> + <th scope="col">Titul za jménem</th> + <th scope="col">Frekvence</th> + </tr> + </thead> + <tbody> + {% for i in range (most_common_degree_before|length) %} + <tr> + <th scope = "row">{{ i + 1 }}</th> + <td>{{ most_common_degree_before[i][0] }}</td> + <td>{{ most_common_degree_before[i][1] }}</td> + <td>{{ most_common_degree_after[i][0] }}</td> + <td>{{ most_common_degree_after[i][1] }}</td> + </tr> + {% endfor %} + </tbody> +</table> + +{% include 'footer.html' %}
\ No newline at end of file |