[[!meta script="assets/pie_graphs"]]
[[!meta title="Services"]]
-<script>
-
-var content = d3.select("#content");
-var consensus_figure = content.append("figure")
- .attr('class', 'graph graph-consensus')
-consensus_figure.append("span")
- .attr("id", "consensus-pie");
-consensus_figure.append("figcaption")
- .text(L10n.consensus_weight);
-
-var exit_figure = content.append("figure")
- .attr('class', 'graph graph-exit')
-exit_figure.append("span")
- .attr("id", "exit-pie");
-exit_figure.append("figcaption")
- .text(L10n.exit_probability);
-
-content.append("div")
- .style("clear", "left");
-
-new ConsensusPieDrawer("#consensus-pie").draw();
-new ExitPieDrawer("#exit-pie").draw();
-</script>
+<script type="text/javascript" src="../assets/services-pie.js"></script>
Relais
======
</tfoot>
</table>
-<script>
-d3.select("#content").append("h1")
- .text(L10n.bandwidth);
-d3.select("#content").append("div")
- .attr("id", "bandwidth")
- .text(L10n.loading);
-
-new BwDrawer("#bandwidth").draw();
-
-d3.select("#content").append("h1")
- .text(L10n.weights);
-d3.select("#content").append("div")
- .attr("id", "weights")
- .text(L10n.loading);
-
-new WeightsDrawer("#weights").draw();
-</script>
+<script type="text/javascript" src="../assets/services-plot.js"></script>