-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add submissions info to monitoring page
* Number of submission of every kind
- Loading branch information
Mateusz Jacniacki
committed
Apr 7, 2024
1 parent
6077a74
commit 979449f
Showing
3 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
oioioi/statistics/templates/statistics/_submissions_info.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% load i18n pagination_tags %} | ||
{% if rounds_times %} | ||
<div class="table-responsive-md"> | ||
<h4> {% trans "Submission types" %} </h4> | ||
<table class="table table-sm table-bordered"> | ||
<thead> | ||
<tr> | ||
<th> {% trans "Kind" %} </th> | ||
<th> {% trans "Count" %} </th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for submission_info in submissions_info %} | ||
<tr> | ||
<td>{{ submission_info.kind }}</td> | ||
<td>{{ submission_info.total }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters