aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/unlock.js
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-08-24 08:17:08 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-08-26 05:13:32 +0800
commit483a7fee0a815812ef43601f64083ed26825d0a4 (patch)
tree5a39a1dd9cd825dbcadb67688ff1cbcc923f8f10 /ui/app/unlock.js
parent3756384da6cb7d1566271cb99ec561d3b051a4ac (diff)
downloadtangerine-wallet-browser-483a7fee0a815812ef43601f64083ed26825d0a4.tar
tangerine-wallet-browser-483a7fee0a815812ef43601f64083ed26825d0a4.tar.gz
tangerine-wallet-browser-483a7fee0a815812ef43601f64083ed26825d0a4.tar.bz2
tangerine-wallet-browser-483a7fee0a815812ef43601f64083ed26825d0a4.tar.lz
tangerine-wallet-browser-483a7fee0a815812ef43601f64083ed26825d0a4.tar.xz
tangerine-wallet-browser-483a7fee0a815812ef43601f64083ed26825d0a4.tar.zst
tangerine-wallet-browser-483a7fee0a815812ef43601f64083ed26825d0a4.zip
Add a back button on lock screen to go back to init menu
Diffstat (limited to 'ui/app/unlock.js')
-rw-r--r--ui/app/unlock.js79
1 files changed, 39 insertions, 40 deletions
diff --git a/ui/app/unlock.js b/ui/app/unlock.js
index a7896d640..eeaedc434 100644
--- a/ui/app/unlock.js
+++ b/ui/app/unlock.js
@@ -25,47 +25,46 @@ UnlockScreen.prototype.render = function () {
const state = this.props
const warning = state.warning
return (
-
- h('.unlock-screen.flex-column.flex-center.flex-grow', [
-
- h(Mascot, {
- animationEventEmitter: this.animationEventEmitter,
- }),
-
- h('h1', {
- style: {
- fontSize: '1.4em',
- textTransform: 'uppercase',
- color: '#7F8082',
- },
- }, 'MetaMask'),
-
- h('input.large-input', {
- type: 'password',
- id: 'password-box',
- placeholder: 'enter password',
- style: {
-
- },
- onKeyPress: this.onKeyPress.bind(this),
- onInput: this.inputChanged.bind(this),
- }),
-
- h('.error', {
- style: {
- display: warning ? 'block' : 'none',
- },
- }, warning),
-
- h('button.primary.cursor-pointer', {
- onClick: this.onSubmit.bind(this),
- style: {
- margin: 10,
- },
- }, 'Unlock'),
-
+ h('.flex-column.hey-im-here', [
+ h('.unlock-screen.flex-column.flex-center.flex-grow', [
+
+ h(Mascot, {
+ animationEventEmitter: this.animationEventEmitter,
+ }),
+
+ h('h1', {
+ style: {
+ fontSize: '1.4em',
+ textTransform: 'uppercase',
+ color: '#7F8082',
+ },
+ }, 'MetaMask'),
+
+ h('input.large-input', {
+ type: 'password',
+ id: 'password-box',
+ placeholder: 'enter password',
+ style: {
+
+ },
+ onKeyPress: this.onKeyPress.bind(this),
+ onInput: this.inputChanged.bind(this),
+ }),
+
+ h('.error', {
+ style: {
+ display: warning ? 'block' : 'none',
+ },
+ }, warning),
+
+ h('button.primary.cursor-pointer', {
+ onClick: this.onSubmit.bind(this),
+ style: {
+ margin: 10,
+ },
+ }, 'Unlock'),
+ ]),
])
-
)
}