|
|
@ -1,8 +1,10 @@ |
|
|
|
|
|
|
|
import EventEmitter from 'events' |
|
|
|
import React, {Component, PropTypes} from 'react' |
|
|
|
import React, {Component, PropTypes} from 'react' |
|
|
|
import {connect} from 'react-redux'; |
|
|
|
import {connect} from 'react-redux'; |
|
|
|
import {createNewVaultAndKeychain} from '../../../../ui/app/actions' |
|
|
|
import {createNewVaultAndKeychain} from '../../../../ui/app/actions' |
|
|
|
import LoadingScreen from './loading-screen' |
|
|
|
import LoadingScreen from './loading-screen' |
|
|
|
import Breadcrumbs from './breadcrumbs' |
|
|
|
import Breadcrumbs from './breadcrumbs' |
|
|
|
|
|
|
|
import Mascot from '../../../../ui/app/components/mascot' |
|
|
|
|
|
|
|
|
|
|
|
class CreatePasswordScreen extends Component { |
|
|
|
class CreatePasswordScreen extends Component { |
|
|
|
static propTypes = { |
|
|
|
static propTypes = { |
|
|
@ -18,6 +20,11 @@ class CreatePasswordScreen extends Component { |
|
|
|
confirmPassword: '' |
|
|
|
confirmPassword: '' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constructor () { |
|
|
|
|
|
|
|
super() |
|
|
|
|
|
|
|
this.animationEventEmitter = new EventEmitter() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
isValid() { |
|
|
|
isValid() { |
|
|
|
const {password, confirmPassword} = this.state; |
|
|
|
const {password, confirmPassword} = this.state; |
|
|
|
|
|
|
|
|
|
|
@ -50,6 +57,22 @@ class CreatePasswordScreen extends Component { |
|
|
|
return isLoading |
|
|
|
return isLoading |
|
|
|
? <LoadingScreen loadingMessage="Creating your new account" /> |
|
|
|
? <LoadingScreen loadingMessage="Creating your new account" /> |
|
|
|
: ( |
|
|
|
: ( |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<h2 className="alpha-warning">Warning This is Experemental software and is a Developer BETA </h2> |
|
|
|
|
|
|
|
<div className="first-view-main"> |
|
|
|
|
|
|
|
<div className="mascara-info"> |
|
|
|
|
|
|
|
<Mascot |
|
|
|
|
|
|
|
animationEventEmitter={this.animationEventEmitter} |
|
|
|
|
|
|
|
width="225" |
|
|
|
|
|
|
|
height="225" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<div className="info"> |
|
|
|
|
|
|
|
MetaMask is a secure identity vault for Ethereum. |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="info"> |
|
|
|
|
|
|
|
It allows you to hold ether & tokens, and interact with decentralized applications. |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div className="create-password"> |
|
|
|
<div className="create-password"> |
|
|
|
<div className="create-password__title"> |
|
|
|
<div className="create-password__title"> |
|
|
|
Create Password |
|
|
|
Create Password |
|
|
@ -97,6 +120,8 @@ class CreatePasswordScreen extends Component { |
|
|
|
{ */ } |
|
|
|
{ */ } |
|
|
|
<Breadcrumbs total={3} currentIndex={0} /> |
|
|
|
<Breadcrumbs total={3} currentIndex={0} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|