2014-11-05 10:03:48 -05:00
|
|
|
<section class="page">
|
|
|
|
<div class="page__canvas">
|
|
|
|
<header class="page__header">
|
|
|
|
<img src="img/whiteout_logo.svg" alt="whiteout.io">
|
|
|
|
</header>
|
|
|
|
<main class="page__main">
|
|
|
|
<h2 class="typo-title">Import PGP key</h2>
|
2015-02-27 14:04:44 -05:00
|
|
|
<p class="typo-paragraph">Please import an existing key. You can import a key via copy/paste or from the filesystem.</p>
|
2013-10-22 08:48:38 -04:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
<form class="form" name="form">
|
2014-11-12 10:12:26 -05:00
|
|
|
<p class="form__error-message" ng-show="errMsg">{{errMsg}}</p>
|
2014-11-05 10:03:48 -05:00
|
|
|
<div class="form__row">
|
2015-02-27 14:04:44 -05:00
|
|
|
<textarea class="textarea" placeholder="Paste PRIVATE PGP KEY BLOCK here..." ng-model="pastedKey" ng-change="pasteKey(pastedKey)" tabindex="1"></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="form__row">
|
|
|
|
<input class="input-file" type="file" file-reader tabindex="2">
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
|
|
|
<div class="form__row">
|
|
|
|
<input class="input-text" type="password" ng-model="passphrase"
|
2015-02-27 14:04:44 -05:00
|
|
|
ng-class="{'input-text--error':incorrect}" placeholder="Passphrase" tabindex="3">
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
2014-11-12 10:12:26 -05:00
|
|
|
<div class="spinner-block" ng-show="busy">
|
2014-11-05 10:03:48 -05:00
|
|
|
<span class="spinner spinner--big"></span>
|
2014-11-12 10:12:26 -05:00
|
|
|
</div>
|
2014-11-05 10:03:48 -05:00
|
|
|
<div class="form__row">
|
2015-02-27 14:04:44 -05:00
|
|
|
<button type="submit" ng-click="confirmPassphrase()" class="btn" tabindex="4">Import</button>
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
|
|
|
</form>
|
2015-02-27 14:04:44 -05:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
<p class="typo-paragraph">
|
|
|
|
<a href="https://whiteout.io/revocation.html" title="Click here to reset your account." target="_blank">
|
|
|
|
Lost your keyfile or passphrase?
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</main>
|
|
|
|
<div ng-include="'tpl/page-footer.html'"></div>
|
2013-10-22 08:48:38 -04:00
|
|
|
</div>
|
2014-11-05 10:03:48 -05:00
|
|
|
</section>
|