deplacement du graphe

This commit is contained in:
guimoz 2017-01-30 01:42:20 +01:00
parent aa17e08556
commit 6b7a099859

View file

@ -1,31 +1,26 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% block content %} {% block content %}
<h2>Toi aussi, joue au rézoman avec la rezo-roulette Les Metzquetaires !</h2> <h2>Toi aussi, joue au rézoman avec la rezo-roulette Les Metzquetaires !</h2>
<table style="width:100%"><tr> <p id="play" style="text-align: center; font-size: 1.5em">
<td> <a href="{{url_for('play')}}">Jouer</a>
<div id="container" style="min-width: 310px; max-width: 600px; margin: 0 auto"></div> </p>
</td> <h2>Historique personnel</h2>
<td>
<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 != [] %} {% if bans_hist != [] %}
<ul id="history"> <ul id="history">
{% for entry in bans_hist %} {% for entry in bans_hist %}
<li class="{{ entry[0] }}" class="events"> <li class="{{ entry[0] }}" class="events">
<span class="normal"> {{ entry[1] }}</span> <span class="normal"> {{ entry[1] }}</span>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}
<p> <p>
Rien pour l'instant Rien pour l'instant
</p> </p>
</td>
</tr></table> <div id="container" style="min-width: 310px; max-width: 600px; margin: 0 auto"></div>
<script> <script type='text/javascript'>
$(function () { $(function () {
Highcharts.chart('container', { Highcharts.chart('container', {
chart: { chart: {