Software /
code /
prosody-modules
Comparison
mod_http_muc_log/res/http_muc_log.html @ 4592:38f501dca618
mod_http_muc_log: Find edit relations using XEP-0308
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 15 Jun 2021 17:35:56 +0200 |
parent | 4591:327c7cacd89f |
child | 4593:b65a363d32d2 |
comparison
equal
deleted
inserted
replaced
4591:327c7cacd89f | 4592:38f501dca618 |
---|---|
43 .presence .verb{font-style:normal;color:#30c030;} | 43 .presence .verb{font-style:normal;color:#30c030;} |
44 .unavailable .verb{color:#c03030;} | 44 .unavailable .verb{color:#c03030;} |
45 .button{display:inline-block} | 45 .button{display:inline-block} |
46 .button>a{color:white;background-color:orange;border-radius:4px} | 46 .button>a{color:white;background-color:orange;border-radius:4px} |
47 form{text-align:right} | 47 form{text-align:right} |
48 li:target{outline:1px gray dotted} | 48 li.edited{display:none} |
49 li:target{outline:1px gray dotted;display:inherit} | |
49 @media (prefers-color-scheme: dark) { | 50 @media (prefers-color-scheme: dark) { |
50 html{color:#eee} | 51 html{color:#eee} |
51 body{background-color:#161616} | 52 body{background-color:#161616} |
52 .content{background-color:#1c1c1c} | 53 .content{background-color:#1c1c1c} |
53 footer{color:#444} | 54 footer{color:#444} |
105 </noscript> | 106 </noscript> |
106 </form>} | 107 </form>} |
107 </div> | 108 </div> |
108 | 109 |
109 <ol class="chat-logs">{lines# | 110 <ol class="chat-logs">{lines# |
110 <li {item.lang&lang="{item.lang}"} class="{item.st_name} {item.st_type?}" id="{item.key}"> | 111 <li {item.lang&lang="{item.lang}"} class="{item.st_name} {item.st_type?} {item.edited&edited}" id="{item.key}"> |
111 <a class="time" href="#{item.key}"><time id="{item.time}" datetime="{item.datetime}">{item.time}</time></a> | 112 <a class="time" href="#{item.key}"><time id="{item.time}" datetime="{item.datetime}">{item.time}</time></a> |
112 <b class="nick">{item.nick}</b> | 113 <b class="nick">{item.nick}</b> |
113 <em class="verb">{item.verb?}</em> | 114 <em class="verb">{item.verb?}</em> |
114 <q class="body">{item.body?}</q> | 115 <q class="body">{item.edited&<del>}{item.body?}{item.edited&</del> <a href="#{item.edited}">✏</a>}{item.edit& <a href="#{item.edit}">✏</a>}</q> |
115 {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>} | 116 {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>} |
116 </li>} | 117 </li>} |
117 </ol> | 118 </ol> |
118 </main> | 119 </main> |
119 <hr> | 120 <hr> |