mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
31 lines
818 B
HTML
31 lines
818 B
HTML
|
{% extends "layout.html" %}
|
||
|
{% import 'utils.html' as utils %}
|
||
|
{% block content %}
|
||
|
<div id="container">
|
||
|
{% include "header.html" %}
|
||
|
<div id="admin">
|
||
|
<h3>Stats</h3>
|
||
|
<h4>DB</h4>
|
||
|
<ul>
|
||
|
<li>Inbox size: <strong>{{ inbox_size }}</strong></li>
|
||
|
<li>Outbox size: <strong>{{ outbox_size }}</strong></li>
|
||
|
<li>Object cache size: <strong>{{ object_cache_size }}</strong></li>
|
||
|
<li>Actor cache size: <strong>{{ actor_cache_size }}</strong></li>
|
||
|
</ul>
|
||
|
<h4>Collections</h4>
|
||
|
<ul>
|
||
|
<li>followers: <strong>{{ col_followers }}</strong></li>
|
||
|
<li>following: <strong>{{ col_following }}</strong></li>
|
||
|
<li>liked: <strong>{{col_liked }}</strong></li>
|
||
|
</ul>
|
||
|
<h4>Known Instances</h4>
|
||
|
<ul>
|
||
|
{% for instance in instances %}
|
||
|
<li><a href="{{ instance.instance }}">{{ instance.instance }}</a></li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
{% endblock %}
|