diff sat_templates/templates/bulma/chat/direct_messages.html @ 403:65c53ec5e777

Bulma: complete redesign: This is a WIP full redesign of the whole web UI. Only chat is usable at the moment, many things are broken. The design uses the new Bulma v1+, has a look closer to industry standards, paves the way for a dark theme, and should be easy to use. It's a basis for coming features such as UI/UX for threads. rel 457
author Goffi <goffi@goffi.org>
date Fri, 11 Apr 2025 21:32:05 +0200
parents
children 5016fb0ff62f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_templates/templates/bulma/chat/direct_messages.html	Fri Apr 11 21:32:05 2025 +0200
@@ -0,0 +1,7 @@
+
+<ul class="menu-list">
+    {% for contact_jid, contact_data in roster.items() %}
+        {%- set name = identities[contact_jid].nicknames[0] | default(contact_jid) -%}
+        <li><a {{ {'href': chat_url + '/' + contact_jid}|xmlattr}} class="has-background-inherit has-text-white"><span class="icon"><i class="fas fa-circle has-text-success"></i></span>{{name}}</a></li>
+    {% endfor %}
+</ul>