Mercurial > libervia-templates
comparison sat_templates/templates/bulma/chat/message.html @ 364:095bd5b34080
chat: add templates for URL previews
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 28 Jun 2023 10:40:53 +0200 |
parents | cddac8502c4b |
children | a5a80d761e3e |
comparison
equal
deleted
inserted
replaced
363:cddac8502c4b | 364:095bd5b34080 |
---|---|
37 </nav> | 37 </nav> |
38 {% endif -%} | 38 {% endif -%} |
39 <p class="msg_body has-whitespace-pre-wrap" id="msg_body_{{msg.id}}" style="margin: 0;"> | 39 <p class="msg_body has-whitespace-pre-wrap" id="msg_body_{{msg.id}}" style="margin: 0;"> |
40 {{- msg.html or (msg.text|e|urlize|safe) -}} | 40 {{- msg.html or (msg.text|e|urlize|safe) -}} |
41 </p> | 41 </p> |
42 | |
43 <div class="url-previews is-hidden"> | |
44 <div class="icon-container"></div> | |
45 </div> | |
46 | |
42 <div id="actions_{{msg.id}}" class="level is-mobile actions mb-0"> | 47 <div id="actions_{{msg.id}}" class="level is-mobile actions mb-0"> |
43 <div class="level-right"> | 48 <div class="level-right"> |
44 {#{{ icon('share', cls='icon is-small action-button', id='msg_share_{{msg.id}}') }} #} | 49 {#{{ icon('share', cls='icon is-small action-button', id='msg_share_{{msg.id}}') }} #} |
45 {{ icon('dot-3', cls='icon is-small action-button', id='msg_actions_{{msg.id}}') }} | 50 {{ icon('dot-3', cls='icon is-small action-button', id='msg_actions_{{msg.id}}') }} |
46 </div> | 51 </div> |