[V4] Ref: Export View

This commit is contained in:
Gabriel Bazán 2018-01-03 15:13:40 -03:00
parent b4770f75ae
commit 2963b2bd4f
4 changed files with 23 additions and 16 deletions

View File

@ -31,8 +31,6 @@
</div>
</div>
<ion-card class="not-supported-message" *ngIf="notSupportedMessage">
<ion-item>
{{notSupportedMessage}}
</ion-item>
<ion-card-content>{{notSupportedMessage}}</ion-card-content>
</ion-card>
</ion-content>

View File

@ -10,10 +10,8 @@ page-scan {
text-align: center;
background: transparent none;
.not-supported-message {
ion-item {
text-align: center;
text-transform: uppercase;
}
text-align: center;
text-transform: uppercase;
}
.page-scan-loading-camera {
height: 100%;

View File

@ -43,12 +43,16 @@
</div>
<div *ngIf="!canSign">
<span translate>
WARNING: The private key of this wallet is not available. The export allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so <b>funds will not be accessible from the export</b>.
WARNING: The private key of this wallet is not available. The export allows to check the wallet balance, transaction history,
and create spend proposals from the export. However, does not allow to approve (sign) proposals, so
<b>funds will not be accessible from the export</b>.
</span>
</div>
<div *ngIf="exportWalletForm.value.noSignEnabled">
<span translate>
WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so <b>funds will not be accessible from the export</b>.
WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals
from the export. However, does not allow to approve (sign) proposals, so
<b>funds will not be accessible from the export</b>.
</span>
</div>
<button *ngIf="!isSafari && !isCordova" ion-button block type="submit" (click)="downloadWalletBackup()" [disabled]="(!exportWalletForm.value.password || exportWalletForm.value.password != exportWalletForm.value.confirmPassword) || !exportWalletForm.valid ">Download</button>
@ -66,13 +70,13 @@
</div>
</ion-list>
<ion-list *ngSwitchCase="'qrCode'">
<ion-item *ngIf="supported">
<div class="qrCode" *ngIf="supported">
<qr-code [value]="exportWalletInfo" [level]="M" [size]="220" [foreground]="'#334'"></qr-code>
<div translate>From the destination device, go to Add wallet &gt; Import wallet and scan this QR code</div>
</ion-item>
<ion-item *ngIf="!supported">
<span translate>Exporting via QR not supported for this wallet</span>
</ion-item>
</div>
<ion-card class="not-supported-message" *ngIf="!supported">
<ion-card-content>Exporting via QR not supported for this wallet</ion-card-content>
</ion-card>
</ion-list>
</div>
</ion-content>

View File

@ -1,3 +1,10 @@
.page-wallet-export {
page-wallet-export {
.qrCode {
text-align: center;
padding: 10px;
}
.not-supported-message {
text-align: center;
text-transform: uppercase;
}
}