1 <script src="{{$baseurl}}/view/asset/Chart-js/dist/Chart.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
3 <h1>{{$title}} - {{$page}}</h1>
5 <canvas id="FederationChart" class="federation-graph" width="320" height="320"></canvas>
11 {{foreach $counts as $c}}
12 {{if $c[0]['total'] > 0}}
13 <li>{{$c[0]['platform']}} ({{$c[0]['total']}}/{{$c[0]['users']}})</li>
22 {{foreach $counts as $c}}
27 {{foreach $counts as $c}}
31 hoverBackgroundColor: [
32 {{foreach $counts as $c}}
38 {{foreach $counts as $c}}
39 "{{$c[0]['platform']}}",
43 var ctx = document.getElementById("FederationChart").getContext("2d");
44 var myDoughnutChart = new Chart(ctx, {
48 legend: {display: false},
49 animation: {animateRotate: false},
55 <table id="federation-stats">
56 {{foreach $counts as $c}}
57 {{if $c[0]['total'] > 0}}
59 <th>{{$c[0]['platform']}}</th>
60 <th><strong>{{$c[0]['total']}}</strong></td>
61 <td>{{$c[0]['network']}}</td>
64 <td colspan="3" class="federation-data">
65 <canvas id="{{$c[2]}}Chart" class="federation-network-graph" width="240" height="240"></canvas>
70 {{foreach $c[1] as $v}}
75 {{foreach $c[1] as $v}}
79 hoverBackgroundColor: [
80 {{foreach $c[1] as $v}}
86 {{foreach $c[1] as $v}}
91 var ctx = document.getElementById("{{$c[2]}}Chart").getContext("2d");
92 var my{{$c[2]}}DoughnutChart = new Chart(ctx, {
96 legend: {display: false},
97 animation: {animateRotate: false},
102 <ul class="federation-stats">
103 {{foreach $c[1] as $v}}
105 {{if ($c[0]['platform']==='Friendica' and $version===$v['version']) }}
106 <span class="version-match">{{$v['version']}}</span>