[faucet] improve feedback upon success

This commit is contained in:
nymkappa
2024-05-17 20:45:39 +02:00
parent 6b16b2d651
commit 3bbdf6fb25
2 changed files with 10 additions and 1 deletions

View File

@@ -6,7 +6,14 @@
<div class="faucet-container text-center">
@if (loading) {
@if (txid) {
<div class="alert alert-success w-100 text-truncate">
<fa-icon [icon]="['fas', 'circle-check']"></fa-icon>
Sent!
<a class="text-primary" [href]="'/testnet4/txid/' + txid">{{ txid }}</a>
</div>
}
@else if (loading) {
<p>Loading faucet...</p>
<div class="spinner-border text-light"></div>
} @else if (!user) {