|
@@ -1,20 +1,17 @@
|
|
import React from "react";
|
|
import React from "react";
|
|
import { Link } from "react-router";
|
|
import { Link } from "react-router";
|
|
import styles from "../styles/";
|
|
import styles from "../styles/";
|
|
|
|
+import MainContainer from "../containers/MainContainer";
|
|
import UserDetails from "../components/UserDetails";
|
|
import UserDetails from "../components/UserDetails";
|
|
import UserDetailsWrapper from "../components/UserDetailsWrapper";
|
|
import UserDetailsWrapper from "../components/UserDetailsWrapper";
|
|
|
|
|
|
const PropTypes = React.PropTypes;
|
|
const PropTypes = React.PropTypes;
|
|
|
|
|
|
-function puke(obj) {
|
|
|
|
- return <pre>{JSON.stringify(obj, null, " ")}</pre>;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
const ConfirmBattle = (props) => {
|
|
const ConfirmBattle = (props) => {
|
|
return props.isLoading === true
|
|
return props.isLoading === true
|
|
? <p>LOADING</p>
|
|
? <p>LOADING</p>
|
|
: (
|
|
: (
|
|
- <div className="jumbotron col-sm-12 text-center" style={styles.transparentBg}>
|
|
|
|
|
|
+ <MainContainer>
|
|
<h1>Confirm Players</h1>
|
|
<h1>Confirm Players</h1>
|
|
<div className="col-sm-8 col-sm-offset-2">
|
|
<div className="col-sm-8 col-sm-offset-2">
|
|
<UserDetailsWrapper header="Player One">
|
|
<UserDetailsWrapper header="Player One">
|
|
@@ -35,7 +32,7 @@ const ConfirmBattle = (props) => {
|
|
</Link>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </MainContainer>
|
|
);
|
|
);
|
|
};
|
|
};
|
|
|
|
|