diff --git a/alkator/settings.py b/alkator/settings.py index 65d602f..4a022bf 100644 --- a/alkator/settings.py +++ b/alkator/settings.py @@ -85,7 +85,7 @@ DATABASES = { COMGATE_MERCHANT = 485044 -COMGATE_TEST = False +COMGATE_TEST = True COMGATE_SECRET = '4c36b7faf40575073b26570066ca2a9f' diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 1cedc5c..aca9136 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -117,7 +117,6 @@ class Main extends Component { } render(){ - console.log(this.state.login_status); let photos_gallery = []; let photos_carousel = []; if(this.state.gallery_open !== undefined){ @@ -169,9 +168,14 @@ class Main extends Component { } {Object.keys(this.state.login_status).length > 0 && -
  • - Přihlášen {this.state.login_status.first_name} {this.state.login_status.last_name} Odhlásit -
  • +
    + + +
    } @@ -184,6 +188,38 @@ class Main extends Component {
    {this.setState({status: "", status_text:""})}}> {this.state.status_text}
    } + {this.state.page == "#register_racer" && +
    +
    this.onSubmit(e)}> +

    Registrace Závodníka

    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    + + +
    +
    + } {this.state.page == "#login" &&
    this.onSubmit(e)}>