Mercurial > prosody-modules
diff mod_http_muc_log/res/http_muc_log.html @ 4963:479d618c9e6d
mod_http_muc_log: Show XEP-0444 reactions
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Jun 2022 21:23:42 +0200 |
parents | b65a363d32d2 |
children | b49d72160497 |
line wrap: on
line diff
--- a/mod_http_muc_log/res/http_muc_log.html Mon Jun 20 18:24:32 2022 +0200 +++ b/mod_http_muc_log/res/http_muc_log.html Sun Jun 26 21:23:42 2022 +0200 @@ -44,6 +44,7 @@ .unavailable .verb{color:#c03030;} .button{display:inline-block} .button>a{color:white;background-color:orange;border-radius:4px} +.reaction{font-size:smaller;outline:1px solid silver;border-radius:2px} form{text-align:right} li.edited{display:none} li:target{outline:1px gray dotted;display:inherit} @@ -113,6 +114,7 @@ <b class="nick">{item.nick}</b> <em class="verb">{item.verb?}</em> <q class="body">{item.edited&<del>}{item.body?}{item.edited&</del> <a href="#{item.edited}">✎</a>}{item.edit& <a href="#{item.edit}">✏</a>}</q> +{item.reactions%<span class="reaction">{idx} {item}</span>} {item.oob.url&<figure><a rel="nofollow" href="{item.oob.url?}"><img style="max-height:9em;max-width:16em" alt="{item.oob.desc?}" src="{item.oob.url?}"/></a><figcaption>{item.oob.desc?}</figcaption></figure>} </li>} </ol>