mirror of https://github.com/BTCPrivate/copay.git
79 lines
3.9 KiB
HTML
79 lines
3.9 KiB
HTML
<div ng-controller="CreateController">
|
|
<div data-alert class="loading-screen" ng-show="loading">
|
|
<div class="spinner">
|
|
<div class="contener_general">
|
|
<div class="contener_mixte"><div class="ballcolor ball_1"> </div></div>
|
|
<div class="contener_mixte"><div class="ballcolor ball_2"> </div></div>
|
|
<div class="contener_mixte"><div class="ballcolor ball_3"> </div></div>
|
|
<div class="contener_mixte"><div class="ballcolor ball_4"> </div></div>
|
|
</div>
|
|
<span class="text-gray size-12" translate>Creating Wallet...</span>
|
|
</div>
|
|
</div>
|
|
<div class="setup" ng-show="!loading && !$root.starting">
|
|
<h1 class="hide-for-large-up">{{$root.title}}</h1>
|
|
<form name="setupForm" ng-submit="create(setupForm)" novalidate>
|
|
<div class="row">
|
|
<div class="large-12 columns">
|
|
<div class="panel">
|
|
<label><span translate>Wallet name</span>
|
|
<input type="text" placeholder="{{'Family vacation funds'|translate}}" class="form-control" ng-model="walletName" auto-focus>
|
|
</label>
|
|
<div class="row">
|
|
<div class="large-6 medium-6 columns">
|
|
<label><span translate>Select total number of copayers (*)</span>
|
|
<select ng-model="totalCopayers" ng-options="totalCopayers as totalCopayers for totalCopayers in TCValues">
|
|
</select>
|
|
</label>
|
|
</div>
|
|
<div class="large-6 medium-6 columns">
|
|
<label><span translate>Select required signatures (*)</span>
|
|
<select ng-model="requiredCopayers" ng-options="requiredCopayers as requiredCopayers for requiredCopayers in RCValues" ng-disabled="totalCopayers == 1">
|
|
</select>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="box-setup-copayers">
|
|
<div class="box-setup-copayers p10 oh">
|
|
<div class="copay-box" ng-class="{'box-setup-copay-required': ($index+1) <= requiredCopayers}" ng-repeat="i in getNumber(totalCopayers) track by $index">
|
|
<span ng-include="'views/includes/photo.html'"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p translate class="comment" ng-show="totalCopayers>1">(*) The limits are imposed by the bitcoin network.</p>
|
|
|
|
<div class="line-dashed-h"></div>
|
|
|
|
<div class="m20t m20b">
|
|
<a class="small" ng-click="hideAdv=!hideAdv">
|
|
<i class="fi-widget m3r"></i>
|
|
<span translate ng-hide="!hideAdv">Show</span>
|
|
<span translate ng-hide="hideAdv">Hide</span>
|
|
<span translate>advanced options</span>
|
|
<i ng-if="hideAdv" class="icon-arrow-down4"></i>
|
|
<i ng-if="!hideAdv" class="icon-arrow-up4"></i>
|
|
</a>
|
|
</div>
|
|
<div ng-hide="hideAdv" class="row">
|
|
<input id="network-name" type="checkbox" ng-model="networkName" ng-true-value="testnet" ng-false-value="livenet" class="form-control" ng-checked="networkName == 'testnet' ? true : false">
|
|
<label for="network-name" translate>Use test network</label>
|
|
|
|
<p>
|
|
<input type="text" placeholder="BIP32 master extended private key (hex)" name="private" ng-model="private">
|
|
</div>
|
|
|
|
|
|
<div class="text-right">
|
|
<button translate type="submit" class="button primary m0" ng-disabled="setupForm.$invalid || loading">
|
|
Create {{requiredCopayers}}-of-{{totalCopayers}} wallet
|
|
</button>
|
|
</div>
|
|
<div ng-show="showNetwork()"><p translate class="size-12">Using network: {{networkName}} at <a href="{{networkUrl}}" target="_blank">{{networkUrl}}</a></p></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|