comparison sat_templates/templates/bulma/chat/chat.html @ 246:1928ba66c194

bulma: replaced custom styles by new spacing helpers
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents 0e69b5843c2f
children 6a26c8a43d10
comparison
equal deleted inserted replaced
245:10278ba367a2 246:1928ba66c194
1 {{ script.include('chat') }} 1 {{ script.include('chat') }}
2 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} 2 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
3 {% block title %}{{ target_jid }} - {{ super() }}{% endblock %} 3 {% block title %}{{ target_jid }} - {{ super() }}{% endblock %}
4 {% block body %} 4 {% block body %}
5 <div class="container has-background-white has-padding-1"> 5 <div class="container has-background-white px-1 py-1">
6 <div id="messages"> 6 <div id="messages">
7 {% if subject is defined %} 7 {% if subject is defined %}
8 <div class="notification is-primary"> 8 <div class="notification is-primary">
9 {{- subject|urlize(nofollow=true,target='_blank') -}} 9 {{- subject|urlize(nofollow=true,target='_blank') -}}
10 </div> 10 </div>
11 {% endif %} 11 {% endif %}
12 {% for msg in messages %} 12 {% for msg in messages %}
13 {% include 'chat/message.html' %} 13 {% include 'chat/message.html' %}
14 {% endfor %} 14 {% endfor %}
15 </div> 15 </div>
16 <textarea id="message_input" class="textarea has-margin-top-1 chat_input" name="message" type="text" rows="1" placeholder="{{_("enter your message")}}"></textarea> 16 <textarea id="message_input" class="textarea mt-4 chat_input" name="message" type="text" rows="1" placeholder="{{_("enter your message")}}"></textarea>
17 </div> 17 </div>
18 {% endblock body %} 18 {% endblock body %}
19 19
20 {% block footer %}{% endblock footer %} 20 {% block footer %}{% endblock footer %}