diff --git a/view/global.css b/view/global.css index f3ca22b75a..2cfd046ca2 100644 --- a/view/global.css +++ b/view/global.css @@ -399,14 +399,9 @@ a { color: #00a700; } .federation-graph { - width: 400px; - height: 400px; - float: right; - margin: 20px; + margin: 0 auto; } .federation-network-graph { - width: 240px; - height: 240px; float: left; margin: 20px; } diff --git a/view/templates/admin/federation.tpl b/view/templates/admin/federation.tpl index 6904be6b92..cbd3a40a1e 100644 --- a/view/templates/admin/federation.tpl +++ b/view/templates/admin/federation.tpl @@ -1,5 +1,5 @@ - - + +

{{$title}} - {{$page}}

{{$intro}}

@@ -17,13 +17,40 @@

@@ -36,15 +63,42 @@ var myDoughnutChart = new Chart(ctx).Doughnut(FedData, { animateRotate : false, {{/if}} {{/foreach}} -
- +
    {{foreach $c[1] as $v}} @@ -55,4 +109,4 @@ var myDoughnutChart = new Chart(ctx).Doughnut(FedData, { animateRotate : false,
+ \ No newline at end of file