14 lines
606 B
HTML
14 lines
606 B
HTML
<div class="td-payload">
|
|
<div style="display:flex; align-items:center; gap:8px; margin-bottom:4px; padding:0 16px;">
|
|
<button class="copy-btn" title="Copy to clipboard">📋</button>
|
|
</div>
|
|
{% if formatted_json %}
|
|
{# textarea: browser virtualizes rendering — only lays out visible lines #}
|
|
<textarea readonly spellcheck="false"
|
|
class="td-textarea copy-source"
|
|
style="white-space:pre; overflow:auto;">{{- formatted_json -}}</textarea>
|
|
{% endif %}
|
|
{% if not formatted_json %}
|
|
<div class="td-load-hint">(empty)</div>
|
|
{% endif %}
|
|
</div>
|