diff --git a/templates/banned.html b/templates/banned.html
index aaa348c..73a523f 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -53,11 +53,18 @@ $(function () {
},
series: [{
type: 'pie',
- name: 'Etat du Rezo',
+ name: 'Pourcentage',
innerSize: '50%',
data: [
- ['Tranchés', {{ stats[0] }}],
- ['Vivants', {{ stats[1] }}]
+ {
+ name: 'Tranchés',
+ y: {{ stats[0] }},
+ color: '#FF0000',
+ },{
+ name: 'Vivants',
+ y: {{ stats[1] }},
+ color: '#FFCC00',
+ }
]
}]
});
diff --git a/templates/down.html b/templates/down.html
index ee052f5..af2b348 100644
--- a/templates/down.html
+++ b/templates/down.html
@@ -54,11 +54,18 @@ $(function () {
},
series: [{
type: 'pie',
- name: 'Etat du Rezo',
+ name: 'Pourcentage',
innerSize: '50%',
data: [
- ['Tranchés', {{ stats[0] }}],
- ['Vivants', {{ stats[1] }}]
+ {
+ name: 'Tranchés',
+ y: {{ stats[0] }},
+ color: '#FF0000',
+ },{
+ name: 'Vivants',
+ y: {{ stats[1] }},
+ color: '#FFCC00',
+ }
]
}]
});
diff --git a/templates/home.html b/templates/home.html
index 87b0022..20f2457 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -57,8 +57,15 @@
name: 'Etat du Rezo',
innerSize: '50%',
data: [
- ['Tranchés', {{ stats[0] }}],
- ['Vivants', {{ stats[1] }}]
+ {
+ name: 'Tranchés',
+ y: {{ stats[0] }},
+ color: '#FF0000',
+ },{
+ name: 'Vivants',
+ y: {{ stats[1] }},
+ color: '#FFCC00',
+ }
]
}]
});
diff --git a/templates/not_subscribed.html b/templates/not_subscribed.html
index e99f7bb..906cb43 100644
--- a/templates/not_subscribed.html
+++ b/templates/not_subscribed.html
@@ -43,8 +43,15 @@ $(function () {
name: 'Etat du Rezo',
innerSize: '50%',
data: [
- ['Tranchés', {{ stats[0] }}],
- ['Vivants', {{ stats[1] }}]
+ {
+ name: 'Tranchés',
+ y: {{ stats[0] }},
+ color: '#FF0000',
+ },{
+ name: 'Vivants',
+ y: {{ stats[1] }},
+ color: '#FFCC00',
+ }
]
}]
});
diff --git a/templates/play.html b/templates/play.html
index 2e7f489..b50f2f6 100644
--- a/templates/play.html
+++ b/templates/play.html
@@ -56,8 +56,15 @@ $(function () {
name: 'Etat du Rezo',
innerSize: '50%',
data: [
- ['Tranchés', {{ stats[0] }}],
- ['Vivants', {{ stats[1] }}]
+ {
+ name: 'Tranchés',
+ y: {{ stats[0] }},
+ color: '#FF0000',
+ },{
+ name: 'Vivants',
+ y: {{ stats[1] }},
+ color: '#FFCC00',
+ }
]
}]
});
diff --git a/templates/precampagne.html b/templates/precampagne.html
index ddaa800..6b16eac 100644
--- a/templates/precampagne.html
+++ b/templates/precampagne.html
@@ -41,8 +41,15 @@ $(function () {
name: 'Etat du Rezo',
innerSize: '50%',
data: [
- ['Tranchés', {{ stats[0] }}],
- ['Vivants', {{ stats[1] }}]
+ {
+ name: 'Tranchés',
+ y: {{ stats[0] }},
+ color: '#FF0000',
+ },{
+ name: 'Vivants',
+ y: {{ stats[1] }},
+ color: '#FFCC00',
+ }
]
}]
});