view sat_templates/templates/bulma/chat/chat.html @ 230:0e69b5843c2f

theme: bulma theme first draft: This theme uses the Bulma CSS framework, Brython to handle the menu on touch devices, and Sass to customize Bulma. CSS default fallbacks are disabled as Bulma uses its own naming conventions, and default fallbacks would lead to hard to debug conflicts. `common.js` has been slightly improved to handle custom classed in `tab_select` The theme is not complete yet, but it is functional.
author Goffi <goffi@goffi.org>
date Tue, 19 May 2020 00:02:34 +0200
parents
children 1928ba66c194
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 has-padding-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 has-margin-top-1 chat_input" name="message" type="text" rows="1" placeholder="{{_("enter your message")}}"></textarea>
</div>
{% endblock body %}

{% block footer %}{% endblock footer %}