|
|
@ -134,7 +134,7 @@ |
|
|
|
<% {:ok, contract_code} -> %> |
|
|
|
<% {:ok, contract_code} -> %> |
|
|
|
<%= if smart_contract_verified do %> |
|
|
|
<%= if smart_contract_verified do %> |
|
|
|
<div class="d-flex justify-content-between align-items-baseline"> |
|
|
|
<div class="d-flex justify-content-between align-items-baseline"> |
|
|
|
<h3><%= gettext "Contract Byte Code" %></h3> |
|
|
|
<h3><%= gettext "Deployed Contract Byte Code" %></h3> |
|
|
|
<button type="button" class="btn-line" style="float: left;" id="button" data-clipboard-text="<%= contract_code %>" aria-label="copy contract creation code"> |
|
|
|
<button type="button" class="btn-line" style="float: left;" id="button" data-clipboard-text="<%= contract_code %>" aria-label="copy contract creation code"> |
|
|
|
<%= gettext "Copy Byte Code" %> |
|
|
|
<%= gettext "Copy Byte Code" %> |
|
|
|
</button> |
|
|
|
</button> |
|
|
@ -142,7 +142,7 @@ |
|
|
|
<% else %> |
|
|
|
<% else %> |
|
|
|
<div class="d-flex justify-content-between align-items-baseline contract-code-container"> |
|
|
|
<div class="d-flex justify-content-between align-items-baseline contract-code-container"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<h3><%= gettext "Contract Byte Code" %></h3> |
|
|
|
<h3><%= gettext "Deployed Contract Byte Code" %></h3> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="buttons"> |
|
|
|
<div class="buttons"> |
|
|
|
<button type="button" class="btn-line" style="float: left;" id="button" data-clipboard-text="<%= contract_code %>" aria-label="copy contract creation code"> |
|
|
|
<button type="button" class="btn-line" style="float: left;" id="button" data-clipboard-text="<%= contract_code %>" aria-label="copy contract creation code"> |
|
|
|