]> nos-oignons.net Git - website.git/blobdiff - assets/services-plot.js
Retrait du JS inline de la page Services
[website.git] / assets / services-plot.js
diff --git a/assets/services-plot.js b/assets/services-plot.js
new file mode 100644 (file)
index 0000000..7c76c2d
--- /dev/null
@@ -0,0 +1,15 @@
+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();