Merge branch 'newdesign-2' into bechi-changes
This commit is contained in:
commit
c4e32c32db
6 changed files with 140 additions and 110 deletions
|
|
@ -37,7 +37,6 @@
|
||||||
<script src="lib/angular-moment/angular-moment.js"></script>
|
<script src="lib/angular-moment/angular-moment.js"></script>
|
||||||
<script src="lib/qrcode-generator/js/qrcode.js"></script>
|
<script src="lib/qrcode-generator/js/qrcode.js"></script>
|
||||||
<script src="lib/angular-qrcode/qrcode.js"></script>
|
<script src="lib/angular-qrcode/qrcode.js"></script>
|
||||||
<script src="lib/angular-route/angular-route.min.js"></script>
|
|
||||||
<script src="lib/angular-foundation/mm-foundation.min.js"></script>
|
<script src="lib/angular-foundation/mm-foundation.min.js"></script>
|
||||||
<script src="lib/angular-foundation/mm-foundation-tpls.min.js"></script>
|
<script src="lib/angular-foundation/mm-foundation-tpls.min.js"></script>
|
||||||
<script src="lib/peer.js"></script> <!-- TODO Change this on PeerJS version 0.3.9 -->
|
<script src="lib/peer.js"></script> <!-- TODO Change this on PeerJS version 0.3.9 -->
|
||||||
|
|
|
||||||
|
|
@ -85,4 +85,10 @@ angular.module('copayApp.controllers').controller('SetupController',
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.isSetupWalletPage = 0;
|
||||||
|
|
||||||
|
$scope.setupWallet = function() {
|
||||||
|
$scope.isSetupWalletPage = !$scope.isSetupWalletPage;
|
||||||
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -75,4 +75,26 @@ angular.module('copayApp.controllers').controller('SigninController',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scope.isHome = 1;
|
||||||
|
$scope.isJoin = 0;
|
||||||
|
$scope.isOpen = 0;
|
||||||
|
|
||||||
|
$scope.backWallet = function() {
|
||||||
|
$scope.isHome = 1;
|
||||||
|
$scope.isJoin = 0;
|
||||||
|
$scope.isOpen = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
$scope.openWallet = function() {
|
||||||
|
$scope.isHome = 0;
|
||||||
|
$scope.isJoin = 0;
|
||||||
|
$scope.isOpen = 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
$scope.joinWallet = function() {
|
||||||
|
$scope.isHome = 0;
|
||||||
|
$scope.isOpen = 0;
|
||||||
|
$scope.isJoin = 1;
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,38 +1,33 @@
|
||||||
<div ng-controller="BackupController" ng-if='$root.wallet && !$root.wallet.isReady() && !loading'>
|
<div ng-controller="BackupController" ng-if='$root.wallet && !$root.wallet.isReady() && !loading'>
|
||||||
<div class="row m10b" ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
||||||
<div class="large-12 medium-12 small-12 columns">
|
<h2>Share this secret with your other copayers</h2>
|
||||||
<div class="panel radius m30v">
|
|
||||||
<h3 class="m15b">Share this secret with your other copayers
|
|
||||||
</h3>
|
|
||||||
<div class="row">
|
|
||||||
<div class="large-9 medium-12 small-12 columns line-dashed-v text-gray">
|
|
||||||
<div class="panel input">
|
<div class="panel input">
|
||||||
<p class="ellipsis text-gray">{{$root.wallet.getSecret()}}</p>
|
<p class="ellipsis text-gray">{{$root.wallet.getSecret()}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="large-3 columns hide-for-medium hide-for-small" ng-show="$root.wallet">
|
<h2 ng-if="$root.wallet && $root.wallet.publicKeyRing.isComplete()">
|
||||||
<h5 class="m0">{{$root.wallet.getName()}}</h5>
|
New Wallet Created
|
||||||
<p class="text-gray">{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}} wallet</p>
|
</h2>
|
||||||
</div>
|
<h3 ng-show="!$root.wallet.publicKeyRing.isComplete()">Waiting Copayers for {{$root.wallet.getName()}}</h3>
|
||||||
</div>
|
<h4
|
||||||
</div>
|
ng-show="$root.wallet.publicKeyRing.isComplete()">
|
||||||
</div>
|
{{$root.wallet.getName()}} -
|
||||||
</div>
|
{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}}
|
||||||
<div class="row">
|
</h4>
|
||||||
<div class="large-12 medium-12 small-12 columns ">
|
<span ng-show="$root.wallet && !$root.wallet.publicKeyRing.isComplete()">
|
||||||
<div class="box-setup-copayers panel">
|
{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}} wallet
|
||||||
<div class="oh">
|
</span>
|
||||||
<h6 class="size-18 m15b">People on this wallet</h6>
|
|
||||||
<div ng-include="'views/includes/video.html'"></div>
|
<div ng-include="'views/includes/video.html'"></div>
|
||||||
<div class="m10" ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
|
||||||
<p> <i class="size-60 text-gray fi-bitcoin-circle icon-rotate spinner"></i>Waiting for other copayers to join</p>
|
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
||||||
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i> Waiting for other copayers to join
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div ng-if="$root.wallet && $root.wallet.publicKeyRing.isComplete()">
|
||||||
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i> Waiting for other
|
||||||
|
copayers to make a Backup
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="large-12 medium-12 small-12 columns">
|
|
||||||
<div class="line-dashed">
|
|
||||||
<a ng-click="dowloadBackup()"
|
<a ng-click="dowloadBackup()"
|
||||||
ng-show="!$root.wallet.publicKeyRing.isComplete()">Download seed backup</a>
|
ng-show="!$root.wallet.publicKeyRing.isComplete()">Download seed backup</a>
|
||||||
<button class="button primary radius right"
|
<button class="button primary radius right"
|
||||||
|
|
@ -64,7 +59,4 @@
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="large-8 medium-12 columns large-centered medium-centered">
|
<div class="large-8 medium-12 columns large-centered medium-centered">
|
||||||
<h3>Create new wallet</h3>
|
<h3>Create new wallet</h3>
|
||||||
<label>Wallet name <small>Optional</small>
|
<label ng-show="!isSetupWalletPage">Wallet name <small>Optional</small>
|
||||||
<input type="text" placeholder="Family vacation funds" class="form-control" ng-model="walletName">
|
<input type="text" placeholder="Family vacation funds" class="form-control" ng-model="walletName">
|
||||||
</label>
|
</label>
|
||||||
<div class="row">
|
<div class="row" ng-show="isSetupWalletPage">
|
||||||
<div class="small-12 medium-6 large-6 columns">
|
<div class="small-12 medium-6 large-6 columns">
|
||||||
<label>Your name <small>Optional</small>
|
<label>Your name <small>Optional</small>
|
||||||
<input type="text" placeholder="Name" class="form-control" ng-model="myNickname">
|
<input type="text" placeholder="Name" class="form-control" ng-model="myNickname">
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-setup">
|
<div class="box-setup" ng-show="!isSetupWalletPage">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="large-6 medium-6 columns line-dashed-v">
|
<div class="large-6 medium-6 columns line-dashed-v">
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-setup-copayers">
|
<div class="box-setup-copayers" ng-show="!isSetupWalletPage">
|
||||||
<div class="box-setup-copayers-fix">
|
<div class="box-setup-copayers-fix">
|
||||||
<img class="box-setup-copay" ng-repeat="i in getNumber(totalCopayers) track by $index"
|
<img class="box-setup-copay" ng-repeat="i in getNumber(totalCopayers) track by $index"
|
||||||
src="./img/satoshi.gif"
|
src="./img/satoshi.gif"
|
||||||
|
|
@ -61,10 +61,14 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="large-8 medium-12 columns large-centered medium-centered">
|
<div class="large-8 medium-12 columns large-centered medium-centered">
|
||||||
<div class="line-dashed">
|
<div class="line-dashed">
|
||||||
<a class="back-button" href="/signin">« Back</a>
|
<a ng-show="!isSetupWalletPage" class="back-button" href="/signin">« Back</a>
|
||||||
<button type="submit" class="button primary radius right" ng-disabled="setupForm.$invalid || loading">
|
<a ng-show="isSetupWalletPage" class="back-button"
|
||||||
|
ng-click="setupWallet()">« Back</a>
|
||||||
|
<button ng-show="isSetupWalletPage" type="submit" class="button primary radius right" ng-disabled="setupForm.$invalid || loading">
|
||||||
Create {{requiredCopayers}}-of-{{totalCopayers}} wallet
|
Create {{requiredCopayers}}-of-{{totalCopayers}} wallet
|
||||||
</button>
|
</button>
|
||||||
|
<a class="button primary radius right" ng-show="!isSetupWalletPage"
|
||||||
|
ng-click="setupWallet()">Next</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -5,29 +5,27 @@
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="!loading">
|
<div ng-show="!loading">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="large-6 medium-6 columns">
|
<div class="large-6 medium-8 small-12 large-centered medium-centered
|
||||||
<div class="box-signin radius">
|
columns" ng-show="!isHome && isOpen">
|
||||||
<div ng-show="wallets.length">
|
|
||||||
<h3>Open Wallet</h3>
|
<h3>Open Wallet</h3>
|
||||||
<form name="openForm" ng-submit="open(openForm)" novalidate>
|
<form name="openForm" ng-submit="open(openForm)" novalidate>
|
||||||
<select class="form-control" ng-model="selectedWalletId" ng-options="w.id as w.show for w in wallets" required>
|
<select class="form-control" ng-model="selectedWalletId" ng-options="w.id as w.show for w in wallets" required>
|
||||||
</select>
|
</select>
|
||||||
<input type="password" class="form-control" placeholder="Your password" name="openPassword" ng-model="openPassword" required>
|
<input type="password" class="form-control" placeholder="Your password" name="openPassword" ng-model="openPassword" required>
|
||||||
|
<a class="back-button" ng-click="backWallet()">« Back</a>
|
||||||
<button type="submit" class="button secondary radius" ng-disabled="openForm.$invalid || loading" loading="Opening">Open</button>
|
<button type="submit" class="button secondary radius" ng-disabled="openForm.$invalid || loading" loading="Opening">Open</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="!wallets.length">
|
<div ng-show="isHome && wallets.length">
|
||||||
|
<h3>Open a wallet</h3>
|
||||||
|
<a ng-click="openWallet()" class="button secondary radius">Open</a>
|
||||||
|
</div>
|
||||||
|
<div ng-show="isHome && !wallets.length">
|
||||||
<h3>Create a new wallet</h3>
|
<h3>Create a new wallet</h3>
|
||||||
|
|
||||||
<p class="text-gray">
|
|
||||||
Copay is a free, open-source, multisignature bitcoin wallet. A single-owner bitcoin wallet's security depends on carefully securing the private keys. With copay you can have multiple people controlling the funds, using bitcoin's multisignature functionality, requiring no trust in any third party.
|
|
||||||
</p>
|
|
||||||
<a href="/setup" class="button secondary radius">Create</a>
|
<a href="/setup" class="button secondary radius">Create</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="large-6 medium-8 small-12 large-centered medium-centered
|
||||||
</div>
|
columns" ng-show="!isHome && isJoin">
|
||||||
<div class="large-6 medium-6 columns">
|
|
||||||
<div class="box-signin radius">
|
|
||||||
<h3>Join a Wallet in Creation</h3>
|
<h3>Join a Wallet in Creation</h3>
|
||||||
<form name="joinForm" ng-submit="join(joinForm)" novalidate>
|
<form name="joinForm" ng-submit="join(joinForm)" novalidate>
|
||||||
<input type="text" class="form-control" placeholder="Paste wallet secret here" name="connectionId" ng-model="connectionId" wallet-secret required>
|
<input type="text" class="form-control" placeholder="Paste wallet secret here" name="connectionId" ng-model="connectionId" wallet-secret required>
|
||||||
|
|
@ -39,18 +37,27 @@
|
||||||
tooltip-html-unsafe="Password strength:
|
tooltip-html-unsafe="Password strength:
|
||||||
<i>{{passwordStrength}}</i><br/><span class='size-12'>Tip: Use lower and uppercase,
|
<i>{{passwordStrength}}</i><br/><span class='size-12'>Tip: Use lower and uppercase,
|
||||||
numbers and symbols</span>" tooltip-trigger="focus" required>
|
numbers and symbols</span>" tooltip-trigger="focus" required>
|
||||||
|
<a class="back-button" ng-click="backWallet()">« Back</a>
|
||||||
<button type="submit" class="button primary radius" ng-disabled="joinForm.$invalid || loading" loading="Joining">Join</button>
|
<button type="submit" class="button primary radius" ng-disabled="joinForm.$invalid || loading" loading="Joining">Join</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<div ng-show="isHome && !isJoin">
|
||||||
|
<h3>Join a Wallet in Creation</h3>
|
||||||
|
<a ng-click="joinWallet()" class="button secondary
|
||||||
|
radius">Join</a>
|
||||||
|
</div>
|
||||||
|
<div ng-show="isHome && wallets.length">
|
||||||
|
<h5>Create a wallet</h5>
|
||||||
|
<a href="/setup" class="button secondar radius">Create</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row" ng-show="isHome">
|
||||||
|
<p class="text-gray">
|
||||||
|
Copay is a free, open-source, multisignature bitcoin wallet. A single-owner bitcoin wallet's security depends on carefully securing the private keys. With copay you can have multiple people controlling the funds, using bitcoin's multisignature functionality, requiring no trust in any third party.
|
||||||
|
</p>
|
||||||
<div class="large-12 columns text-center line-dashed">
|
<div class="large-12 columns text-center line-dashed">
|
||||||
<a href="/settings">Settings</a> ·
|
<a href="/settings">Settings</a> ·
|
||||||
<span ng-show="wallets.length">
|
|
||||||
<a href="/setup">Create a new wallet</a> ·
|
|
||||||
</span>
|
|
||||||
<a href="/import">Import a backup</a>
|
<a href="/import">Import a backup</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue