mail/src/tpl/login-initial.html

37 lines
1.5 KiB
HTML
Raw Normal View History

2013-11-04 08:20:14 -05:00
<div class="view-login" ng-class="{'waiting-cursor': state === states.PROCESSING}">
2013-10-21 12:50:19 -04:00
<div class="logo-wrapper">
<div class="logo"></div>
</div><!--/logo-->
2013-10-21 07:10:42 -04:00
2013-10-23 11:17:36 -04:00
<div class="content" ng-show="state === states.IDLE">
2013-10-21 12:50:19 -04:00
<h1>Set passphrase</h1>
2013-10-21 07:10:42 -04:00
2013-11-04 08:20:14 -05:00
<p>This is used to protect your keypair. If you forget your passphrase, there is no way to restore your data.</p>
2013-10-21 07:10:42 -04:00
2013-10-21 12:50:19 -04:00
<form>
<div>
<input type="password" ng-model="passphrase" placeholder="Enter passphrase" tabindex="1" focus-me="true">
2013-10-22 12:31:51 -04:00
<input type="password" ng-model="confirmation" ng-class="{error: confirmation !== passphrase}" placeholder="Confirm passphrase" tabindex="2">
2013-10-21 12:50:19 -04:00
</div>
<div>
<button type="submit" ng-click="confirmPassphrase()" class="btn" ng-disabled="!passphrase || passphrase!==confirmation" tabindex="3">Generate keypair</button>
</div>
</form>
</div><!--/content-->
2013-10-21 07:10:42 -04:00
2013-10-23 11:17:36 -04:00
<div class="content" ng-show="state === states.PROCESSING">
<h1>Generating keypair</h1>
2013-11-04 08:20:14 -05:00
<p>Please stand by. This can take a while...</p>
2013-10-23 11:17:36 -04:00
</div><!--/content-->
<div class="content" ng-show="state === states.DONE">
<h1>Keypair generated</h1>
2013-11-04 08:20:14 -05:00
<p>Your personal keypair has been generated. You can export it (e.g. to a USB flash drive) to setup whiteout on another computer or as a backup.</p>
<button ng-click="exportKeypair()" class="btn" tabindex="4">Export now</button>
<button ng-click="proceed()" class="btn" tabindex="5">Do it later</button>
2013-10-23 11:17:36 -04:00
</div><!--/content-->
2013-10-21 07:10:42 -04:00
</div>