Update statistic backend

This commit is contained in:
Sokurov Idar
2021-03-08 21:07:09 +03:00
parent 49046022d7
commit b96deab2cb
4 changed files with 117 additions and 90 deletions

View File

@@ -4,7 +4,7 @@
{% block title %}{{ pagename }}{% endblock %}
{% block heading %}Статистика{% endblock %}
{% block heading %} Пример страницы статистики(палками не бейти плиз){% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{% static 'main/css/work.css' %}">
@@ -21,10 +21,17 @@
{% endfor %}
<input type="submit">
</form>
{% for key,val in stats_logs.items %}
<h3>{{key}} {{val}}</h3>
{% for key,val in log_stats.items %}
<h3>{{key}} <b>|</b> {{val}}</h3>
<br>
{% endfor %}
<ul>
{% for error in errors %}
<li>{{error}}</li>
{% endfor %}
</ul>
</div>
{% endblock %}