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">
|
2014-06-13 06:33:30 -04:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
<div ng-show="step === 1">
|
|
|
|
<h2 class="typo-title">Key sync</h2>
|
|
|
|
<p class="typo-paragraph">We have sent you an email containing a recovery token. Please copy and paste the token below to download your key.</p>
|
2014-11-12 10:12:26 -05:00
|
|
|
<form class="form" name="tokenForm">
|
|
|
|
<p class="form__error-message" ng-show="errMsg">{{errMsg}}</p>
|
2014-06-13 06:33:30 -04:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
<div class="form__row">
|
2014-11-12 10:12:26 -05:00
|
|
|
<input type="text" class="input-text input-text--big" ng-class="{'input-text--error':incorrect}"
|
2014-11-10 08:14:34 -05:00
|
|
|
size="6" maxlength="6" ng-model="recoveryToken" placeholder="Token" wo-focus-me="step === 1" pattern="([a-zA-Z0-9]*)" required>
|
2014-11-12 10:12:26 -05:00
|
|
|
</div>
|
|
|
|
<div class="spinner-block" ng-show="busy">
|
|
|
|
<span class="spinner spinner--big"></span>
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
|
|
|
<div class="form__row">
|
2014-11-12 10:12:26 -05:00
|
|
|
<button class="btn btn--big" type="submit" ng-click="checkToken()">Confirm token</button>
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
|
|
|
</form>
|
2014-06-13 06:33:30 -04:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
<form class="form">
|
|
|
|
<fieldset class="form-fieldset">
|
|
|
|
<legend>Got USB?</legend>
|
|
|
|
<p class="typo-paragraph">
|
|
|
|
You can also import the key file manually if you're on a device with USB access and your key is on a flash drive.
|
|
|
|
</p>
|
|
|
|
</fieldset>
|
|
|
|
<div class="form__row">
|
|
|
|
<a class="btn btn--secondary" href="#login-new-device">Import key file</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
2014-07-31 08:51:26 -04:00
|
|
|
</div>
|
2014-06-13 06:33:30 -04:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
<div ng-show="step === 2">
|
|
|
|
<h2 class="typo-title">Key sync</h2>
|
|
|
|
<p class="typo-paragraph">Please enter the keychain code you wrote down during sync setup.</p>
|
2014-11-12 10:12:26 -05:00
|
|
|
<form class="form" name="codeForm">
|
|
|
|
<p class="form__error-message" ng-show="errMsg">{{errMsg}}</p>
|
2014-06-13 06:33:30 -04:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
<div class="form__row">
|
|
|
|
<div class="input-code">
|
2014-11-10 08:14:34 -05:00
|
|
|
<input type="text" class="input-text" size="4" maxlength="4" ng-model="code0" wo-focus-me="step === 2" focus-next required ng-paste="handlePaste($event)"> -
|
2014-11-12 10:12:26 -05:00
|
|
|
<input type="text" class="input-text" size="4" maxlength="4" ng-model="code1" focus-next required> -
|
|
|
|
<input type="text" class="input-text" size="4" maxlength="4" ng-model="code2" focus-next required> -
|
|
|
|
<input type="text" class="input-text" size="4" maxlength="4" ng-model="code3" focus-next required> -
|
|
|
|
<input type="text" class="input-text" size="4" maxlength="4" ng-model="code4" focus-next required> -
|
|
|
|
<input type="text" class="input-text" size="4" maxlength="4" ng-model="code5" required>
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-11-12 10:12:26 -05:00
|
|
|
<div class="spinner-block" ng-show="busy">
|
|
|
|
<span class="spinner spinner--big"></span>
|
|
|
|
</div>
|
2014-11-05 10:03:48 -05:00
|
|
|
<div class="form__row">
|
2014-11-12 10:12:26 -05:00
|
|
|
<button class="btn" type="submit" ng-click="checkCode()">Complete sync</button>
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<p class="typo-paragraph">
|
|
|
|
<a href="https://whiteout.io/revocation.html" title="Click here to reset your account." target="_blank">Lost your keychain code?</a>
|
|
|
|
</p>
|
2014-07-31 08:51:26 -04:00
|
|
|
</div>
|
2014-06-13 06:33:30 -04:00
|
|
|
|
2014-11-05 10:03:48 -05:00
|
|
|
</main>
|
|
|
|
<div ng-include="'tpl/page-footer.html'"></div>
|
|
|
|
</div>
|
|
|
|
</section>
|