Add circles extension

This commit is contained in:
Yusur 2021-09-04 08:10:28 +02:00
parent a712303ccd
commit ec720743b3
8 changed files with 321 additions and 5 deletions

View file

@ -0,0 +1,23 @@
{% extends "base.html" %}
{% block title %}Circles {{ app_name }}{% endblock %}
{% block content %}
<h1>Stats</h1>
<ul>
<li>All people: <strong>{{ count }}</strong></li>
<li>People by type:</li>
<ul>
{% for k in typed_count.items() %}
<li>{{ k[0] }}: <strong>{{ k[1] }}</strong></li>
{% endfor %}
</ul>
<li>People by status zone:</li>
<ul>
{% for k in status_count.items() %}
<li>{{ k[0] }}: <strong>{{ k[1] }}</strong></li>
{% endfor %}
</ul>
</ul>
{% endblock %}