2019-04-01 12:24:45 +01:00
|
|
|
<!--Copyright (C) 2019 Storj Labs, Inc.-->
|
|
|
|
<!--See LICENSE for copying information.-->
|
|
|
|
|
2019-04-25 14:08:00 +01:00
|
|
|
<div class="register-container" @keyup.enter="onCreateClick">
|
|
|
|
<div :class="loadingClassName">
|
2019-04-01 12:24:45 +01:00
|
|
|
<img src="../../../static/images/register/Loading.gif">
|
|
|
|
</div>
|
2019-04-03 17:25:18 +01:00
|
|
|
<img class="image" src="../../../static/images/AuthImage.svg" alt="" >
|
2019-04-01 12:24:45 +01:00
|
|
|
<div class="register-container__wrapper">
|
|
|
|
<div class="register-container__header">
|
2019-04-25 14:08:00 +01:00
|
|
|
<img class="register-container__logo" src="../../../static/images/Logo.svg" alt="logo" @click="onLogoClick">
|
|
|
|
<div class="register-container__register-button" @click.prevent="onLoginClick">
|
2019-04-01 12:24:45 +01:00
|
|
|
<p>Login</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="register-area-wrapper">
|
|
|
|
<div class="register-area">
|
|
|
|
<div class="register-area__title-container">
|
|
|
|
<h1>Sign Up to Storj</h1>
|
|
|
|
</div>
|
|
|
|
<HeaderlessInput
|
|
|
|
class="full-input"
|
2019-04-08 23:34:28 +01:00
|
|
|
label="Full Name"
|
2019-04-01 12:24:45 +01:00
|
|
|
placeholder="Enter Full Name"
|
|
|
|
:error="fullNameError"
|
|
|
|
@setData="setFullName"
|
|
|
|
width="100%"
|
2019-04-03 17:25:18 +01:00
|
|
|
height="46px">
|
2019-04-01 12:24:45 +01:00
|
|
|
</HeaderlessInput>
|
|
|
|
<HeaderlessInput
|
|
|
|
class="full-input"
|
|
|
|
label="Short Name"
|
|
|
|
placeholder="Enter Short Name"
|
|
|
|
@setData="setShortName"
|
|
|
|
width="100%"
|
2019-04-03 17:25:18 +01:00
|
|
|
height="46px">
|
2019-04-01 12:24:45 +01:00
|
|
|
</HeaderlessInput>
|
|
|
|
<HeaderlessInput
|
|
|
|
class="full-input"
|
|
|
|
label="Email"
|
|
|
|
placeholder="Enter Email"
|
|
|
|
:error="emailError"
|
|
|
|
@setData="setEmail"
|
|
|
|
width="100%"
|
2019-04-03 17:25:18 +01:00
|
|
|
height="46px">
|
2019-04-01 12:24:45 +01:00
|
|
|
</HeaderlessInput>
|
|
|
|
<div class="register-input">
|
|
|
|
<HeaderlessInput
|
2019-04-08 23:34:28 +01:00
|
|
|
class="full-input"
|
|
|
|
label="Password"
|
|
|
|
placeholder="Enter Password"
|
|
|
|
:error="passwordError"
|
|
|
|
@setData="setPassword"
|
|
|
|
width="100%"
|
|
|
|
height="46px"
|
|
|
|
isPassword>
|
2019-04-01 12:24:45 +01:00
|
|
|
</HeaderlessInput>
|
|
|
|
<span
|
|
|
|
v-html="infoImage"
|
|
|
|
title="Use 6 or more characters"></span>
|
|
|
|
</div>
|
|
|
|
<div class="register-input">
|
|
|
|
<HeaderlessInput
|
|
|
|
class="full-input"
|
2019-04-11 02:27:55 +01:00
|
|
|
label="Confirm Password"
|
|
|
|
placeholder="Confirm Password"
|
2019-04-01 12:24:45 +01:00
|
|
|
:error="repeatedPasswordError"
|
|
|
|
@setData="setRepeatedPassword"
|
|
|
|
width="100%"
|
|
|
|
height="46px"
|
2019-04-03 17:25:18 +01:00
|
|
|
isPassword>
|
2019-04-01 12:24:45 +01:00
|
|
|
</HeaderlessInput>
|
|
|
|
<span v-html="infoImage"
|
|
|
|
title="Use 6 or more characters"></span>
|
|
|
|
</div>
|
|
|
|
<div class="register-area__submit-container">
|
|
|
|
<div class="register-area__submit-container__terms-area">
|
|
|
|
<label class="container">
|
|
|
|
<input type="checkbox" v-model="isTermsAccepted">
|
2019-04-25 14:08:00 +01:00
|
|
|
<span :class="[isTermsAcceptedError ? 'checkmark error': 'checkmark']"></span>
|
2019-04-01 12:24:45 +01:00
|
|
|
</label>
|
2019-04-11 02:27:55 +01:00
|
|
|
<h2>I agree to the <a href="https://tardigrade.io/terms-of-use/" target="_blank">Terms & Conditions</a></h2>
|
2019-04-01 12:24:45 +01:00
|
|
|
</div>
|
2019-04-25 14:08:00 +01:00
|
|
|
<div id="createAccountButton" class="register-area__submit-container__create-button" @click.prevent="onCreateClick">
|
2019-04-01 12:24:45 +01:00
|
|
|
<p>Create Account</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-15 09:28:36 +01:00
|
|
|
<RegistrationSuccessPopup ref="register_success_popup"/>
|
2019-04-01 12:24:45 +01:00
|
|
|
</div>
|