add: user status

This commit is contained in:
trisua 2025-05-03 11:29:31 -04:00
parent 1724f798ca
commit a009ef9e34
10 changed files with 259 additions and 138 deletions

View file

@ -5,17 +5,23 @@
<span>{{ text "auth:label.following" }}</span>
</div>
<div class="card flex flex-col gap-4">
<div class="card flex flex-wrap gap-4 flex-collapse">
<!-- prettier-ignore -->
{% for item in list %}
<div class="card-nest">
<div class="card small">
Since <span class="date">{{ item[0].created }}</span>
</div>
{{ components::user_card(user=item[1]) }}
</div>
{{ components::user_plate(user=item[1], secondary=true) }}
{% endfor %} {{ components::pagination(page=page, items=list|length) }}
</div>
</div>
<style>
.user_plate {
width: calc(50% - 0.5rem);
}
@media screen and (max-width: 900px) {
.user_plate {
width: 100%;
}
}
</style>
{% endblock %}