Add link for wallets on the same device

This commit is contained in:
Rene Vergara 2021-11-12 11:16:21 -06:00
parent f3e8bf22e3
commit 1336cc2009
4 changed files with 17 additions and 15 deletions

View file

@ -42,7 +42,7 @@
<mat-list-item *ngFor="let tx of txsUpdate | async">It needs {{10 - tx.confirmations}} more confirmations.</mat-list-item>
</mat-list>
</mat-card>
<mat-card [formGroup]="entryForm" *ngIf="!prompt">
<mat-card [formGroup]="entryForm" *ngIf="!prompt && txs.length <=0">
<div align="center" id="info">
<mat-form-field appearance="outline">
<mat-label>Session length</mat-label>

View file

@ -44,10 +44,13 @@ export class LoginComponent implements OnInit {
tickets = [
{
value: 0.001,
viewValue: 'One hour'
viewValue: '1 hour: 0.001 ZEC'
},{
value: 0.005,
viewValue: 'One day'
viewValue: '1 day: 0.005 ZEC'
},{
value: 0.025,
viewValue: '1 week: 0.025 ZEC'
}
];
prompt: boolean = false;

View file

@ -1,3 +1,6 @@
.text {
font-family: "Roboto Mono", monospace;
}
.small {
font-size: small;
}

View file

@ -1,19 +1,15 @@
<div align="center" mat-dialog-title>
<h2 class="text">Scan to log in!</h2>
<span class="text">Scan to log in!</span>
</div>
<mat-dialog-content>
<div align="center" id="checkout-qr"></div>
</mat-dialog-content>
<mat-dialog-actions>
<table cellspacing="0" width="100%">
<tr>
<td>
<button mat-raised-button color="primary" (click)="confirm()">
<mat-icon>verified_user</mat-icon>
</button>
</td>
</tr>
</table>
<mat-dialog-actions align="center">
<div align="center">
<button mat-raised-button color="primary" (click)="confirm()">
<mat-icon>verified_user</mat-icon>
</button><br>
<p class="small text">Can't scan? Use this <a href="zcashUrl">wallet link</a>.
</div>
</mat-dialog-actions>