Integration with the Java server

This commit is contained in:
Andrew Revinsky (DART)
2016-02-16 20:51:10 +03:00
parent 28147a707d
commit ff00467b47
4 changed files with 77 additions and 74 deletions

View File

@@ -43,6 +43,7 @@ class EmailSignUpForm extends React.Component {
handleSubmit (event) { handleSubmit (event) {
event.preventDefault(); event.preventDefault();
let formData = this.props.auth.getIn(["emailSignUp", this.getEndpoint(), "form"]).toJS(); let formData = this.props.auth.getIn(["emailSignUp", this.getEndpoint(), "form"]).toJS();
debugger;
this.props.dispatch(emailSignUp(formData, this.getEndpoint())); this.props.dispatch(emailSignUp(formData, this.getEndpoint()));
} }

View File

@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Money Transfer App</title> <title>Money Transfer App</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- inject:app:css --> <!-- inject:app:css -->
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
@@ -14,7 +15,7 @@
<div id="react-app"></div> <div id="react-app"></div>
<!-- inject:app:js --> <!-- inject:app:js -->
<script src="/main-9e74b959977392f0c096.js"></script> <script src="/main-6801020f55748f0d5b9b.js"></script>
<!-- endinject --> <!-- endinject -->
</body> </body>
</html> </html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long