diff --git a/cookbook/templates/system.html b/cookbook/templates/system.html index e6995578b..1c154160c 100644 --- a/cookbook/templates/system.html +++ b/cookbook/templates/system.html @@ -82,9 +82,9 @@ {% else %} {% trans 'Everything is fine!' %} {% endif %} - +

{% trans 'Allowed Hosts' %} {% if '*' in allowed_hosts %} + class="badge badge-{% if '*' in allowed_hosts %}warning{% else %}success{% endif %}">{% if '*' in allowed_hosts %} {% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}

{% if debug %} {% blocktrans %} @@ -176,6 +176,33 @@ {#{% endfor %}#} {# #} +

API Stats

+
User Stats
+ + {% for r in api_user_stats %} + + {% for c in r %} + + {% endfor %} + + {% endfor %} +
+ {{ c }} +
+ +
Endpoint Stats
+ + {% for r in api_stats %} + + {% for c in r %} + + {% endfor %} + + {% endfor %} +
+ {{ c }} +
+

Debug