minor updates

This commit is contained in:
jenzur
2019-07-19 15:47:56 +02:00
parent 78ecb9ddbe
commit cb930d5248
6 changed files with 51 additions and 55 deletions
+14 -15
View File
@@ -107,28 +107,27 @@ class Player extends React.Component {
</div>
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', }}>
<a href={"http://steamcommunity.com/profiles/" + this.state.player.steamID64}>
<strong className="col-lg-1 col-centered" /> {this.state.player.steamID}<br />
<strong className="col-lg-1 col-centered" />{this.state.player.name}<br />
<strong> {this.state.player.steamID}</strong><br />
<strong>{this.state.player.name}</strong><br />
<img src={this.state.player.Avatar} alt="" /> <br />
<strong className="col-lg-1 col-centered" />Rank: {this.state.player.Rank}<br />
<strong className="col-lg-1 col-centered" />Points: {this.state.player.PlayerPoints}<br />
<strong className="col-lg-1 col-centered" />Times: {this.state.player.Times}<br />
<strong>Rank: {this.state.player.Rank}</strong><br />
<strong>Points: {this.state.player.PlayerPoints}</strong><br />
<strong>Times: {this.state.player.Times}</strong><br />
{badges}
</a>
</div>
<div className="container mm">
<div className="row">
{this.state.mapTimes.map(e => (
<div className="item" key={"playermapkey/" + e.mapname + "/" + e.mapstage} id={"playermaps/" + e.mapname + "/" + e.mapstage}>
<div className="box_grid">
<div className="item col-12 col-sm-6 col-md-4 col-lg-3 d-flex justify-content-center"
key={"playermapkey/" + e.mapname + "/" + e.mapstage} id={"playermaps/" + e.mapname + "/" + e.mapstage}>
<div className="box_grid text-center">
<NavLink to={'/map/' + e.mapname + "/" + e.mapstage}>
<strong className="col-lg-1 col-centered" /> Map: {e.mapname}<br />
<strong className="col-lg-1 col-centered" /> Stage: {e.mapstage}<br />
<strong className="col-lg-1 col-centered" /> Position: {e.position}<br />
<strong className="col-lg-1 col-centered" /> Time: 0{e.mapTimeMinutes}:{e.mapTimeSeconds}<br />
<strong className="col-lg-1 col-centered" /> MapPoints: {e.mapPoint}<br />
<br />
<br />
<strong> Map: {e.mapname}</strong><br />
<strong> Stage: {e.mapstage}</strong><br />
<strong> Position: {e.position}</strong><br />
<strong> Time: 0{e.mapTimeMinutes}:{e.mapTimeSeconds}</strong><br />
<strong> MapPoints: {e.mapPoint}</strong><br />
</NavLink>
</div>
</div>
@@ -136,7 +135,7 @@ class Player extends React.Component {
</div>
</div>
{!this.state.breakload ? <h1>
Loading Stats <br /> <br /> <LoadingIndicator />
<LoadingIndicator />
</h1> : ""}
</React.Fragment>
);