diff --git a/priv/assets/css/ldf.css b/priv/assets/css/ldf.css index af9c7ea..6cb7954 100644 --- a/priv/assets/css/ldf.css +++ b/priv/assets/css/ldf.css @@ -154,12 +154,18 @@ tbody tr.new { animation: flashin .7s ease-out; } /* per-message ETSI conversion */ .rec-etsi { display: flex; gap: 8px; margin-top: 10px; } -.etsi-btn { padding: 5px 11px; font-size: 10.5px; letter-spacing: .08em; } +.etsi-btn { + font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; + padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: background .15s, box-shadow .15s; + border: 1px solid var(--live); background: rgba(46,230,166,.16); color: var(--live); +} +.etsi-btn:hover { background: rgba(46,230,166,.28); box-shadow: 0 0 0 3px rgba(46,230,166,.1); } .etsi:empty { display: none; } .etsi-bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; } .etsi-label { color: var(--live); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; } .etsi-label.etsi-err { color: var(--danger); } -.etsi-hide { margin-left: auto; padding: 4px 10px; font-size: 10.5px; } +.etsi-copy { margin-left: auto; padding: 4px 11px; } +.etsi-hide { padding: 4px 10px; font-size: 10.5px; } .etsi-pre { margin: 8px 0 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; max-height: 360px; overflow: auto; font-size: 11.5px; line-height: 1.45; white-space: pre; } .etsi-pre code { color: var(--text); } diff --git a/src/controllers/ldf_www_controller.erl b/src/controllers/ldf_www_controller.erl index 4d5aac7..949711a 100644 --- a/src/controllers/ldf_www_controller.erl +++ b/src/controllers/ldf_www_controller.erl @@ -197,7 +197,10 @@ etsi_block(Format, MessageId, EscapedXml) -> iolist_to_binary([ ~"
ETSI ", Format, - ~"", + ~"
",
         EscapedXml,
diff --git a/src/views/admin.dtl b/src/views/admin.dtl
index d2b040b..8a94605 100644
--- a/src/views/admin.dtl
+++ b/src/views/admin.dtl
@@ -10,7 +10,7 @@
     
- +
diff --git a/src/views/history.dtl b/src/views/history.dtl index f486f74..0d8c63a 100644 --- a/src/views/history.dtl +++ b/src/views/history.dtl @@ -10,10 +10,10 @@
- +
- +

Replays messages from this point in time onward (UTC).

diff --git a/src/views/message_row.dtl b/src/views/message_row.dtl index abd6a9e..463ebff 100644 --- a/src/views/message_row.dtl +++ b/src/views/message_row.dtl @@ -1 +1 @@ -
{% if email %}{{ email }}{% endif %}{% if phone %}{{ phone }}{% endif %}{% if not email %}{% if not phone %}unidentified{% endif %}{% endif %}{{ time }}
{% if link %}{{ link }}{% else %}{{ text }}{% endif %}
type{{ type }}{% if action %} / {{ action }}{% endif %}msg{{ id }}chat{{ chat }}sender{{ sender }}to{{ recipient }}{% if agent %}agent{{ agent }}{% endif %}
{% if full_id %}
{% endif %}
+
{% if email %}{{ email }}{% endif %}{% if phone %}{{ phone }}{% endif %}{% if not email %}{% if not phone %}unidentified{% endif %}{% endif %}{{ time }}
{% if link %}{{ link }}{% else %}{{ text }}{% endif %}
type{{ type }}{% if action %} / {{ action }}{% endif %}msg{{ id }}chat{{ chat }}sender{{ sender }}to{{ recipient }}{% if agent %}agent{{ agent }}{% endif %}
{% if full_id %}
{% endif %}