Commit 12e986d8 authored by Leo Iannacone's avatar Leo Iannacone

Merge remote-tracking branch 'github/master' into portable

parents 1c4e982d 19cce685
...@@ -117,6 +117,9 @@ function Page_History() { ...@@ -117,6 +117,9 @@ function Page_History() {
Chartist.Pie('#distributions-chart', distributions_data, { Chartist.Pie('#distributions-chart', distributions_data, {
donut: true, donut: true,
donutWidth: 15, donutWidth: 15,
chartPadding: 15,
labelOffset: 15,
labelDirection: 'explode',
}); });
} }
......
...@@ -265,6 +265,11 @@ footer .info { ...@@ -265,6 +265,11 @@ footer .info {
margin-bottom: 30px; margin-bottom: 30px;
} }
#distributions-chart.ct-chart {
height: 200px;
margin-top: -20px;
}
.ct-chart .ct-label { .ct-chart .ct-label {
font-size: 0.9em; font-size: 0.9em;
} }
...@@ -25,9 +25,9 @@ exports.history = (req, res) -> ...@@ -25,9 +25,9 @@ exports.history = (req, res) ->
delete json.files delete json.files
return json return json
compare = (a,b) -> compare = (a,b) ->
if a.end < b.end if a.start < b.start
return -1 return -1
if a.end > b.end if a.start > b.start
return 1 return 1
return 0 return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment