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>
9 <p class="error-message">{{$hint nofilter}}</p>
12 <p>{{$legendtext}}</p>
15 {{foreach $counts as $c}}
16 {{if $c[0]['total'] > 0}}
17 <li>{{$c[0]['platform']}} ({{$c[0]['total']}}/{{$c[0]['users']}})</li>
26 {{foreach $counts as $c}}
31 {{foreach $counts as $c}}
35 hoverBackgroundColor: [
36 {{foreach $counts as $c}}
42 {{foreach $counts as $c}}
43 "{{$c[0]['platform']}}",
47 var ctx = document.getElementById("FederationChart").getContext("2d");
48 var myDoughnutChart = new Chart(ctx, {
52 legend: {display: false},
53 animation: {animateRotate: false},
59 <table id="federation-stats">
60 {{foreach $counts as $c}}
61 {{if $c[0]['total'] > 0}}
63 <th>{{$c[0]['platform']}}</th>
64 <th><strong>{{$c[0]['total']}}</strong></td>
65 <td>{{$c[0]['network']}}</td>
68 <td colspan="3" class="federation-data">
69 <canvas id="{{$c[2]}}Chart" class="federation-network-graph" width="240" height="240"></canvas>
74 {{foreach $c[1] as $v}}
79 {{foreach $c[1] as $v}}
83 hoverBackgroundColor: [
84 {{foreach $c[1] as $v}}
90 {{foreach $c[1] as $v}}
95 var ctx = document.getElementById("{{$c[2]}}Chart").getContext("2d");
96 var my{{$c[2]}}DoughnutChart = new Chart(ctx, {
100 legend: {display: false},
101 animation: {animateRotate: false},
106 <ul class="federation-stats">
107 {{foreach $c[1] as $v}}
109 {{if ($c[0]['platform']==='Friendica' and $version===$v['version']) }}
110 <span class="version-match">{{$v['version']}}</span>