Skip to content

Commit

Permalink
Dapp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hsurf22 committed Aug 13, 2018
1 parent b53010c commit f4cca5a
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 9 deletions.
17 changes: 13 additions & 4 deletions src/layouts/CreateWalletLayout/CreateWalletLayout.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
@import '~@/scss/GlobalVariables';



.wrap {
background-color: $background-color-1;
padding: 0;
}

.title-block {
margin-bottom: 40px;
display: flex;
.title-popover {
margin: 0 auto;
display: flex;
align-items: center;
}
}


.nav-tab-user-input-box {
background-color: $background-color-white;
margin: 0 auto;
Expand All @@ -24,9 +37,5 @@
min-height: 500px;
padding: 50px;

h3 {
margin-bottom: 40px;
text-align: center;
}
}
}
17 changes: 16 additions & 1 deletion src/layouts/CreateWalletLayout/CreateWalletLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,26 @@
<b-tabs class="x100">
<div class="progress-bar"></div>
<b-tab title="By JSON File" active>
<h3>{{ $t("createWallet.yourPw") }}</h3>

<div class="title-block">
<div class="title-popover">
<h3>{{ $t("createWallet.yourPw") }}</h3>
<popover :popcontent="$t('popover.whatIsMessageContent')"/>
</div>
</div>

<create-wallet-input v-model='password' :switcher="switcher" :param="'Json'"></create-wallet-input>
<create-wallet-input-footer></create-wallet-input-footer>
</b-tab>
<b-tab title="By Mnemonic Phrase" >

<div class="title-block">
<div class="title-popover">
<h3>{{ $t("createWallet.yourPw") }}</h3>
<popover :popcontent="$t('popover.whatIsMessageContent')"/>
</div>
</div>

<h3>{{ $t("createWallet.yourPw") }}</h3>
<create-wallet-input v-model='password' :switcher="switcher" :param="'Mnemonic'"></create-wallet-input>
<create-wallet-input-footer></create-wallet-input-footer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
background-color: $background-color-1;
border: 0;
font-size: 14px;
margin-bottom: 40px;
margin-bottom: 10px;
padding: 20px;
width: 100%;
}


.next-button {
cursor: pointer;
display: block;
Expand All @@ -20,14 +21,18 @@
padding: 20px 0;
text-align: center;
width: 100%;
position: relative;
margin-top: 40px;

&:disabled {
background-color: $disabled;
}

img {
margin-left: 5px;
width: 20px;
position: absolute;
right: 20px;
top: 24px;
width: 25px;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<form class="user-input">
<input type="password" name="password" placeholder="Please Enter At Least 9 Characters" v-bind:value="value" v-on:input="updateValue($event.target.value)" autocomplete="off" />
<p v-show="value.length > 0">Password strength: <span :class="strengthClass">{{ strength }}</span></p>
<p class="passwd-strength" v-show="value.length > 0">
Password strength: <span :class="strengthClass">{{ strength }}</span>
</p>
<button class="next-button large-round-button-green-filled" type="submit" @click.prevent="switcher(param)" :disabled="value.length === 0 && value.length < 9 && strength === ''">
{{ $t("common.next") }}<img src="~@/assets/images/icons/right-arrow.png">
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<div class="flex-container">
<div class="title-container">
<h4 class="modal-title">{{ $t('interface.domSaleBal') }}</h4>
<popover :popcontent="$t('popover.whatIsSpeedOfTX')"/>
<div class="margin-left-auto add-custom-network">
<div class="sliding-switch-white">
<label class="switch">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@
margin: 0 auto;
text-align: center;
width: 300px;
position: relative;

i {
position: absolute;
right: 20px;
top: 16px;
font-size: 30px;
}
}

p {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<h4>1 ETH = 0.000231 BTC</h4>
<div class="submit-button large-round-button-green-filled clickable">
{{ $t('common.continue') }}
<i class="fa fa-long-arrow-right" aria-hidden="true"></i>
</div>
<div class="buy-eth">
<span>Buy ETH with</span>
Expand Down

1 comment on commit f4cca5a

@mew-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.