|
|
@ -14,15 +14,17 @@ |
|
|
|
<div class="card"> |
|
|
|
<div class="card"> |
|
|
|
<div class="card-body"> |
|
|
|
<div class="card-body"> |
|
|
|
<div class="icon-links float-right"> |
|
|
|
<div class="icon-links float-right"> |
|
|
|
<a href="" target="_blank" class="icon-link" data-toggle="tooltip" data-placement="top" title="<%= gettext("Copy Address") %>"> |
|
|
|
<button type="button" class="icon-link" data-toggle="tooltip" data-placement="top" title="<%= gettext("Copy Address") %>"> |
|
|
|
<i class="fas fa-clone"></i> |
|
|
|
<i class="fas fa-clone"></i> |
|
|
|
</a> |
|
|
|
</button> |
|
|
|
<a href="" target="_blank" class="icon-link" data-toggle="tooltip" data-placement="top" title="<%= gettext("QR Code") %>"> |
|
|
|
<span data-toggle="modal" data-target="#qrModal"> |
|
|
|
|
|
|
|
<button type="button" class="icon-link" data-toggle="tooltip" data-placement="top" title="<%= gettext("QR Code") %>"> |
|
|
|
<i class="fas fa-qrcode"></i> |
|
|
|
<i class="fas fa-qrcode"></i> |
|
|
|
</a> |
|
|
|
</button> |
|
|
|
<a href="" target="_blank" class="icon-link" data-toggle="tooltip" data-placement="top" title="<%= gettext("Info") %>"> |
|
|
|
</span> |
|
|
|
|
|
|
|
<button type="button" class="icon-link" data-toggle="tooltip" data-placement="top" title="<%= gettext("Info") %>"> |
|
|
|
<i class="fas fa-info"></i> |
|
|
|
<i class="fas fa-info"></i> |
|
|
|
</a> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<h1 class="card-title"><%= address_title(@address) %> Details </h1> |
|
|
|
<h1 class="card-title"><%= address_title(@address) %> Details </h1> |
|
|
|
<h3 class="" data-test="address_detail_hash"><%= @address %></h3> |
|
|
|
<h3 class="" data-test="address_detail_hash"><%= @address %></h3> |
|
|
@ -63,3 +65,24 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Modal --> |
|
|
|
|
|
|
|
<div class="modal fade" id="qrModal" tabindex="-1" role="dialog" aria-labelledby="qrModalLabel" aria-hidden="true"> |
|
|
|
|
|
|
|
<div class="modal-dialog modal-sm" role="document"> |
|
|
|
|
|
|
|
<div class="modal-content"> |
|
|
|
|
|
|
|
<div class="modal-header"> |
|
|
|
|
|
|
|
<h2 class="modal-title" id="qrModalLabel">QR Code</h2> |
|
|
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
|
|
|
|
|
|
|
<span aria-hidden="true">×</span> |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="modal-body"> |
|
|
|
|
|
|
|
<img src="data:image/png;base64, <%= qr_code(@address) %>" class="qr-code" alt="qr_code" title="<%= @address %>" /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="modal-footer"> |
|
|
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|