62 lines
1.7 KiB
HTML
Executable file
62 lines
1.7 KiB
HTML
Executable file
{% extends "layout.html" %}
|
|
{% block content %}
|
|
<h1>Vous n'êtes pas inscrit</h1>
|
|
<p>
|
|
Si vous désirez participer malgré les risques que le jeu comporte, veuillez
|
|
envoyer un email au contact technique.
|
|
(Vous ne pouvez pas jouer depuis Supélec)
|
|
</p>
|
|
|
|
<div id="container" style="min-width: 310px; max-width: 600px; margin: 0 auto"></div>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
Highcharts.chart('container', {
|
|
chart: {
|
|
plotBackgroundColor: null,
|
|
plotBorderWidth: 0,
|
|
plotShadow: false
|
|
},
|
|
title: {
|
|
text: 'État du Rézo',
|
|
align: 'center',
|
|
verticalAlign: 'middle',
|
|
y: 60
|
|
},
|
|
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: 'Pourcentage',
|
|
innerSize: '50%',
|
|
data: [
|
|
{
|
|
name: 'Tranchés',
|
|
y: {{ stats[0] }},
|
|
color: '#FF0000',
|
|
},{
|
|
name: 'Vivants',
|
|
y: {{ stats[1] }},
|
|
color: '#FFCC00',
|
|
}
|
|
]
|
|
}]
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|