diff --git a/api/routes/players.js b/api/routes/players.js index 243f4fc..f0943b3 100644 --- a/api/routes/players.js +++ b/api/routes/players.js @@ -53,7 +53,7 @@ campaignPlayer.route('/ranking/:campaignId') } res.locals.items = { - kills: getTopFive('kill'), + kill: getTopFive('kill'), death: getTopFive('death'), friendlyFire: getTopFive('friendlyFire'), revive: getTopFive('revive'), diff --git a/static/src/app/statistic/highscore/highscore.component.css b/static/src/app/statistic/highscore/highscore.component.css index 2666e75..f5eba27 100644 --- a/static/src/app/statistic/highscore/highscore.component.css +++ b/static/src/app/statistic/highscore/highscore.component.css @@ -1,31 +1,5 @@ -.slide-chart-container { - width: 90%; - min-width: 880px; - height: 650px; +ngx-datatable { + width: 320px; margin: auto; - padding-left: 5%; -} - -:host /deep/ .carousel-indicators { - display: none; -} - -:host /deep/ .carousel-control { - width: 5%; - cursor: pointer; -} - -:host /deep/ .chart-legend { - position: absolute; - margin-top: -60px; - margin-left: -220px; -} - -:host /deep/ .chart-legend .legend-labels { - width: 200px; -} - -:host /deep/ .chart-legend .legend-label { - float: left; - padding-left: 14px; + height: 240px; } diff --git a/static/src/app/statistic/highscore/highscore.component.html b/static/src/app/statistic/highscore/highscore.component.html index 6bdb3fc..396ae44 100644 --- a/static/src/app/statistic/highscore/highscore.component.html +++ b/static/src/app/statistic/highscore/highscore.component.html @@ -1,5 +1,26 @@ -