Mercurial > libervia-templates
view sat_templates/templates/bulma/chat/chat.html @ 325:8c779fb46384
bulma (components/block): interests_grid is more customisable:
- new `delete_icon` argument can be set to `false` if delete icon is not desired
- the macro can now be called, the caller then get 2 arguments: part to customise and
current interest. Part to customise can be:
* `header-title`: markup to put in the title
* `content`: car content (replaces the default `interest.name`)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 May 2021 18:44:47 +0200 |
parents | 1928ba66c194 |
children | 6a26c8a43d10 |
line wrap: on
line source
{{ script.include('chat') }} {% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% block title %}{{ target_jid }} - {{ super() }}{% endblock %} {% block body %} <div class="container has-background-white px-1 py-1"> <div id="messages"> {% if subject is defined %} <div class="notification is-primary"> {{- subject|urlize(nofollow=true,target='_blank') -}} </div> {% endif %} {% for msg in messages %} {% include 'chat/message.html' %} {% endfor %} </div> <textarea id="message_input" class="textarea mt-4 chat_input" name="message" type="text" rows="1" placeholder="{{_("enter your message")}}"></textarea> </div> {% endblock body %} {% block footer %}{% endblock footer %}