diff --git a/pages/tournament-statistics.js b/pages/tournament-statistics.js index 8457f5e..0a33e5b 100644 --- a/pages/tournament-statistics.js +++ b/pages/tournament-statistics.js @@ -23,27 +23,6 @@ import { findTeam } from '../js/utils/findTeam'; import { rangedmap } from '../js/utils/rangedmap'; import { Order, sort } from '../js/utils/sort'; -import '../static/css/tournament-statistics.css'; - -class TeamRow extends React.Component { - constructor(props) { - super(props); - } - - render() { - return ( - - { this.props.teamToShow.rank } - {findTeam(this.props.teams, this.props.teamToShow.team).name} - { this.props.teamToShow.winlossdifferential } - { this.props.teamToShow.pointDifferential } - - ); - } - - -} - class DominanceShower extends React.Component { render() { @@ -51,7 +30,7 @@ class DominanceShower extends React.Component { {this.props.title} - +
@@ -97,7 +76,7 @@ class StandingsTable extends React.Component {

Aktuelle Rangliste

-
{findTeam(this.props.teams, this.props.stats.id).name}
+
@@ -134,6 +113,21 @@ class StandingsTable extends React.Component { } } +class TeamRow extends React.Component { + constructor(props) { + super(props); + } + + render() { + return ( + + + + + + + ); + } } class TableButton extends React.Component { @@ -142,9 +136,9 @@ class TableButton extends React.Component { const { isFullTableShown } = this.props; if(isFullTableShown) { - return ; + return ; } else { - return ; + return ; } } } diff --git a/static/css/tournament-statistics.css b/static/css/tournament-statistics.css deleted file mode 100644 index f6dacdb..0000000 --- a/static/css/tournament-statistics.css +++ /dev/null @@ -1,16 +0,0 @@ - -.table-final-btn { - width: 100%; -} - -.wins { - color: #64c100; -} - -.losses { - color: #f21a1e; -} - -.table-no-margin{ - margin: 0; -}
#
{ this.props.teamToShow.rank }{findTeam(this.props.teams, this.props.teamToShow.team).name}{ this.props.teamToShow.winlossdifferential }{ this.props.teamToShow.pointDifferential }