- used bootstrap 5 CSS icon named copy, bootstrap 3 CSS glyphicon named duplicate

- keyboard-shortcuts made more accessible by wrapping the keys into kbd-tags
- translate messages may contain allowed HTML tags
- added the record to the CHANGELOG.md
This commit is contained in:
ribas160
2025-01-01 19:14:58 +02:00
parent a6a7df9a72
commit 0462da6e8e
45 changed files with 141 additions and 120 deletions
+3 -7
View File
@@ -581,13 +581,9 @@ endif;
<div id="attachmentPreview" class="col-md-12 text-center hidden"></div>
<h5 id="copyShortcutHint" class="col-md-12"><small id="copyShortcutHintText"></small></h5>
<div id="prettymessage" class="col-md-12 hidden">
<button id="prettymessageCopyBtn">
<svg xmlns="http://www.w3.org/2000/svg" id="copyIcon" viewBox="0 -960 960 960" fill="#e8eaed">
<path d="M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" id="copySuccessIcon" viewBox="0 -960 960 960" fill="#e8eaed">
<path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"/>
</svg>
<button id="prettyMessageCopyBtn">
<span id="copyIcon" class="glyphicon glyphicon-duplicate" aria-hidden="true"></span>
<span id="copySuccessIcon" class="glyphicon glyphicon-ok text-success" aria-hidden="true"></span>
</button>
<pre id="prettyprint" class="col-md-12 prettyprint linenums:1"></pre>
</div>