some beautification to the template code

This commit is contained in:
Tobias Diekershoff 2016-01-18 17:29:46 +01:00
parent 9150ec59b5
commit 846153d388

View file

@ -23,11 +23,7 @@ var FedData = [
{{/foreach}} {{/foreach}}
]; ];
var ctx = document.getElementById("FederationChart").getContext("2d"); var ctx = document.getElementById("FederationChart").getContext("2d");
var myDoughnutChart = new Chart(ctx).Doughnut(FedData, var myDoughnutChart = new Chart(ctx).Doughnut(FedData, { animateRotate : false, });
{
animateRotate : false,
});
document.getElementById('FederationLegend').innerHTML = myDoughnutChart.generateLegend();
</script> </script>
<table id="federation-stats"> <table id="federation-stats">