Added copy button to link field #216

Merged
bema merged 5 commits from bema/func/copy_button into master 2023-05-31 14:39:33 +02:00
Collaborator
No description provided.
bema added 4 commits 2023-05-31 14:34:04 +02:00
bema requested review from widlam 2023-05-31 14:34:12 +02:00
widlam requested changes 2023-05-31 14:35:53 +02:00
@@ -187,6 +187,11 @@ body {
font-size: 20px;
}
.invisible-button {
Collaborator

transparent-button

transparent-button
@@ -145,9 +152,11 @@ function loadFetchedMessage(){
}
function fillStaticFields(uuid, contentType, body, httpStatus){
const copyButton = '<button id="btn-copy" class="invisible-button">Copy</button>';
Collaborator

transparent-button

transparent-button
@@ -51,3 +51,3 @@
<div>
<label for="messageLink" class="block-display">Link</label>
<div id="messageLink" class="bordered-field max-width with-padding disabled-background tooltipped"><a class="hyperlink" href="www.google.com" target="_blank">www.google.com</a></div>
<div class="display-space-between bordered-field max-width with-padding disabled-background tooltipped"><a id="messageLink" class="hyperlink" href="www.google.com" target="_blank">www.google.com</a><button id="btn-copy" class="invisible-button">Copy</button></div>
Collaborator

transparent-button

transparent-button
bema added 1 commit 2023-05-31 14:36:31 +02:00
bema requested review from widlam 2023-05-31 14:36:35 +02:00
widlam approved these changes 2023-05-31 14:39:09 +02:00
widlam left a comment
Collaborator

👍

👍
bema changed title from WIP: Added copy button to link field to Added copy button to link field 2023-05-31 14:39:18 +02:00
bema merged commit 89517a6821 into master 2023-05-31 14:39:33 +02:00
bema deleted branch bema/func/copy_button 2023-05-31 14:39:34 +02:00
Sign in to join this conversation.
No description provided.