1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-16 06:05:07 -05:00
mail/src/tpl/account.html
2014-11-10 14:40:52 +01:00

29 lines
1.1 KiB
HTML

<div class="lightbox__body" ng-controller="AccountCtrl">
<header class="lightbox__header">
<h2>Account</h2>
<button class="lightbox__close" wo-touch="state.account.toggle(false)" data-action="lightbox-close">
<svg><use xlink:href="#icon-close" /><title>Close</title></svg>
</button>
</header>
<div class="lightbox__content">
<dl class="account">
<dt>Email</dt>
<dd>{{eMail}}</dd>
<dt>PGP Key ID</dt>
<dd>{{keyId}} (<a href="https://whiteout.io/revocation.html" title="Click to reset your account." target="_blank">Revoke key</a>)</dd>
<dt>PGP Fingerprint</dt>
<dd><a href="{{publicKeyUrl}}" title="Click to share your public key." target="_blank">{{fingerprint}}</a></dd>
<dt>Key Size (RSA)</dt>
<dd>{{keysize}} bit</dd>
</dl>
</div>
<footer class="lightbox__controls">
<button wo-touch="state.account.toggle(false); state.setPassphrase.toggle(true)" class="btn btn--secondary">Set passphrase</button>
<button wo-touch="exportKeyFile()" class="btn">Export keypair</button>
</footer>
</div>