deplacement du graphe
This commit is contained in:
parent
aa17e08556
commit
6b7a099859
1 changed files with 19 additions and 24 deletions
|
@ -1,31 +1,26 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block content %}
|
||||
<h2>Toi aussi, joue au rézoman avec la rezo-roulette Les Metzquetaires !</h2>
|
||||
<table style="width:100%"><tr>
|
||||
<td>
|
||||
<div id="container" style="min-width: 310px; max-width: 600px; margin: 0 auto"></div>
|
||||
</td>
|
||||
<td>
|
||||
<p id="play" style="text-align: center; font-size: 1.5em">
|
||||
<a href="{{url_for('play')}}">Jouer</a>
|
||||
</p>
|
||||
<h2>Historique personnel</h2>
|
||||
<p id="play" style="text-align: center; font-size: 1.5em">
|
||||
<a href="{{url_for('play')}}">Jouer</a>
|
||||
</p>
|
||||
<h2>Historique personnel</h2>
|
||||
|
||||
{% if bans_hist != [] %}
|
||||
<ul id="history">
|
||||
{% for entry in bans_hist %}
|
||||
<li class="{{ entry[0] }}" class="events">
|
||||
<span class="normal"> {{ entry[1] }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>
|
||||
Rien pour l'instant
|
||||
</p>
|
||||
</td>
|
||||
</tr></table>
|
||||
<script>
|
||||
{% if bans_hist != [] %}
|
||||
<ul id="history">
|
||||
{% for entry in bans_hist %}
|
||||
<li class="{{ entry[0] }}" class="events">
|
||||
<span class="normal"> {{ entry[1] }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>
|
||||
Rien pour l'instant
|
||||
</p>
|
||||
|
||||
<div id="container" style="min-width: 310px; max-width: 600px; margin: 0 auto"></div>
|
||||
<script type='text/javascript'>
|
||||
$(function () {
|
||||
Highcharts.chart('container', {
|
||||
chart: {
|
||||
|
|
Loading…
Reference in a new issue