forked from steemit/condenser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
304 phone verification and sign up flow refactoring (steemit#433)
* add newrelic; rebuild shrinkwrap * update shrinkwrap * A few more react 15.3.1 to 15.3.2 (steemit#369) * Confirm mobile (work in progress) steemit#304 * Update mobile verification with schema change. steemit#304 * Update telesign example config * Progress with signature matching telesig ruby example. steemit#304 * Telesign signature fix (includs missing content type header). * Cleanup warnings * Able to verify a phone number in the UI * Adds telesig verify block check and updating of mobile * Enable mobile recaptcha. SMS verify for FB users only. * Fixed verification code length steemit#304 * add sign up progress bar; refactor submit_email page * integrate phone verification into sign up process * check for existing email * check if phone number was already used * show SignupProgressBar on create_account page; some refactoring * work in progress * move ip and email checks out of oath module * Add confirm_email path in console log to help with testing. steemit#304 * Update email address is confirmation is re-sent. steemit#304 * polishing sign up flow * update wording as per TeleSign's recomendations
- Loading branch information
Valentine Zavgorodnev
authored
Oct 7, 2016
1 parent
861ca30
commit 60fcea8
Showing
20 changed files
with
734 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
|
||
export default function SignupProgressBar({steps, current}) { | ||
const lis = steps.map((s, i) => { | ||
const cn = i + 1 < current ? 'done' : (i + 1 == current ? 'current' : ''); | ||
return <li className={cn} key={i + 1}>{s}</li> | ||
}); | ||
return <div className="SignupProgressBar__container expanded row"> | ||
<div className="column"> | ||
<div className="SignupProgressBar"> | ||
<ul> | ||
{lis} | ||
</ul> | ||
</div> | ||
</div> | ||
</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
.SignupProgressBar__container { | ||
background-color: transparent; | ||
padding-bottom: 0.5rem; | ||
border-bottom: 1px solid $light-gray; | ||
} | ||
|
||
.SignupProgressBar { | ||
width: 100%; | ||
margin: 0 auto 50px 0; | ||
|
||
> ul { | ||
counter-reset: step; | ||
} | ||
> ul > li { | ||
list-style-type: none; | ||
width: 25%; | ||
float: left; | ||
font-size: 12px; | ||
position: relative; | ||
text-align: center; | ||
text-transform: uppercase; | ||
color: #7d7d7d; | ||
} | ||
> ul > li:before { | ||
width: 30px; | ||
height: 30px; | ||
content: counter(step); | ||
counter-increment: step; | ||
line-height: 26px; | ||
border: 2px solid #7d7d7d; | ||
display: block; | ||
text-align: center; | ||
margin: 0 auto 10px auto; | ||
border-radius: 50%; | ||
background-color: white; | ||
} | ||
> ul > li:after { | ||
width: 100%; | ||
height: 2px; | ||
content: ''; | ||
position: absolute; | ||
background-color: #7d7d7d; | ||
top: 15px; | ||
left: -50%; | ||
z-index: -1; | ||
} | ||
> ul > li:first-child:after { | ||
content: none; | ||
} | ||
> ul > li.done { | ||
color: #1A5099; | ||
} | ||
> ul > li.done:before { | ||
content: "\2713"; | ||
color: #fff; | ||
border-color: #4ba2f2; | ||
background-color: #4ba2f2; | ||
} | ||
> ul > li.done:after { | ||
background-color: #4ba2f2; | ||
} | ||
> ul > li.current { | ||
color: #1A5099; | ||
} | ||
> ul > li.current:before { | ||
border-color: #4ba2f2; | ||
} | ||
> ul > li.current:after { | ||
background-color: #4ba2f2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import Icon from 'app/components/elements/Icon.jsx'; | ||
|
||
export default function MiniHeader() { | ||
return <header className="Header"> | ||
<div className="Header__top header"> | ||
<div className="expanded row"> | ||
<div className="columns"> | ||
<ul className="menu"> | ||
<li className="Header__top-logo"> | ||
<a href="/"><Icon name="steem" size="2x" /></a> | ||
</li> | ||
<li className="Header__top-steemit show-for-medium"><a href="/">steemit<span className="beta">beta</span></a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</header>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.