Skip to content

Commit

Permalink
Add support for latest dash-auth (#253)
Browse files Browse the repository at this point in the history
* Add support for latest dash-auth 1.0.1 (closes #252)

* add support for dash-auth 0.1.0 and >= 1.0.1
  • Loading branch information
davecap committed May 25, 2018
1 parent f0bbf72 commit 35ef63d
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 208 deletions.
12 changes: 11 additions & 1 deletion solvebio/contrib/dash/js/src/login-index.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Login extends Component {
render() {
return (
<div id="dash-auth--login__container" className="container">
<h2>{'Dash'}</h2>
<h2>{'Secure Dash App'}</h2>

<h4>
{'Log in to SolveBio to continue'}
Expand All @@ -109,6 +109,16 @@ class Login extends Component {
<button id="dash-auth--login__button" onClick={this.oauthPopUp}>
{'Log in'}
</button>

<div className="caption">
<span>
{'This app requires a SolveBio account.'}
</span>
<br />
<a href={'mailto:support@solvebio.com'}>
{'Contact Support'}
</a>
</div>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion solvebio/contrib/dash/login.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 35ef63d

Please sign in to comment.