Mercurial > libervia-templates
annotate sat_templates/templates/bulma/chat/chat.html @ 271:dea66eead698
bulma (dialogs): new `notification.html` template
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 14 Aug 2020 08:46:03 +0200 |
parents | 1928ba66c194 |
children | 6a26c8a43d10 |
rev | line source |
---|---|
230 | 1 {{ script.include('chat') }} |
2 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} | |
3 {% block title %}{{ target_jid }} - {{ super() }}{% endblock %} | |
4 {% block body %} | |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
5 <div class="container has-background-white px-1 py-1"> |
230 | 6 <div id="messages"> |
7 {% if subject is defined %} | |
8 <div class="notification is-primary"> | |
9 {{- subject|urlize(nofollow=true,target='_blank') -}} | |
10 </div> | |
11 {% endif %} | |
12 {% for msg in messages %} | |
13 {% include 'chat/message.html' %} | |
14 {% endfor %} | |
15 </div> | |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
16 <textarea id="message_input" class="textarea mt-4 chat_input" name="message" type="text" rows="1" placeholder="{{_("enter your message")}}"></textarea> |
230 | 17 </div> |
18 {% endblock body %} | |
19 | |
20 {% block footer %}{% endblock footer %} |