added password support to UI/Controllers

This commit is contained in:
Mario Colque 2014-05-01 09:59:43 -03:00
commit 9d27a0b85d
4 changed files with 24 additions and 13 deletions

View file

@ -218,7 +218,6 @@
ng-options="requiredCopayers as requiredCopayers for requiredCopayers in RCValues">
</select>
</div>
</div>
</div>
<div class="row">
<div class="small-12 medium-6 medium-centered large-6 large-centered columns m30v">
@ -230,6 +229,12 @@
</div>
</div>
<div class="row">
<div class="small-12 medium-6 medium-centered large-6 large-centered columns m30v">
<h6>Wallet Password</h6>
<input type="password" ng-model="walletPassword" placeholder="My wallet password" class="form-control" required>
</div>
</div>
<div class="row">
<div class="small-12 medium-6 medium-centered large-6 large-centered columns m30v">
<h6>Wallet name (optional)</h6>
@ -240,7 +245,6 @@
<input ng-model="myNickname" placeholder="" class="size-24" style="width:100%">
</div>
</div>
<div class="row">
<div class="large-12 columns line-dashed">
<button class="button primary radius right" type="button"
@ -258,8 +262,8 @@
<div class="" ng-controller="PasswordController">
<h3>Enter your password</h3>
<div class="large-6 columns">
<input type="password" class="form-control" placeholder="Enter your passwor" ng-model="password" autofocus="">
<button type="submit" class="button secondary round text-center" ng-click="getPassphrase()">Send</button>
<input type="password" class="form-control" placeholder="Enter your passwor" ng-model="password" autofocus required>
<button type="submit" class="button secondary round text-center" ng-click="getPassphrase()">Send</button>
</div>
</div>
</script>
@ -328,7 +332,7 @@
</div>
</div>
</script>
<!-- TRANSACTIONS -->
<script type="text/ng-template" id="transactions.html">
<div class="transactions" data-ng-controller="TransactionsController">