diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 0bd3476..3022e35 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -62,7 +62,17 @@ {% if country_stats %}

🌍 国家/地区分布

- + {% set max_count = country_stats[0][1] if country_stats else 1 %} + {% for code, count in country_stats %} +
+ {{ code|flag }} {{ code }} +
+
+ {{ count }} +
+
+
+ {% endfor %}
{% endif %} @@ -136,29 +146,4 @@

创建一个 Profile 开始管理你的明信片

{% endif %} -{% if country_stats %} - - -{% endif %} {% endblock %}