2016-09-06 11:11:02 -07:00
|
|
|
<div ng-show="importErr" class="padding assertive" ng-click="importErr = null">
|
|
|
|
<div translate>Could not access the wallet at the server. Please check:</div>
|
|
|
|
<ul>
|
|
|
|
<li translate>The password of the recovery phrase (if set)</li>
|
|
|
|
<li translate>The derivation path</li>
|
|
|
|
<li translate>The wallet service URL</li>
|
|
|
|
</ul>
|
|
|
|
<div translate>
|
|
|
|
NOTE: To import a wallet from a 3rd party software, please go to Add Wallet > Create Wallet, and specify the Recovery Phrase there.
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-19 12:16:24 -07:00
|
|
|
|
2016-09-06 11:11:02 -07:00
|
|
|
<form name="importForm12" ng-submit="importMnemonic(importForm12)" novalidate>
|
2016-10-12 22:31:15 -07:00
|
|
|
<div class="list settings-list settings-input-group">
|
2016-10-26 11:54:29 -07:00
|
|
|
<div>
|
|
|
|
<label class="item item-input item-stacked-label no-border">
|
|
|
|
<span class="input-label" translate>Type the Recovery Phrase (usually 12 words)</span>
|
|
|
|
<textarea ng-model="formData.words"
|
|
|
|
rows="3"
|
|
|
|
autocapitalize="off"
|
2017-05-19 12:29:44 -07:00
|
|
|
autocomplete="off"
|
|
|
|
autocorrect="off"
|
2016-10-26 11:54:29 -07:00
|
|
|
spellcheck="false"></textarea>
|
|
|
|
</label>
|
2016-10-13 07:45:45 -07:00
|
|
|
<div class="qr-scan-icon">
|
2016-09-06 11:11:02 -07:00
|
|
|
<qr-scanner class="qr-icon size-24" on-scan="processWalletInfo(data)"></qr-scanner>
|
2016-09-01 05:53:17 -07:00
|
|
|
</div>
|
2016-10-26 11:54:29 -07:00
|
|
|
</div>
|
2016-10-12 13:43:23 -07:00
|
|
|
<div class="item item-divider"></div>
|
|
|
|
|
|
|
|
<a class="item" ng-click="showAdvChange()">
|
2016-09-06 11:11:02 -07:00
|
|
|
<span translate ng-show="!showAdv">Show advanced options</span>
|
|
|
|
<span translate ng-show="showAdv">Hide advanced options</span>
|
2016-10-12 13:43:23 -07:00
|
|
|
</a>
|
2016-08-19 12:16:24 -07:00
|
|
|
|
2016-09-06 11:11:02 -07:00
|
|
|
<div ng-show="showAdv">
|
|
|
|
<label class="item item-input item-stacked-label">
|
|
|
|
<span class="input-label" translate>Password</span>
|
2016-12-19 06:13:21 -08:00
|
|
|
<input type="password"
|
2016-09-06 11:11:02 -07:00
|
|
|
placeholder="{{'The recovery phrase could require a password to be imported'|translate}}"
|
|
|
|
autocapitalize="off"
|
|
|
|
ng-model="formData.passphrase">
|
|
|
|
</label>
|
2016-08-19 12:16:24 -07:00
|
|
|
|
2016-09-06 11:11:02 -07:00
|
|
|
<label class="item item-input item-stacked-label">
|
|
|
|
<span class="input-label" translate>Derivation Path</span>
|
|
|
|
<input type="text"
|
|
|
|
placeholder="{{'BIP32 path for address derivation'|translate}}"
|
|
|
|
ng-model="formData.derivationPath">
|
|
|
|
</label>
|
2016-08-19 12:16:24 -07:00
|
|
|
|
2017-06-12 12:22:50 -07:00
|
|
|
|
2017-06-12 12:53:03 -07:00
|
|
|
<ion-toggle ng-model="fromHardwareWallet.value" toggle-class="toggle-positive">
|
|
|
|
<span class="toggle-label" translate>From Hardware Wallet</span>
|
2017-06-12 12:22:50 -07:00
|
|
|
</ion-toggle>
|
|
|
|
|
2017-06-12 12:53:03 -07:00
|
|
|
<label class="item item-input item-select" ng-if="fromHardwareWallet.value">
|
|
|
|
<div class="input-label" translate>
|
|
|
|
Wallet Type
|
|
|
|
</div>
|
|
|
|
<select class="m10t" ng-model="formData.seedSourceAll" ng-options="seed as seed.label for seed in seedOptionsAll"></select>
|
|
|
|
</label>
|
2017-06-12 12:22:50 -07:00
|
|
|
|
|
|
|
<ion-toggle ng-model="formData.testnetEnabled" ng-change="setDerivationPath()" toggle-class="toggle-positive">
|
|
|
|
<span translate>Testnet</span>
|
|
|
|
</ion-toggle>
|
|
|
|
|
|
|
|
|
2016-09-06 11:11:02 -07:00
|
|
|
<label class="item item-input item-stacked-label">
|
2017-04-19 20:51:24 -07:00
|
|
|
<span class="input-label" translate>Wallet Service URL</span>
|
2016-09-06 11:11:02 -07:00
|
|
|
<input type="text" ng-model="formData.bwsurl">
|
|
|
|
</label>
|
2016-08-19 12:16:24 -07:00
|
|
|
|
2016-09-06 11:11:02 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-19 12:16:24 -07:00
|
|
|
|
2016-09-06 11:11:02 -07:00
|
|
|
<button type="submit"
|
2016-10-11 20:23:54 -07:00
|
|
|
class="button button-standard button-primary"
|
2016-09-06 11:11:02 -07:00
|
|
|
ng-disabled="importForm12.$invalid" translate>Import
|
|
|
|
</button>
|
|
|
|
</form>
|