Moved static files and celery.py

This commit is contained in:
Raphael Michel
2017-01-04 21:59:31 +01:00
parent dd074a11d4
commit c639cd96f5
441 changed files with 453 additions and 15 deletions

View File

@@ -0,0 +1,20 @@
/*globals $, Morris, gettext*/
$(function () {
if (!$("#quota-stats").length) {
return;
}
$(".chart").css("height", "250px");
new Morris.Donut({
element: 'quota_chart',
data: JSON.parse($("#quota-chart-data").html()),
resize: true,
colors: [
'#0044CC', // paid
'#0088CC', // pending
'#BD362F', // vouchers
'#F89406', // carts
'#51A351' // available
]
});
});