Fix the colors of the graphs on the Stats page

This commit is contained in:
gregoirenovel 2017-06-12 15:06:19 +02:00
parent 944464e7f5
commit 38e8908986
2 changed files with 3 additions and 2 deletions

View file

@ -49,7 +49,8 @@
.chart-container .chart-container
.chart .chart
= pie_chart @procedures_count_per_administrateur = pie_chart @procedures_count_per_administrateur,
colors: ["rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
- if administration_signed_in? - if administration_signed_in?
.stat-card.stat-card-half.pull-left .stat-card.stat-card-half.pull-left

View file

@ -1,4 +1,4 @@
Chartkick.options = { Chartkick.options = {
content_for: :charts_js, content_for: :charts_js,
colors: ["rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"] colors: ["rgba(61, 149, 236, 1)"]
} }