Commit 2b5db5f7 authored by Lukas Burgey's avatar Lukas Burgey

Remove wells to improve optic

parent f3df2445
......@@ -6,26 +6,20 @@
{% block content %}
<div class="row">
<div class="col-md-12">
<div class="well">
<h5 style="margin: 0px;" class="chart-heading">{{ title }}</h5>
</div>
<h5 style="margin: 0px;" class="chart-heading">{{ title }}</h5>
</div>
<div class="col-md-6">
<div class="well">
<h5 class="chart-heading"> {{ stat_descriptions|ldescr:'point_history' }} </h5>
<canvas id="chartpoint_history" height="170"></canvas>
</div>
<h5 class="chart-heading"> {{ stat_descriptions|ldescr:'point_history' }} </h5>
<canvas id="chartpoint_history" height="170"></canvas>
</div>
<div class="col-md-6">
<div class="well">
<h5 class="chart-heading">{{ stat_descriptions|ldescr:'elo_history' }}</h5>
<canvas id="chart_elo_history" height="170"></canvas>
</div>
<h5 class="chart-heading">{{ stat_descriptions|ldescr:'elo_history' }}</h5>
<canvas id="chart_elo_history" height="170"></canvas>
</div>
<div class="col-md-12">
<div class="well table-responsive">
<div class="table-responsive">
<h5 class="chart-heading">Player ranking</h5>
<table class="table table-bordered table-striped table-hover">
<table class="table table-striped">
<thead>
<tr>
<td>Player</td>
......@@ -44,65 +38,55 @@
</div>
</div>
<div class="col-md-6">
<div class="well">
<h5 class="chart-heading">Game endings: {{ win_percentage|floatformat:-2 }}% won</h5>
<div class="limitgrowth">
<h5 class="chart-heading">Game endings: {{ win_percentage|floatformat:-2 }}% won</h5>
<div class="limitgrowth">
<canvas id="chart1"></canvas>
</div>
</div>
</div>
<div class="col-md-6">
<div class="well">
<h5 class="chart-heading">Game count per type</h5>
<div class="limitgrowth">
<canvas id="chart0"></canvas>
</div>
<h5 class="chart-heading">Game count per type</h5>
<div class="limitgrowth">
<canvas id="chart0"></canvas>
</div>
</div>
<div class="col-md-12">
<div class="well">
<h5 class="chart-heading">Win ratio per type</h5>
<div class="table-responsive">
<table class="table table-bordered table-hover">
<thead>
<tr>
{% for row in best_player_per_type %}
<td><strong>{{ row.type }}</strong></td>
{% endfor %}
</tr>
</thead>
<tbody>
<tr>
{% for row in best_player_per_type %}
<td class="nopad">
<table class="table">
{% for player in row.player_list %}
<tr>
<td>{{ player.win_ratio|floatformat:-2}}</td>
<td>{{ player.player }}</td>
<td>{{ player.game_count }}</td>
</tr>
{% endfor %}
</table>
</td>
{% endfor %}
</tr>
</tbody>
</table>
</div>
<h5 class="chart-heading">Win ratio per type</h5>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
{% for row in best_player_per_type %}
<td><strong>{{ row.type }}</strong></td>
{% endfor %}
</tr>
</thead>
<tbody>
<tr>
{% for row in best_player_per_type %}
<td class="nopad">
<table class="table">
{% for player in row.player_list %}
<tr>
<td>{{ player.win_ratio|floatformat:-2}}</td>
<td>{{ player.player }}</td>
<td>{{ player.game_count }}</td>
</tr>
{% endfor %}
</table>
</td>
{% endfor %}
</tr>
</tbody>
</table>
</div>
</div>
<div class="col-md-6">
<div class="well">
<h5 class="chart-heading">{{ stat_descriptions|ldescr:'game_values' }}</h5>
<canvas id="chartgame_value"></canvas>
</div>
<h5 class="chart-heading">{{ stat_descriptions|ldescr:'game_values' }}</h5>
<canvas id="chartgame_value"></canvas>
</div>
<div class="col-md-6">
<div class="well">
<h5 class="chart-heading">Average value by game ending</h5>
<canvas id="chart2"></canvas>
</div>
<h5 class="chart-heading">Average value by game ending</h5>
<canvas id="chart2"></canvas>
</div>
</div>
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment