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">Validate phone number</h2>
|
|
|
|
<p class="typo-paragraph">We have sent you a validation code via SMS. Please enter this code to confirm your phone number.</p>
|
2014-11-09 14:58:13 -05:00
|
|
|
<form class="form" name="form">
|
|
|
|
<p class="form__error-message" ng-show="errMsg">{{errMsg}}</p>
|
2014-11-05 10:03:48 -05:00
|
|
|
<div class="form__row">
|
2014-11-09 14:58:13 -05:00
|
|
|
<input type="text" class="input-text input-text--big" ng-class="{'input-text--error': errMsg}"
|
|
|
|
size="6" maxlength="6" ng-model="token" placeholder="Code" required pattern="([a-zA-Z0-9]*)" focus-me="true" tabindex="1">
|
2014-11-05 10:03:48 -05:00
|
|
|
</div>
|
2014-11-09 14:58:13 -05:00
|
|
|
<div class="spinner-block" ng-show="busy">
|
2014-11-05 10:03:48 -05:00
|
|
|
<span class="spinner spinner--big"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form__row">
|
|
|
|
<button class="btn btn--big" type="submit" ng-click="validateUser()">Confirm code</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
<div ng-include="'tpl/page-footer.html'"></div>
|
|
|
|
</div>
|
|
|
|
</section>
|