Mercurial > libervia-templates
view default/chat/chat.html @ 129:ca42dc037bbf
file (discover): new discovery page:
the discovery page will show service, own devices and roster contact devices offering file sharing.
An extra field allow to enter free jid.
Added a small message in photo/discover.html has photo album discovery is not yes implemented.
New block and images macros.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Mar 2018 11:16:14 +0100 |
parents | f1bfca51a040 |
children |
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="chat_widget"> <div id="messages"> {% if subject is defined %} <div id="subject"> {{- subject|urlize(nofollow=true,target='_blank') -}} </div> {% endif %} {% for msg in messages %} {% include 'chat/message.html' %} {% endfor %} </div> <div class="message_box"> <textarea id="message_input" name="message" type="text" placeholder="{{_("enter your message")}}"></textarea> </div> </div> {% endblock body %} {% block footer %}{% endblock footer %}