2017-01-26 22:32:27 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2017-01-29 16:29:26 +00:00
|
|
|
<title>Rezo-roulette Metzquetaires</title>
|
|
|
|
<meta http-equiv="content-type"
|
2017-01-26 22:32:27 +00:00
|
|
|
content="text/html;charset=utf-8" />
|
2017-01-29 17:44:32 +00:00
|
|
|
<meta http-equiv="refresh" content="60">
|
2017-01-26 22:32:27 +00:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style_red.css') }}" />
|
2017-01-29 16:29:26 +00:00
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='javascript.js') }}"></script>
|
|
|
|
<link rel="shortcut icon" type="image/x-icon"
|
2017-01-26 22:32:27 +00:00
|
|
|
href="{{ url_for('static', filename='favicon.ico') }}" />
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="body_bis">
|
|
|
|
<div id="banner">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content_container">
|
|
|
|
<div id="content_topleft" class="corner">
|
|
|
|
</div>
|
|
|
|
<div id="content_topright" class="corner">
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
{% with messages = get_flashed_messages() %}
|
|
|
|
{% if messages %}
|
|
|
|
<ul class=flashes>
|
|
|
|
{% for message in messages %}
|
|
|
|
<li>{{ message }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2017-01-29 16:29:26 +00:00
|
|
|
{% endwith %}
|
2017-01-26 22:32:27 +00:00
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div id="content_bottomleft" class="corner">
|
|
|
|
</div>
|
|
|
|
<div id="content_bottomright" class="corner">
|
|
|
|
</div>
|
2017-01-29 16:57:16 +00:00
|
|
|
<div id="footer">contact technique : <a href="mailto:roulette@metzquetaires.fr">roulette@metzquetaires.fr</a></div>
|
2017-01-30 01:02:12 +00:00
|
|
|
<div id="container" style="min-width: 310px; max-width: 600px; margin: 0 auto"></div>
|
2017-01-26 22:32:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-30 01:27:08 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
Highcharts.chart('container', {
|
|
|
|
chart: {
|
|
|
|
plotBackgroundColor: null,
|
|
|
|
plotBorderWidth: 0,
|
|
|
|
plotShadow: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
text: 'Etat du Rezo',
|
|
|
|
align: 'center',
|
|
|
|
verticalAlign: 'middle',
|
|
|
|
y: 40
|
|
|
|
},
|
|
|
|
tooltip: {
|
|
|
|
pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
|
|
|
|
},
|
|
|
|
plotOptions: {
|
|
|
|
pie: {
|
|
|
|
dataLabels: {
|
|
|
|
enabled: true,
|
|
|
|
distance: -50,
|
|
|
|
style: {
|
|
|
|
fontWeight: 'bold',
|
|
|
|
color: 'white'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
startAngle: -90,
|
|
|
|
endAngle: 90,
|
|
|
|
center: ['50%', '75%']
|
|
|
|
},
|
|
|
|
},
|
|
|
|
series: [{
|
|
|
|
type: 'pie',
|
|
|
|
name: 'Etat du Rezo',
|
|
|
|
innerSize: '50%',
|
|
|
|
data: [
|
|
|
|
['Tranchés', {{ stats[0] }}],
|
|
|
|
['Vivants', {{ stats[1] }}]
|
|
|
|
]
|
|
|
|
}]
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2017-01-26 22:32:27 +00:00
|
|
|
</body>
|
|
|
|
</html>
|