test: add open in wallet button

This commit is contained in:
nate 2026-03-25 22:44:01 +04:00
parent 430e7f1dbe
commit d01d435565
1 changed files with 6 additions and 0 deletions

View File

@ -171,6 +171,12 @@
<img src="<%= inv.qr_url %>" alt="QR Code" class="w-44 h-44 rounded-xl bg-white p-2" id="pay-qr">
</a>
<!-- Open in wallet -->
<a href="<%= inv.pay_uri %>" class="inline-flex items-center gap-2 text-xs text-gray-400 hover:text-gray-200 border border-border-subtle hover:border-border-strong rounded-lg px-4 py-2 transition-colors">
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/></svg>
Open in wallet
</a>
<!-- Amount -->
<div class="text-center">
<div class="text-xs text-gray-500 uppercase tracking-wider mb-1">Send exactly</div>