add: better profile card ui

This commit is contained in:
trisua 2025-04-02 14:19:37 -04:00
parent e0a6072cc4
commit 41ee7e4125
5 changed files with 25 additions and 12 deletions

View file

@ -77,7 +77,13 @@
or is_helper %}
<div class="w-full flex justify-between items-center">
<span class="notification chip">Last seen</span>
<span class="date">{{ profile.last_seen }}</span>
<div class="flex">
{{ components::online_indicator(user=profile) }}
<span class="date">
{{ profile.last_seen }}
</span>
</div>
</div>
{% endif %}
</div>

View file

@ -16,7 +16,7 @@ content %}
{{ components::user_card(user=item[1]) }}
</div>
{% endfor %}
{% endfor %} {{ components::pagination(page=page, items=list|length) }}
</div>
</div>
{% endblock %}

View file

@ -16,7 +16,7 @@ content %}
{{ components::user_card(user=item[1]) }}
</div>
{% endfor %}
{% endfor %} {{ components::pagination(page=page, items=list|length) }}
</div>
</div>
{% endblock %}