better texts and forms

This commit is contained in:
Matias Alejo Garcia 2015-09-03 01:49:48 -03:00
commit 4ac32f13a0
10 changed files with 150 additions and 51 deletions

View file

@ -99,15 +99,42 @@
</label>
</div>
<div class="large-12 columns">
<label for="ext-master">
<span translate>Backup Words (BIP39 seed)</span>
<small translate>If not given, a random secure key will be generated</small>
<input id="ext-master"
type="text"
placeholder="{{'Backup words'|translate}}"
name="privateKey" ng-model="privateKey">
</label>
</div>
<label for="seed" class="oh">
<span translate>Specify the wallet seed</span>
<switch id="seed" name="setSeed" ng-model="setSeed" class="green right m5t m10b"></switch>
</label>
<label for="createPassphrase" class="line-b oh" ng-show="!setSeed" ><span translate>Seed Passphrase</span> <small translate>Add an optional passphrase to secure the wallet seed</small>
<div class="input">
<input type="text" class="form-control"
name="createPassphrase" ng-model="createPassphrase">
</div>
</label>
<label for="ext-master" class="m10t" ng-show="setSeed">
<span translate>Wallet Seed</span>
<small translate>Enter the 12 words to seed the wallet (BIP39)</small>
<input id="ext-master"
type="text"
placeholder="{{'Wallet seed'|translate}}"
name="privateKey" ng-model="privateKey">
</label>
<label for="passphrase" class="line-b oh" ng-show="setSeed"><span translate>Seed Passphrase</span> <small translate>Seed could require a passphrase to be imported</small>
<div class="input">
<input type="text" class="form-control" name="passphrase" ng-model="passphrase">
</div>
</label>
</div>
</div>
<div class="box-notification" ng-show="!setSeed && createPassphrase">
<span class="text-warning size-14">
<i class="fi-alert"></i>
<span translate>
WARNING: Passphrase cannot be recovered. <b>Be sure to write it down</b>. The wallet can not be restored without the passphrase.
</span>
</span>
</div>
<button translate type="submit" class="button expand black m0 round"
ng-disabled="joinForm.$invalid || join.loading">Join</button>