]> nos-oignons.net Git - website.git/blobdiff - Services.mdwn
Mise à jour des traductions
[website.git] / Services.mdwn
index 084f7203da839353613af0bf655c7c7e7255f4ed..c62c68efe6251a119829cc91c545f0c52e21e8c5 100644 (file)
@@ -1,5 +1,44 @@
+[[!meta script="assets/l10n.fr"]]
+[[!meta script="assets/relays"]]
+[[!meta script="assets/d3/d3.v3.min"]]
+[[!meta script="assets/bw_graphs"]]
+[[!meta stylesheet="assets/bw_graphs" rel="stylesheet"]]
+[[!meta script="assets/pie_graphs"]]
 [[!meta title="Services"]]
 
+<script>
+
+var content = d3.select("#content");
+var consensus_figure = content.append("figure")
+  .style("margin", "0")
+  .style("width", "45%")
+  .style("float", "left")
+  .style("text-align", "center");
+consensus_figure.append("span")
+  .attr("id", "consensus-pie");
+consensus_figure.append("figcaption")
+  .text(L10n.consensus_weight);
+
+var exit_figure = content.append("figure")
+  .style("margin", "0 5% 0 0")
+  .style("width", "44%")
+  .style("float", "left")
+  .style("text-align", "center");
+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>
+
+Relais
+======
+
 Nos oignons fait actuellement fonctionner les relais Tor suivants :
 
 <table>
@@ -42,9 +81,19 @@ Nos oignons fait actuellement fonctionner les relais Tor suivants :
     </tr>
     <tr>
       <td colspan="4">
-        3 : Gandi nous fournit gracieusement les ressources pour faire tourner
-        ce noeud (machine virtuelle et bande passante).
+        3 : Gandi nous fournit gracieusement la bande passante pour faire tourner
+        ce noeud.
       </td>
     </tr>
   </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();
+</script>