Changed invisible-button class to transparent-button
This commit is contained in:
@@ -187,7 +187,7 @@ body {
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.invisible-button {
|
.transparent-button {
|
||||||
background-color: #00000000;
|
background-color: #00000000;
|
||||||
border: #00000000;
|
border: #00000000;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -152,9 +152,7 @@ function loadFetchedMessage(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fillStaticFields(uuid, contentType, body, httpStatus){
|
function fillStaticFields(uuid, contentType, body, httpStatus){
|
||||||
const copyButton = '<button id="btn-copy" class="invisible-button">Copy</button>';
|
|
||||||
let link = createLink(uuid);
|
let link = createLink(uuid);
|
||||||
let linkHtml = '<a class="hyperlink" target="_blank" href="'+link+'">'+link+'</a>' + copyButton;
|
|
||||||
$('#messageLink').attr("href", link);
|
$('#messageLink').attr("href", link);
|
||||||
$('#messageLink').html(link);
|
$('#messageLink').html(link);
|
||||||
$('#httpStatus').val(httpStatus);
|
$('#httpStatus').val(httpStatus);
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
<!-- link -->
|
<!-- link -->
|
||||||
<div>
|
<div>
|
||||||
<label for="messageLink" class="block-display">Link</label>
|
<label for="messageLink" class="block-display">Link</label>
|
||||||
<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>
|
<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="transparent-button">Copy</button></div>
|
||||||
<!-- <input id="messageLink" disabled class="bordered-field max-width with-padding" value="http://yourlink.com/r/api/mock/blablabla"> -->
|
<!-- <input id="messageLink" disabled class="bordered-field max-width with-padding" value="http://yourlink.com/r/api/mock/blablabla"> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="display-space-between max-width">
|
<div class="display-space-between max-width">
|
||||||
|
|||||||
Reference in New Issue
Block a user