1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-11 03:35:01 -05:00
mail/src/tpl/login-initial.html

44 lines
2.4 KiB
HTML
Raw Normal View History

<div class="view-login view-login-initial" ng-class="{'waiting-cursor': state.ui === 2}">
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-11-11 07:28:05 -05:00
<div class="content" ng-switch on="state.ui">
2013-11-11 07:08:27 -05:00
<div ng-switch-when="1">
2014-03-28 20:13:32 -04:00
<p><b>Generate PGP key.</b> You can set a passphrase to protect your key on disk. This must be entered everytime you start the app. For no passphrase just press continue.</p><p>Alternatively you can also <a href="#" ng-click="$event.preventDefault(); importKey()">import an existing PGP key</a>.</p>
2013-11-11 07:08:27 -05:00
<form>
<div>
<label class="input-error-message" ng-class="{'passphrase-label-ok': passphraseRating >= 2}">{{passphraseMsg}}</label><br>
<input class="input-text" type="password" ng-model="state.passphrase" ng-change="checkPassphraseQuality()" placeholder="Enter passphrase" tabindex="1" focus-me="true">
<input class="input-text" type="password" ng-model="state.confirmation" ng-class="{'input-text-error': (state.confirmation || state.passphrase) && state.confirmation !== state.passphrase}" placeholder="Confirm passphrase" tabindex="2">
2013-12-04 08:47:04 -05:00
<span class="popover-info" data-icon-append="&#xe010;" popover="#passphrase-info"></span>
2013-11-11 07:08:27 -05:00
</div>
<div class="opt-in-terms">
<div class="checkbox-wrapper"><input type="checkbox" ng-model="state.agree"></div>
<div>I agree to the Whiteout Networks <a href="https://whiteout.io/terms.html" target="_blank">Terms of Service</a> and have read the <a href="https://whiteout.io/privacy.html" target="_blank">Privacy Policy</a>.</div>
</div>
2013-11-11 07:08:27 -05:00
<div>
<button type="submit" ng-click="confirmPassphrase()" class="btn" ng-disabled="(state.confirmation || state.passphrase) && state.confirmation !== state.passphrase" tabindex="3">Continue</button>
2013-11-11 07:08:27 -05:00
</div>
</form>
</div>
<div ng-switch-when="2">
<p><b>Generating key.</b> Please stand by. This can take a while...</p>
2013-11-11 07:08:27 -05:00
</div>
2013-10-23 11:17:36 -04:00
</div><!--/content-->
</div>
2013-12-04 08:47:04 -05:00
<!-- popovers -->
<div id="passphrase-info" class="popover right" ng-controller="PopoverCtrl">
<div class="arrow"></div>
<div class="popover-title"><b>What is this?</b></div>
<div class="popover-content">
<p>A passphrase is like a password that protects your PGP key.</p>
2013-12-04 08:47:04 -05:00
<p>If your device is lost or stolen the passphrase protects the contents of your mailbox.</p>
</div>
</div><!--/.popover-->