Mercurial > libervia-templates
view sat_templates/templates/bulma/chat/chat.html @ 289:f1a39607d6a5
bulma (base/base.html): `full_screen_body` parameter + body_wrapper:
- if `full_screen_body` is set in template, the `body--fullscreen` class will be added to
`<body>` element. It will then be a flexbox container (in columns), and displayed on the whole viewport.
- new `body_wrapper` block, if a page needs to replace the `#body` container.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 28 Sep 2020 17:25:26 +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 %}