2015-03-06 12:00:10 -03:00
|
|
|
|
|
|
|
|
<div class="columns m20t">
|
2016-06-03 11:30:04 -03:00
|
|
|
<label class="size-14 text-center" for="password" ng-if="isSetup">
|
|
|
|
|
<span ng-show="!isVerification" translate>Set up a spending password</span>
|
|
|
|
|
<span ng-show="isVerification" translate>Repeat the spending password</span>
|
2015-03-06 12:00:10 -03:00
|
|
|
</label>
|
2016-06-03 11:30:04 -03:00
|
|
|
<label class="size-14 text-center" for="password" ng-if="!isSetup">
|
2016-05-09 20:23:20 +02:00
|
|
|
<span translate>Enter your spending password</span>
|
2015-03-06 12:00:10 -03:00
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<div class="input m20t">
|
2016-05-09 20:23:20 +02:00
|
|
|
<input type="password" placeholder="{{'Your spending password'|translate}}"
|
2016-06-21 16:47:53 -03:00
|
|
|
id="passwordInput" name="password" ng-model="data.password" ng-keypress="keyPress($event)" autofocus>
|
2015-03-06 12:00:10 -03:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="small-6 columns">
|
2016-04-16 18:30:01 -03:00
|
|
|
<button
|
|
|
|
|
class="round small-6 columns outline dark-gray expand"
|
2016-06-03 11:30:04 -03:00
|
|
|
ng-click="cancel()"
|
2016-06-04 15:19:42 -03:00
|
|
|
ng-disabled="loading">
|
2016-06-08 12:47:48 -03:00
|
|
|
<span class="size-12" translate>Cancel</span>
|
2015-03-06 12:00:10 -03:00
|
|
|
</button>
|
|
|
|
|
</div>
|
2015-05-18 11:51:36 -03:00
|
|
|
|
2015-03-06 12:00:10 -03:00
|
|
|
<div class="small-6 columns">
|
2016-04-16 18:30:01 -03:00
|
|
|
<button class="round expand"
|
2016-06-03 11:30:04 -03:00
|
|
|
ng-click="set()"
|
|
|
|
|
ng-disabled="!data.password || loading"
|
2015-04-11 17:12:44 -03:00
|
|
|
ng-style="{'background-color':index.backgroundColor}">
|
2016-06-04 15:19:42 -03:00
|
|
|
<span ng-if="isSetup" class="size-12" translate>SET</span>
|
|
|
|
|
<span ng-if="!isSetup" class="size-12">OK</span>
|
2015-03-06 12:00:10 -03:00
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-06-03 11:30:04 -03:00
|
|
|
<p class="text-warning size-12 columns m20t text-center" ng-show="isSetup">
|
2015-03-06 12:00:10 -03:00
|
|
|
<i class="fi-alert"></i>
|
2016-06-03 11:30:04 -03:00
|
|
|
<span ng-show="!error" translate> Your wallet key will be encrypted. The Spending Password cannot be recovered. Be sure to write it down</span>
|
2015-03-06 12:00:10 -03:00
|
|
|
|
2016-06-06 21:52:14 +02:00
|
|
|
<span ng-show="error">{{error|translate}}</span>
|
2015-04-16 10:16:29 -03:00
|
|
|
</p>
|