mirror of https://github.com/BTCPrivate/copay.git
Missing ion-view element and bar-stable class for topbar
This commit is contained in:
parent
48a182e658
commit
9d341a2cd9
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-title>{{'Add wallet' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Add wallet' | translate}}</ion-nav-title>
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-buttons side="primary">
|
||||||
<button class="button no-border" ui-sref="tabs.home">
|
<button class="button no-border" ui-sref="tabs.home">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-buttons side="primary">
|
||||||
<button class="button no-border" ng-click="$ionicGoBack()">
|
<button class="button no-border" ng-click="$ionicGoBack()">
|
||||||
<i class="icon ion-chevron-left"></i> {{'Back' | translate}}
|
<i class="icon ion-chevron-left"></i> {{'Back' | translate}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-buttons side="primary">
|
||||||
<button class="button button-stable no-border" ui-sref="tabs.settings">
|
<button class="button button-stable no-border" ui-sref="tabs.settings">
|
||||||
<i class="icon ion-chevron-left"></i> {{'Back' | translate}}
|
<i class="icon ion-chevron-left"></i> {{'Back' | translate}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view >
|
<ion-view >
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-title>{{'Advanced Preferences' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Advanced Preferences' | translate}}</ion-nav-title>
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
|
|
|
@ -1,161 +1,163 @@
|
||||||
<ion-nav-bar class="bar-stable">
|
<ion-view>
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-bar class="bar-stable">
|
||||||
<button class="button no-border" ui-sref="tabs.add">
|
<ion-nav-buttons side="primary">
|
||||||
<i class="icon ion-chevron-left"></i> Back
|
<button class="button no-border" ui-sref="tabs.add">
|
||||||
</button>
|
<i class="icon ion-chevron-left"></i> Back
|
||||||
</ion-nav-buttons>
|
</button>
|
||||||
<ion-nav-title>Create new wallet</ion-nav-title>
|
</ion-nav-buttons>
|
||||||
</ion-nav-bar>
|
<ion-nav-title>Create new wallet</ion-nav-title>
|
||||||
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content ng-controller="createController as create" ng-init="create.setTotalCopayers(3)">
|
<ion-content ng-controller="createController as create" ng-init="create.setTotalCopayers(3)">
|
||||||
|
|
||||||
<div class="padding assertive" ng-show="create.error">
|
<div class="padding assertive" ng-show="create.error">
|
||||||
{{create.error|translate}}
|
{{create.error|translate}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form name="setupForm" ng-submit="create.create(setupForm)" novalidate>
|
<form name="setupForm" ng-submit="create.create(setupForm)" novalidate>
|
||||||
|
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<label ng-hide="create.hideWalletName" class="item item-input item-stacked-label">
|
<label ng-hide="create.hideWalletName" class="item item-input item-stacked-label">
|
||||||
<span class="input-label" translate>Wallet name</span>
|
<span class="input-label" translate>Wallet name</span>
|
||||||
<input type="text"
|
<input type="text"
|
||||||
placeholder="{{'Family vacation funds'|translate}}"
|
placeholder="{{'Family vacation funds'|translate}}"
|
||||||
name="walletName"
|
name="walletName"
|
||||||
ng-model="walletName"
|
ng-model="walletName"
|
||||||
ng-required="true"
|
ng-required="true"
|
||||||
ng-focus="create.formFocus('wallet-name')"
|
ng-focus="create.formFocus('wallet-name')"
|
||||||
ng-blur="create.formFocus(false)">
|
ng-blur="create.formFocus(false)">
|
||||||
</label>
|
|
||||||
|
|
||||||
<label ng-show="totalCopayers != 1" class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label" translate>Your nickname</span>
|
|
||||||
<input type="text"
|
|
||||||
placeholder="{{'John'|translate}}"
|
|
||||||
name="myName"
|
|
||||||
ng-model="myName"
|
|
||||||
ng-required="totalCopayers != 1"
|
|
||||||
ng-disabled="totalCopayers == 1"
|
|
||||||
ng-focus="create.formFocus('my-name')"
|
|
||||||
ng-blur="create.formFocus(false)">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label ng-show="totalCopayers != 1" class="item item-input item-select">
|
|
||||||
<div class="input-label" translate>
|
|
||||||
Total number of copayers
|
|
||||||
</div>
|
|
||||||
<select class="m10t"
|
|
||||||
ng-model="totalCopayers"
|
|
||||||
ng-options="totalCopayers as totalCopayers for totalCopayers in create.TCValues"
|
|
||||||
ng-change="create.setTotalCopayers(totalCopayers)">
|
|
||||||
</select>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label ng-show="totalCopayers != 1" class="item item-input item-select">
|
|
||||||
<div class="input-label" translate>
|
|
||||||
Required number of signatures
|
|
||||||
</div>
|
|
||||||
<select class="m10t"
|
|
||||||
ng-model="requiredCopayers"
|
|
||||||
ng-options="requiredCopayers as requiredCopayers for requiredCopayers in create.RCValues"
|
|
||||||
ng-disabled="totalCopayers == 1">
|
|
||||||
</select>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable" ng-change="showAdvChange()">
|
|
||||||
<span translate ng-show="!showAdv">Show advanced options</span>
|
|
||||||
<span translate ng-show="showAdv">Hide advanced options</span>
|
|
||||||
</ion-toggle>
|
|
||||||
|
|
||||||
<div ng-show="showAdv">
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label">Wallet Service URL</span>
|
|
||||||
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="item item-input item-select">
|
<label ng-show="totalCopayers != 1" class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label" translate>Your nickname</span>
|
||||||
|
<input type="text"
|
||||||
|
placeholder="{{'John'|translate}}"
|
||||||
|
name="myName"
|
||||||
|
ng-model="myName"
|
||||||
|
ng-required="totalCopayers != 1"
|
||||||
|
ng-disabled="totalCopayers == 1"
|
||||||
|
ng-focus="create.formFocus('my-name')"
|
||||||
|
ng-blur="create.formFocus(false)">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label ng-show="totalCopayers != 1" class="item item-input item-select">
|
||||||
<div class="input-label" translate>
|
<div class="input-label" translate>
|
||||||
Wallet Key
|
Total number of copayers
|
||||||
</div>
|
</div>
|
||||||
<select class="m10t"
|
<select class="m10t"
|
||||||
ng-model="seedSource"
|
ng-model="totalCopayers"
|
||||||
ng-options="seed as seed.label for seed in create.seedOptions"
|
ng-options="totalCopayers as totalCopayers for totalCopayers in create.TCValues"
|
||||||
ng-change="create.setSeedSource()">
|
ng-change="create.setTotalCopayers(totalCopayers)">
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label"
|
<label ng-show="totalCopayers != 1" class="item item-input item-select">
|
||||||
ng-show="create.seedSourceId == 'trezor' || create.seedSourceId == 'ledger'">
|
<div class="input-label" translate>
|
||||||
<span class="input-label" translate>Account Number</span>
|
Required number of signatures
|
||||||
<input type="number" id="account" ng-model="account" ignore-mouse-wheel>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<div class="card" ng-show="create.seedSourceId=='new' && createPassphrase">
|
|
||||||
<div class="item item-text-wrap" translate>
|
|
||||||
WARNING: The password cannot be recovered. <b>Be sure to write it down</b>. The wallet can not be restored without the password.
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<select class="m10t"
|
||||||
|
ng-model="requiredCopayers"
|
||||||
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId=='new'">
|
ng-options="requiredCopayers as requiredCopayers for requiredCopayers in create.RCValues"
|
||||||
<span class="input-label" translate>Add a Password</span>
|
ng-disabled="totalCopayers == 1">
|
||||||
<input type="text"
|
</select>
|
||||||
placeholder="{{'Add an optional password to secure the recovery phrase'|translate}}"
|
|
||||||
autocapitalize="off"
|
|
||||||
name="createPassphrase"
|
|
||||||
ng-model="createPassphrase">
|
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable" ng-change="showAdvChange()">
|
||||||
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId=='set'">
|
<span translate ng-show="!showAdv">Show advanced options</span>
|
||||||
<span class="input-label" translate>Wallet Recovery Phrase</span>
|
<span translate ng-show="showAdv">Hide advanced options</span>
|
||||||
<input id="ext-master"
|
|
||||||
placeholder="{{'Enter the recovery phrase (BIP39)'|translate}}"
|
|
||||||
autocapitalize="off"
|
|
||||||
type="text"
|
|
||||||
name="privateKey"
|
|
||||||
ng-model="privateKey">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId=='set'">
|
|
||||||
<span class="input-label" translate>Password</span>
|
|
||||||
<input type="text"
|
|
||||||
placeholder="{{'The recovery phrase could require a password to be imported'|translate}}"
|
|
||||||
autocapitalize="off"
|
|
||||||
name="passphrase"
|
|
||||||
ng-model="passphrase">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId == 'set'">
|
|
||||||
<span class="input-label" translate>Derivation Path</span>
|
|
||||||
<input type="text"
|
|
||||||
placeholder="{{'BIP32 path for address derivation'|translate}}"
|
|
||||||
name="derivationPath"
|
|
||||||
ng-model="derivationPath">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<ion-toggle ng-show="create.seedSourceId == 'new'" ng-model="testnetEnabled" toggle-class="toggle-positive">
|
|
||||||
Testnet
|
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
|
|
||||||
<ion-toggle ng-model="singleAddressEnabled" toggle-class="toggle-positive">
|
<div ng-show="showAdv">
|
||||||
<span translate>Single Address Wallet</span>
|
|
||||||
<small translate>For audit purposes</small>
|
|
||||||
</ion-toggle>
|
|
||||||
|
|
||||||
</div> <!-- advanced -->
|
<label class="item item-input item-stacked-label">
|
||||||
</div> <!-- list -->
|
<span class="input-label">Wallet Service URL</span>
|
||||||
|
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
||||||
|
</label>
|
||||||
|
|
||||||
<button type="submit"
|
<label class="item item-input item-select">
|
||||||
class="button button-block button-positive"
|
<div class="input-label" translate>
|
||||||
ng-show="totalCopayers != 1" ng-disabled="setupForm.$invalid">
|
Wallet Key
|
||||||
<span translate>Create {{requiredCopayers}}-of-{{totalCopayers}} wallet</span>
|
</div>
|
||||||
</button>
|
<select class="m10t"
|
||||||
|
ng-model="seedSource"
|
||||||
|
ng-options="seed as seed.label for seed in create.seedOptions"
|
||||||
|
ng-change="create.setSeedSource()">
|
||||||
|
</select>
|
||||||
|
</label>
|
||||||
|
|
||||||
<button type="submit"
|
<label class="item item-input item-stacked-label"
|
||||||
class="button button-block button-positive"
|
ng-show="create.seedSourceId == 'trezor' || create.seedSourceId == 'ledger'">
|
||||||
ng-show="totalCopayers == 1" ng-disabled="setupForm.$invalid">
|
<span class="input-label" translate>Account Number</span>
|
||||||
<span translate>Create new wallet</span>
|
<input type="number" id="account" ng-model="account" ignore-mouse-wheel>
|
||||||
</button>
|
</label>
|
||||||
|
|
||||||
</form>
|
<div class="card" ng-show="create.seedSourceId=='new' && createPassphrase">
|
||||||
</ion-content>
|
<div class="item item-text-wrap" translate>
|
||||||
|
WARNING: The password cannot be recovered. <b>Be sure to write it down</b>. The wallet can not be restored without the password.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId=='new'">
|
||||||
|
<span class="input-label" translate>Add a Password</span>
|
||||||
|
<input type="text"
|
||||||
|
placeholder="{{'Add an optional password to secure the recovery phrase'|translate}}"
|
||||||
|
autocapitalize="off"
|
||||||
|
name="createPassphrase"
|
||||||
|
ng-model="createPassphrase">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId=='set'">
|
||||||
|
<span class="input-label" translate>Wallet Recovery Phrase</span>
|
||||||
|
<input id="ext-master"
|
||||||
|
placeholder="{{'Enter the recovery phrase (BIP39)'|translate}}"
|
||||||
|
autocapitalize="off"
|
||||||
|
type="text"
|
||||||
|
name="privateKey"
|
||||||
|
ng-model="privateKey">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId=='set'">
|
||||||
|
<span class="input-label" translate>Password</span>
|
||||||
|
<input type="text"
|
||||||
|
placeholder="{{'The recovery phrase could require a password to be imported'|translate}}"
|
||||||
|
autocapitalize="off"
|
||||||
|
name="passphrase"
|
||||||
|
ng-model="passphrase">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label" ng-show="create.seedSourceId == 'set'">
|
||||||
|
<span class="input-label" translate>Derivation Path</span>
|
||||||
|
<input type="text"
|
||||||
|
placeholder="{{'BIP32 path for address derivation'|translate}}"
|
||||||
|
name="derivationPath"
|
||||||
|
ng-model="derivationPath">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<ion-toggle ng-show="create.seedSourceId == 'new'" ng-model="testnetEnabled" toggle-class="toggle-positive">
|
||||||
|
Testnet
|
||||||
|
</ion-toggle>
|
||||||
|
|
||||||
|
<ion-toggle ng-model="singleAddressEnabled" toggle-class="toggle-positive">
|
||||||
|
<span translate>Single Address Wallet</span>
|
||||||
|
<small translate>For audit purposes</small>
|
||||||
|
</ion-toggle>
|
||||||
|
|
||||||
|
</div> <!-- advanced -->
|
||||||
|
</div> <!-- list -->
|
||||||
|
|
||||||
|
<button type="submit"
|
||||||
|
class="button button-block button-positive"
|
||||||
|
ng-show="totalCopayers != 1" ng-disabled="setupForm.$invalid">
|
||||||
|
<span translate>Create {{requiredCopayers}}-of-{{totalCopayers}} wallet</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button type="submit"
|
||||||
|
class="button button-block button-positive"
|
||||||
|
ng-show="totalCopayers == 1" ng-disabled="setupForm.$invalid">
|
||||||
|
<span translate>Create new wallet</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</ion-content>
|
||||||
|
</ion-view>
|
||||||
|
|
|
@ -1,102 +1,104 @@
|
||||||
<ion-nav-bar class="bar-stable">
|
<ion-view>
|
||||||
<ion-nav-title>Export Wallet</ion-nav-title>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-title>Export Wallet</ion-nav-title>
|
||||||
<button class="button no-border" ui-sref="tabs.preferences.preferencesAdvanced">
|
<ion-nav-buttons side="primary">
|
||||||
<i class="icon ion-chevron-left"></i> Back
|
<button class="button no-border" ui-sref="tabs.preferences.preferencesAdvanced">
|
||||||
</button>
|
<i class="icon ion-chevron-left"></i> Back
|
||||||
</ion-nav-buttons>
|
</button>
|
||||||
</ion-nav-bar>
|
</ion-nav-buttons>
|
||||||
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content ng-controller="exportController" ng-init="init()" cache-view="true">
|
<ion-content ng-controller="exportController" ng-init="init()" cache-view="true">
|
||||||
|
|
||||||
<div ng-show="!backupWalletPlainText">
|
<div ng-show="!backupWalletPlainText">
|
||||||
<div class="size-14" ng-show="error">
|
<div class="size-14" ng-show="error">
|
||||||
<i class="ion-alert-circled"></i>
|
|
||||||
<span translate>Failed to export</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form name="exportForm" novalidate>
|
|
||||||
<label class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label" transalate>Set up a password</span>
|
|
||||||
<input type="password" placeholder="{{'Your password'|translate}}" name="password" ng-model="password">
|
|
||||||
</label>
|
|
||||||
<label class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label" transalate>Repeat the password</span>
|
|
||||||
<input type="password" class="form-control" placeholder="{{'Repeat password'|translate}}" name="password" ng-model="repeatpassword">
|
|
||||||
</label>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<ion-toggle ng-show="canSign" ng-model="showAdvanced" toggle-class="toggle-balanced">
|
|
||||||
<span translate ng-show="!showAdvanced">Show advanced options</span>
|
|
||||||
<span translate ng-show="showAdvanced">Hide advanced options</span>
|
|
||||||
</ion-toggle>
|
|
||||||
|
|
||||||
<ion-toggle ng-model="noSignEnabled" ng-show="showAdvanced" toggle-class="toggle-balanced" class="r0" ng-change="noSignEnabledChange()">
|
|
||||||
<span class="toggle-label" translate>Do not include private key</span>
|
|
||||||
</ion-toggle>
|
|
||||||
|
|
||||||
<div class="box-notification" ng-show="!canSign">
|
|
||||||
<span class="size-14">
|
|
||||||
<i class="ion-alert-circled"></i>
|
<i class="ion-alert-circled"></i>
|
||||||
<span translate>
|
<span translate>Failed to export</span>
|
||||||
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>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="box-notification" ng-show="noSignEnabled">
|
|
||||||
<span class="size-14">
|
|
||||||
<i class="ion-alert-circled"></i>
|
|
||||||
<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>.
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button
|
|
||||||
ng-click="downloadWalletBackup()"
|
|
||||||
class="button button-block button-positive"
|
|
||||||
ng-disabled="(!password || password != repeatpassword)"
|
|
||||||
ng-style="{'background-color':wallet.color}"
|
|
||||||
ng-show="!isSafari && !isCordova">
|
|
||||||
<i class="fi-download"></i>
|
|
||||||
<span translate>Download</span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
ng-click="viewWalletBackup()"
|
|
||||||
class="button button-block button-positive"
|
|
||||||
ng-disabled="(!password || password != repeatpassword)"
|
|
||||||
ng-style="{'background-color':wallet.color}"
|
|
||||||
ng-show="isSafari && !isCordova">
|
|
||||||
<i class="fi-eye"></i>
|
|
||||||
<span translate>View</span>
|
|
||||||
</button>
|
|
||||||
<div ng-show="isCordova">
|
|
||||||
<h4 translate>Export options</h4>
|
|
||||||
<button class="button button-block button-positive"
|
|
||||||
ng-disabled="(!password || password != repeatpassword)"
|
|
||||||
ng-style="{'background-color':wallet.color}"
|
|
||||||
ng-click="copyWalletBackup()">
|
|
||||||
<i class="fi-clipboard-pencil"></i>
|
|
||||||
<span translate>Copy to clipboard</span></button>
|
|
||||||
<button class="button button-block button-positive" ng-disabled="(!password || password != repeatpassword)"
|
|
||||||
ng-style="{'background-color':wallet.color}"
|
|
||||||
ng-click="sendWalletBackup()"><i class="fi-mail"></i>
|
|
||||||
<span translate>Send by email</span></button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row" ng-show="backupWalletPlainText">
|
|
||||||
<div class="large-12 columns">
|
|
||||||
<h3 translate>Wallet Export</h3>
|
|
||||||
<div class="input">
|
|
||||||
<textarea rows="12">{{backupWalletPlainText}}</textarea>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="size-12 text-gray text-right">
|
|
||||||
<i class="icon-compose"></i>
|
<form name="exportForm" novalidate>
|
||||||
<span translate>Copy this text as it is to a safe place (notepad or email)</span>
|
<label class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label" transalate>Set up a password</span>
|
||||||
|
<input type="password" placeholder="{{'Your password'|translate}}" name="password" ng-model="password">
|
||||||
|
</label>
|
||||||
|
<label class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label" transalate>Repeat the password</span>
|
||||||
|
<input type="password" class="form-control" placeholder="{{'Repeat password'|translate}}" name="password" ng-model="repeatpassword">
|
||||||
|
</label>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<ion-toggle ng-show="canSign" ng-model="showAdvanced" toggle-class="toggle-balanced">
|
||||||
|
<span translate ng-show="!showAdvanced">Show advanced options</span>
|
||||||
|
<span translate ng-show="showAdvanced">Hide advanced options</span>
|
||||||
|
</ion-toggle>
|
||||||
|
|
||||||
|
<ion-toggle ng-model="noSignEnabled" ng-show="showAdvanced" toggle-class="toggle-balanced" class="r0" ng-change="noSignEnabledChange()">
|
||||||
|
<span class="toggle-label" translate>Do not include private key</span>
|
||||||
|
</ion-toggle>
|
||||||
|
|
||||||
|
<div class="box-notification" ng-show="!canSign">
|
||||||
|
<span class="size-14">
|
||||||
|
<i class="ion-alert-circled"></i>
|
||||||
|
<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>.
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="box-notification" ng-show="noSignEnabled">
|
||||||
|
<span class="size-14">
|
||||||
|
<i class="ion-alert-circled"></i>
|
||||||
|
<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>.
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button
|
||||||
|
ng-click="downloadWalletBackup()"
|
||||||
|
class="button button-block button-positive"
|
||||||
|
ng-disabled="(!password || password != repeatpassword)"
|
||||||
|
ng-style="{'background-color':wallet.color}"
|
||||||
|
ng-show="!isSafari && !isCordova">
|
||||||
|
<i class="fi-download"></i>
|
||||||
|
<span translate>Download</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
ng-click="viewWalletBackup()"
|
||||||
|
class="button button-block button-positive"
|
||||||
|
ng-disabled="(!password || password != repeatpassword)"
|
||||||
|
ng-style="{'background-color':wallet.color}"
|
||||||
|
ng-show="isSafari && !isCordova">
|
||||||
|
<i class="fi-eye"></i>
|
||||||
|
<span translate>View</span>
|
||||||
|
</button>
|
||||||
|
<div ng-show="isCordova">
|
||||||
|
<h4 translate>Export options</h4>
|
||||||
|
<button class="button button-block button-positive"
|
||||||
|
ng-disabled="(!password || password != repeatpassword)"
|
||||||
|
ng-style="{'background-color':wallet.color}"
|
||||||
|
ng-click="copyWalletBackup()">
|
||||||
|
<i class="fi-clipboard-pencil"></i>
|
||||||
|
<span translate>Copy to clipboard</span></button>
|
||||||
|
<button class="button button-block button-positive" ng-disabled="(!password || password != repeatpassword)"
|
||||||
|
ng-style="{'background-color':wallet.color}"
|
||||||
|
ng-click="sendWalletBackup()"><i class="fi-mail"></i>
|
||||||
|
<span translate>Send by email</span></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</ion-content>
|
<div class="row" ng-show="backupWalletPlainText">
|
||||||
|
<div class="large-12 columns">
|
||||||
|
<h3 translate>Wallet Export</h3>
|
||||||
|
<div class="input">
|
||||||
|
<textarea rows="12">{{backupWalletPlainText}}</textarea>
|
||||||
|
</div>
|
||||||
|
<div class="size-12 text-gray text-right">
|
||||||
|
<i class="icon-compose"></i>
|
||||||
|
<span translate>Copy this text as it is to a safe place (notepad or email)</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</ion-content>
|
||||||
|
</ion-view>
|
||||||
|
|
|
@ -1,23 +1,25 @@
|
||||||
<ion-nav-bar class="bar-stable">
|
<ion-view>
|
||||||
<ion-nav-title>Export Wallet</ion-nav-title>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-title>Export Wallet</ion-nav-title>
|
||||||
<button class="button no-border" ui-sref="tabs.preferences.preferencesAdvanced">
|
<ion-nav-buttons side="primary">
|
||||||
<i class="icon ion-chevron-left"></i> Back
|
<button class="button no-border" ui-sref="tabs.preferences.preferencesAdvanced">
|
||||||
</button>
|
<i class="icon ion-chevron-left"></i> Back
|
||||||
</ion-nav-buttons>
|
</button>
|
||||||
</ion-nav-bar>
|
</ion-nav-buttons>
|
||||||
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content ng-controller="exportController" ng-init="init()">
|
<ion-content ng-controller="exportController" ng-init="init()">
|
||||||
|
|
||||||
<div class="m20t text-gray" ng-show="supported">
|
<div class="m20t text-gray" ng-show="supported">
|
||||||
<div class="text-center m20b">
|
<div class="text-center m20b">
|
||||||
<qrcode size="220" version="8" error-correction-level="M" data="{{exportWalletInfo}}"></qrcode>
|
<qrcode size="220" version="8" error-correction-level="M" data="{{exportWalletInfo}}"></qrcode>
|
||||||
|
</div>
|
||||||
|
<div class="text-center size-12 m10" translate>From the destination device, go to Add wallet > Import wallet and scan this QR code</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center size-12 m10" translate>From the destination device, go to Add wallet > Import wallet and scan this QR code</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="m20t text-gray" ng-show="!supported">
|
<div class="m20t text-gray" ng-show="!supported">
|
||||||
<div class="text-center size-12 m10" translate>Exporting via QR not supported for this wallet</div>
|
<div class="text-center size-12 m10" translate>Exporting via QR not supported for this wallet</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
</ion-view>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<ion-view id="tab-home">
|
<ion-view>
|
||||||
<ion-nav-bar class="bar-stable">
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-title>Home</ion-nav-title>
|
<ion-nav-title>Home</ion-nav-title>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
|
|
|
@ -1,65 +1,67 @@
|
||||||
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
<ion-view>
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
||||||
<button class="button no-border" ng-click="importGoBack()">
|
<ion-nav-buttons side="primary">
|
||||||
<i class="icon ion-chevron-left"></i> Back
|
<button class="button no-border" ng-click="importGoBack()">
|
||||||
</button>
|
<i class="icon ion-chevron-left"></i> Back
|
||||||
</ion-nav-buttons>
|
</button>
|
||||||
<ion-nav-title>Import wallet</ion-nav-title>
|
</ion-nav-buttons>
|
||||||
</ion-nav-bar>
|
<ion-nav-title>Import wallet</ion-nav-title>
|
||||||
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content ng-controller="importController" ng-init="type='file'">
|
<ion-content ng-controller="importController" ng-init="type='file'">
|
||||||
|
|
||||||
<div class="padding assertive" ng-show="error">
|
<div class="padding assertive" ng-show="error">
|
||||||
{{error|translate}}
|
{{error|translate}}
|
||||||
</div>
|
|
||||||
|
|
||||||
<form name="importForm" ng-submit="importBlob(importForm)" novalidate>
|
|
||||||
|
|
||||||
<div class="list">
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label no-border" ng-show="!isSafari && !isCordova">
|
|
||||||
<div class="input-label" translate>Choose a backup file from your computer</div>
|
|
||||||
<div>
|
|
||||||
<input type="file"
|
|
||||||
placeholder="{{'Select a backup file'|translate}}"
|
|
||||||
name="backupFile"
|
|
||||||
ng-model="backupFile" ng-file-select>
|
|
||||||
</div>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label" ng-show="isSafari || isCordova">
|
|
||||||
<span class="input-label" translate>Paste the backup plain text code</span>
|
|
||||||
<textarea name="backupText" ng-model="backupText" rows="5"></textarea>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label" translate>Password</span>
|
|
||||||
<input type="password"
|
|
||||||
placeholder="{{'Your password'|translate}}"
|
|
||||||
name="password"
|
|
||||||
ng-model="password">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable">
|
|
||||||
<span translate ng-show="!showAdv">Show advanced options</span>
|
|
||||||
<span translate ng-show="showAdv">Hide advanced options</span>
|
|
||||||
</ion-toggle>
|
|
||||||
|
|
||||||
<div ng-show="showAdv">
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label">Wallet Service URL</span>
|
|
||||||
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit"
|
<form name="importForm" ng-submit="importBlob(importForm)" novalidate>
|
||||||
class="button round expand black"
|
|
||||||
ng-disabled="importForm.$invalid || !password " translate>
|
|
||||||
Import backup
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</ion-content>
|
<div class="list">
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label no-border" ng-show="!isSafari && !isCordova">
|
||||||
|
<div class="input-label" translate>Choose a backup file from your computer</div>
|
||||||
|
<div>
|
||||||
|
<input type="file"
|
||||||
|
placeholder="{{'Select a backup file'|translate}}"
|
||||||
|
name="backupFile"
|
||||||
|
ng-model="backupFile" ng-file-select>
|
||||||
|
</div>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label" ng-show="isSafari || isCordova">
|
||||||
|
<span class="input-label" translate>Paste the backup plain text code</span>
|
||||||
|
<textarea name="backupText" ng-model="backupText" rows="5"></textarea>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label" translate>Password</span>
|
||||||
|
<input type="password"
|
||||||
|
placeholder="{{'Your password'|translate}}"
|
||||||
|
name="password"
|
||||||
|
ng-model="password">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable">
|
||||||
|
<span translate ng-show="!showAdv">Show advanced options</span>
|
||||||
|
<span translate ng-show="showAdv">Hide advanced options</span>
|
||||||
|
</ion-toggle>
|
||||||
|
|
||||||
|
<div ng-show="showAdv">
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label">Wallet Service URL</span>
|
||||||
|
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button type="submit"
|
||||||
|
class="button round expand black"
|
||||||
|
ng-disabled="importForm.$invalid || !password " translate>
|
||||||
|
Import backup
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
|
</ion-view>
|
||||||
|
|
|
@ -1,71 +1,73 @@
|
||||||
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
<ion-view>
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
||||||
<button class="button no-border" ng-click="importGoBack()">
|
<ion-nav-buttons side="primary">
|
||||||
<i class="icon ion-chevron-left"></i> Back
|
<button class="button no-border" ng-click="importGoBack()">
|
||||||
</button>
|
<i class="icon ion-chevron-left"></i> Back
|
||||||
</ion-nav-buttons>
|
</button>
|
||||||
<ion-nav-title>Import wallet</ion-nav-title>
|
</ion-nav-buttons>
|
||||||
</ion-nav-bar>
|
<ion-nav-title>Import wallet</ion-nav-title>
|
||||||
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content ng-controller="importController" ng-init="type='hwWallet'">
|
<ion-content ng-controller="importController" ng-init="type='hwWallet'">
|
||||||
|
|
||||||
<div class="padding assertive" ng-show="error">
|
<div class="padding assertive" ng-show="error">
|
||||||
{{error|translate}}
|
{{error|translate}}
|
||||||
</div>
|
|
||||||
|
|
||||||
<form name="importForm3" ng-submit="importHW(importForm3)" novalidate>
|
|
||||||
|
|
||||||
<div class="card" ng-show="!seedOptions[0]">
|
|
||||||
<div class="item item-text-wrap" translate>
|
|
||||||
No hardware wallets supported on this device
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-show="seedOptions[0]">
|
<form name="importForm3" ng-submit="importHW(importForm3)" novalidate>
|
||||||
<div class="list">
|
|
||||||
|
|
||||||
<label class="item item-input item-select">
|
|
||||||
<div class="input-label" translate>
|
|
||||||
Wallet Type
|
|
||||||
</div>
|
|
||||||
<select ng-model="seedSource"
|
|
||||||
ng-options="seed as seed.label for seed in seedOptions"
|
|
||||||
ng-change="setSeedSource()">
|
|
||||||
</select>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label"
|
|
||||||
ng-show="seedSourceId == 'trezor' || seedSourceId == 'ledger'">
|
|
||||||
<span class="input-label" translate>Account Number</span>
|
|
||||||
<input type="number" id="account" ng-model="account" ignore-mouse-wheel>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<ion-toggle ng-show="seedSourceId == 'trezor'"
|
|
||||||
ng-model="isMultisig"
|
|
||||||
toggle-class="toggle-positive">
|
|
||||||
<span translate>Shared Wallet</span>
|
|
||||||
</ion-toggle>
|
|
||||||
|
|
||||||
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable">
|
|
||||||
<span translate ng-show="!showAdv">Show advanced options</span>
|
|
||||||
<span translate ng-show="showAdv">Hide advanced options</span>
|
|
||||||
</ion-toggle>
|
|
||||||
|
|
||||||
<div ng-show="showAdv">
|
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label">Wallet Service URL</span>
|
|
||||||
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
|
<div class="card" ng-show="!seedOptions[0]">
|
||||||
|
<div class="item item-text-wrap" translate>
|
||||||
|
No hardware wallets supported on this device
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button translate type="submit" class="button button-block button-positive">
|
<div ng-show="seedOptions[0]">
|
||||||
Import
|
<div class="list">
|
||||||
</button>
|
|
||||||
</div> <!-- seedoptions show -->
|
|
||||||
|
|
||||||
</form>
|
<label class="item item-input item-select">
|
||||||
|
<div class="input-label" translate>
|
||||||
|
Wallet Type
|
||||||
|
</div>
|
||||||
|
<select ng-model="seedSource"
|
||||||
|
ng-options="seed as seed.label for seed in seedOptions"
|
||||||
|
ng-change="setSeedSource()">
|
||||||
|
</select>
|
||||||
|
</label>
|
||||||
|
|
||||||
</ion-content>
|
<label class="item item-input item-stacked-label"
|
||||||
|
ng-show="seedSourceId == 'trezor' || seedSourceId == 'ledger'">
|
||||||
|
<span class="input-label" translate>Account Number</span>
|
||||||
|
<input type="number" id="account" ng-model="account" ignore-mouse-wheel>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<ion-toggle ng-show="seedSourceId == 'trezor'"
|
||||||
|
ng-model="isMultisig"
|
||||||
|
toggle-class="toggle-positive">
|
||||||
|
<span translate>Shared Wallet</span>
|
||||||
|
</ion-toggle>
|
||||||
|
|
||||||
|
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable">
|
||||||
|
<span translate ng-show="!showAdv">Show advanced options</span>
|
||||||
|
<span translate ng-show="showAdv">Hide advanced options</span>
|
||||||
|
</ion-toggle>
|
||||||
|
|
||||||
|
<div ng-show="showAdv">
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label">Wallet Service URL</span>
|
||||||
|
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button translate type="submit" class="button button-block button-positive">
|
||||||
|
Import
|
||||||
|
</button>
|
||||||
|
</div> <!-- seedoptions show -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
|
</ion-view>
|
||||||
|
|
|
@ -1,88 +1,90 @@
|
||||||
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
<ion-view>
|
||||||
<ion-nav-buttons side="primary">
|
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
||||||
<button class="button no-border" ng-click="importGoBack()">
|
<ion-nav-buttons side="primary">
|
||||||
<i class="icon ion-chevron-left"></i> Back
|
<button class="button no-border" ng-click="importGoBack()">
|
||||||
</button>
|
<i class="icon ion-chevron-left"></i> Back
|
||||||
</ion-nav-buttons>
|
</button>
|
||||||
<ion-nav-title>Import wallet</ion-nav-title>
|
</ion-nav-buttons>
|
||||||
</ion-nav-bar>
|
<ion-nav-title>Import wallet</ion-nav-title>
|
||||||
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content ng-controller="importController" ng-init="type='12'">
|
<ion-content ng-controller="importController" ng-init="type='12'">
|
||||||
|
|
||||||
<div ng-show="importErr || error" class="padding assertive" ng-click="importErr = error = null">
|
<div ng-show="importErr || error" class="padding assertive" ng-click="importErr = error = null">
|
||||||
<div ng-show="importErr">
|
<div ng-show="importErr">
|
||||||
<div translate>Could not access the wallet at the server. Please check:</div>
|
<div translate>Could not access the wallet at the server. Please check:</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li translate>The password of the recovery phrase (if set)</li>
|
<li translate>The password of the recovery phrase (if set)</li>
|
||||||
<li translate>The derivation path</li>
|
<li translate>The derivation path</li>
|
||||||
<li translate>The wallet service URL</li>
|
<li translate>The wallet service URL</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div translate>
|
<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.
|
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>
|
|
||||||
|
|
||||||
<div ng-show="error">
|
|
||||||
{{error|translate}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form name="importForm12" ng-submit="importMnemonic(importForm12)" novalidate>
|
|
||||||
<div class="list">
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col col-90">
|
|
||||||
<label class="item item-input item-stacked-label no-border">
|
|
||||||
<span class="input-label" translate>Type the Recovery Phrase (usually 12 words)</span>
|
|
||||||
<textarea name="words"
|
|
||||||
ng-model="words"
|
|
||||||
rows="3"
|
|
||||||
autocapitalize="off"
|
|
||||||
spellcheck="false"></textarea>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="col text-center">
|
|
||||||
<qr-scanner class="qr-icon size-24" on-scan="processWalletInfo(data)"></qr-scanner>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable">
|
<div ng-show="error">
|
||||||
<span translate ng-show="!showAdv">Show advanced options</span>
|
{{error|translate}}
|
||||||
<span translate ng-show="showAdv">Hide advanced options</span>
|
</div>
|
||||||
</ion-toggle>
|
</div>
|
||||||
|
|
||||||
<div ng-show="showAdv">
|
<form name="importForm12" ng-submit="importMnemonic(importForm12)" novalidate>
|
||||||
|
<div class="list">
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label">
|
<div class="row">
|
||||||
<span class="input-label">Wallet Service URL</span>
|
<div class="col col-90">
|
||||||
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
<label class="item item-input item-stacked-label no-border">
|
||||||
</label>
|
<span class="input-label" translate>Type the Recovery Phrase (usually 12 words)</span>
|
||||||
|
<textarea name="words"
|
||||||
|
ng-model="words"
|
||||||
|
rows="3"
|
||||||
|
autocapitalize="off"
|
||||||
|
spellcheck="false"></textarea>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="col text-center">
|
||||||
|
<qr-scanner class="qr-icon size-24" on-scan="processWalletInfo(data)"></qr-scanner>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<label class="item item-input item-stacked-label">
|
<ion-toggle ng-model="showAdv" toggle-class="toggle-stable">
|
||||||
<span class="input-label" translate>Password</span>
|
<span translate ng-show="!showAdv">Show advanced options</span>
|
||||||
<input type="text"
|
<span translate ng-show="showAdv">Hide advanced options</span>
|
||||||
placeholder="{{'The recovery phrase could require a password to be imported'|translate}}"
|
|
||||||
autocapitalize="off"
|
|
||||||
name="passphrase"
|
|
||||||
ng-model="passphrase">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<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}}"
|
|
||||||
name="derivationPath"
|
|
||||||
ng-model="derivationPath">
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<ion-toggle ng-model="testnetEnabled" ng-change="setDerivationPath(testnetEnabled)" toggle-class="toggle-positive">
|
|
||||||
Testnet
|
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button type="submit"
|
<div ng-show="showAdv">
|
||||||
class="button button-block button-positive"
|
|
||||||
ng-disabled="importForm12.$invalid" translate>Import</button>
|
<label class="item item-input item-stacked-label">
|
||||||
</form>
|
<span class="input-label">Wallet Service URL</span>
|
||||||
</ion-content>
|
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label" translate>Password</span>
|
||||||
|
<input type="text"
|
||||||
|
placeholder="{{'The recovery phrase could require a password to be imported'|translate}}"
|
||||||
|
autocapitalize="off"
|
||||||
|
name="passphrase"
|
||||||
|
ng-model="passphrase">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<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}}"
|
||||||
|
name="derivationPath"
|
||||||
|
ng-model="derivationPath">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<ion-toggle ng-model="testnetEnabled" ng-change="setDerivationPath(testnetEnabled)" toggle-class="toggle-positive">
|
||||||
|
Testnet
|
||||||
|
</ion-toggle>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button type="submit"
|
||||||
|
class="button button-block button-positive"
|
||||||
|
ng-disabled="importForm12.$invalid" translate>Import</button>
|
||||||
|
</form>
|
||||||
|
</ion-content>
|
||||||
|
</ion-view>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-title>{{'Receive' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Receive' | translate}}</ion-nav-title>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
|
|
||||||
|
|
|
@ -67,9 +67,12 @@
|
||||||
<span class="toggle-label" translate>Enable Glidera Service</span>
|
<span class="toggle-label" translate>Enable Glidera Service</span>
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
|
|
||||||
|
<!-- disable coinbase for this release -->
|
||||||
|
<!--
|
||||||
<ion-toggle ng-show="!isWP" ng-model="coinbaseEnabled" toggle-class="toggle-balanced" ng-change="coinbaseChange()">
|
<ion-toggle ng-show="!isWP" ng-model="coinbaseEnabled" toggle-class="toggle-balanced" ng-change="coinbaseChange()">
|
||||||
<span class="toggle-label" translate>Enable Coinbase Service</span>
|
<span class="toggle-label" translate>Enable Coinbase Service</span>
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
|
-->
|
||||||
|
|
||||||
<div class="item item-divider">Others</div>
|
<div class="item item-divider">Others</div>
|
||||||
|
|
||||||
|
@ -77,20 +80,18 @@
|
||||||
<span class="toggle-label" translate>Use Unconfirmed Funds</span>
|
<span class="toggle-label" translate>Use Unconfirmed Funds</span>
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
|
|
||||||
<div class="list">
|
<div class="item item-divider">Wallets Settings</div>
|
||||||
<div class="item item-divider">Wallets Settings</div>
|
<div class="item item-icon-left" href
|
||||||
<div ng-repeat="item in wallets track by $index">
|
ui-sref="tabs.preferences.main({'walletId': item.id})"
|
||||||
<div class="item item-icon-left" href ui-sref="tabs.preferences.main({'walletId': item.id})">
|
ng-repeat="item in wallets track by $index">
|
||||||
<i class="icon ion-briefcase size-21" ng-style="{'color':item.color}"></i>
|
<i class="icon ion-briefcase size-21" ng-style="{'color':item.color}"></i>
|
||||||
{{item.name || item.id}}
|
{{item.name || item.id}}
|
||||||
<span ng-show="item.n > 1" class="text-light">
|
<span ng-show="item.n > 1" class="text-light">
|
||||||
{{item.m}}-of-{{item.n}}
|
{{item.m}}-of-{{item.n}}
|
||||||
</span>
|
</span>
|
||||||
<span class="badge badge-assertive" ng-show="!item.isComplete()" translate>
|
<span class="badge badge-assertive" ng-show="!item.isComplete()" translate>
|
||||||
Incomplete
|
Incomplete
|
||||||
</span>
|
</span>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item item-divider"></div>
|
<div class="item item-divider"></div>
|
||||||
|
@ -98,6 +99,7 @@
|
||||||
<i class="icon ion-ios-film-outline"></i>
|
<i class="icon ion-ios-film-outline"></i>
|
||||||
<span translate>About Bitpay Wallet</span>
|
<span translate>About Bitpay Wallet</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="item item-divider"></div>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content ng-controller="termOfUseController" cache-view="false">
|
<ion-content ng-controller="termOfUseController" cache-view="false">
|
||||||
<p>
|
<p>
|
||||||
<div ng-include="'views/includes/terms.html'"></div>
|
<div ng-include="'views/includes/terms.html'"></div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar>
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-title>{{'Translators' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Translators' | translate}}</ion-nav-title>
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button>
|
||||||
{{'Back' | translate}}
|
{{'Back' | translate}}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
<ion-view>
|
<ion-view>
|
||||||
<ion-nav-bar class="bar-stable">
|
<ion-nav-bar class="bar-stable">
|
||||||
<ion-nav-title>{{wallet.name}}</ion-nav-title>
|
<ion-nav-title>{{wallet.name}}</ion-nav-title>
|
||||||
|
|
Loading…
Reference in New Issue