diff --git a/src/img/dog-waiting-bw.jpg b/src/img/dog-waiting-bw.jpg new file mode 100644 index 0000000..31c17ff Binary files /dev/null and b/src/img/dog-waiting-bw.jpg differ diff --git a/src/styles/app.css b/src/styles/app.css index 8a9c72e..69894a4 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -112,6 +112,13 @@ body { } } +.verticalhorizontal { + display: flex; + justify-content: center; + align-items: center; + height: 800px; +} + /** * Menus */ diff --git a/src/user/login-complete.js b/src/user/login-complete.js index d8dd65c..4fd4922 100644 --- a/src/user/login-complete.js +++ b/src/user/login-complete.js @@ -21,10 +21,6 @@ import AppDispatcher from '../common/app-dispatcher'; import LoginStore from './login-store' import { Container } from 'flux/utils'; -import NotificationsDataManager from '../common/data-managers/notifications-data-manager'; -import NotificationsFactory from "../common/data-managers/notifications-factory"; - - class LoginComplete extends React.Component { constructor(props) { @@ -83,9 +79,7 @@ class LoginComplete extends React.Component { } countDown() { - console.log("count down, seconds:"); let seconds = this.state.secondsToWait - 1; - console.log(seconds); this.setState({secondsToWait: seconds}); // waiting time over, stop counting down @@ -95,20 +89,16 @@ class LoginComplete extends React.Component { } render() { - console.log("render, seconds to wait:"); - console.log(this.state.secondsToWait); if (this.state.currentUser && this.state.currentUser !== "") { - console.log("user:"); - console.log(this.state.currentUser); this.stopTimer(); return (); } else if (this.state.secondsToWait == 0) { this.stopTimer(); return (); - } else { // authenticating failed - //NotificationsFactory.LOAD_ERROR('Backend did not return user after external auth'); - return (

Authenticating.. {this.state.secondsToWait}

); + } else { + return (
+ Waiting Dog
); } } }