mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-07-17 16:39:40 +00:00
fix: move copy to clipboard button outside of prettymessage block
This commit is contained in:
parent
b77639849c
commit
5bbe713b9c
45 changed files with 125 additions and 152 deletions
|
|
@ -480,12 +480,13 @@ endif;
|
|||
<article>
|
||||
<div id="placeholder" class="col-md-12 hidden"><?php echo I18n::_('+++ no document text +++'); ?></div>
|
||||
<div id="attachmentPreview" class="col-md-12 text-center hidden"></div>
|
||||
<h6 id="copyShortcutHint" class="col-md-12"><small id="copyShortcutHintText"></small></h6>
|
||||
<h6 id="copyShortcutHint" class="col-md-12 nav justify-content-between align-items-center mb-2 hidden">
|
||||
<small id="copyShortcutHintText">
|
||||
<?php echo I18n::_("To copy document press on the copy button or use the clipboard shortcut <kbd>Ctrl</kbd>+<kbd>c</kbd>/<kbd>Cmd</kbd>+<kbd>c</kbd>") ?>
|
||||
</small>
|
||||
<button type="button" id="copyShortcutHintBtn" class="btn btn-secondary"><?php echo I18n::_('Copy'); ?></button>
|
||||
</h6>
|
||||
<div id="prettymessage" class="card col-md-12 hidden">
|
||||
<button type="button" id="prettyMessageCopyBtn" class="text-secondary opacity-05-1-hover">
|
||||
<svg id="copyIcon" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#copy" /></svg>
|
||||
<svg id="copySuccessIcon" class="text-success" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#check" /></svg>
|
||||
</button>
|
||||
<pre id="prettyprint" class="card-body col-md-12 prettyprint linenums:1"></pre>
|
||||
</div>
|
||||
<div id="plaintext" class="col-md-12 hidden"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue