copay/www/views/includes/password.html

43 lines
1.6 KiB
HTML
Raw Normal View History

2015-03-06 07:00:10 -08:00
<div class="columns m20t">
<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 07:00:10 -08:00
</label>
<label class="size-14 text-center" for="password" ng-if="!isSetup">
<span translate>Enter your spending password</span>
2015-03-06 07:00:10 -08:00
</label>
<div class="input m20t">
<input type="password" placeholder="{{'Your spending password'|translate}}"
id="passwordInput" name="password" ng-model="data.password" ng-keypress="keyPress($event)" autofocus>
2015-03-06 07:00:10 -08:00
</div>
</div>
<div class="row">
<div class="small-6 columns">
<button
class="round small-6 columns outline dark-gray expand"
ng-click="cancel()"
ng-disabled="loading">
2016-06-08 08:47:48 -07:00
<span class="size-12" translate>Cancel</span>
2015-03-06 07:00:10 -08:00
</button>
</div>
2015-05-18 07:51:36 -07:00
2015-03-06 07:00:10 -08:00
<div class="small-6 columns">
<button class="round expand"
ng-click="set()"
ng-disabled="!data.password || loading"
2015-04-11 13:12:44 -07:00
ng-style="{'background-color':index.backgroundColor}">
<span ng-if="isSetup" class="size-12" translate>SET</span>
<span ng-if="!isSetup" class="size-12">OK</span>
2015-03-06 07:00:10 -08:00
</button>
</div>
</div>
<p class="text-warning size-12 columns m20t text-center" ng-show="isSetup">
2015-03-06 07:00:10 -08:00
<i class="fi-alert"></i>
<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 07:00:10 -08:00
2016-06-06 12:52:14 -07:00
<span ng-show="error">{{error|translate}}</span>
2015-04-16 06:16:29 -07:00
</p>