From f7a6d43aeeeaed59681327146d8a7e29aa21ef6c Mon Sep 17 00:00:00 2001 From: treefort Date: Fri, 19 Aug 2016 00:08:00 -0400 Subject: [PATCH] moved dist files into /public MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …updating relative paths commensurately --- index.html | 46 ------------------------------------- arf.json => public/arf.json | 0 public/css/arf.css | 19 +++++++++++++++ public/index.html | 24 +++++++++++++++++++ arf.js => public/js/arf.js | 12 +++++----- 5 files changed, 49 insertions(+), 52 deletions(-) delete mode 100644 index.html rename arf.json => public/arf.json (100%) create mode 100644 public/css/arf.css create mode 100644 public/index.html rename arf.js => public/js/arf.js (96%) diff --git a/index.html b/index.html deleted file mode 100644 index 81d0963..0000000 --- a/index.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - -Adv Recon Framework - - - - - -

Advanced Reconnaissance Framework

- - - - -

For Update Notifications

-Follow me on Twitter: @jnordine
-Watch or star the project on Github: https://github.com/lockfale/arf - -

Suggestions, Comments, Feedback

-The preferred method for sending new tool suggestions or to let me know about dead links would be to submit an issue on github but I will take them in any fashion. -For general feedback or just to chat, Twitter is the best way to reach out. - - \ No newline at end of file diff --git a/arf.json b/public/arf.json similarity index 100% rename from arf.json rename to public/arf.json diff --git a/public/css/arf.css b/public/css/arf.css new file mode 100644 index 0000000..6fd4b9f --- /dev/null +++ b/public/css/arf.css @@ -0,0 +1,19 @@ +.node { + cursor: pointer; +} + +.node circle { + fill: #fff; + stroke: steelblue; + stroke-width: 1.5px; +} + +.node text { + font: 12px sans-serif; +} + +.link { + fill: none; + stroke: #ccc; + stroke-width: 1px; +} diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..55ddd9e --- /dev/null +++ b/public/index.html @@ -0,0 +1,24 @@ + + + + + ARF :: Advanced Recon Framework + + + +

Advanced Reconnaissance Framework

+ +
+ +

For Update Notifications

+ Follow me on Twitter: @jnordine
+ Watch or star the project on Github: https://github.com/lockfale/arf + +

Suggestions, Comments, Feedback

+ The preferred method for sending new tool suggestions or to let me know about dead links would be to submit an issue on github but I will take them in any fashion. + For general feedback or just to chat, Twitter is the best way to reach out. + + + + + diff --git a/arf.js b/public/js/arf.js similarity index 96% rename from arf.js rename to public/js/arf.js index 4478db2..4301003 100644 --- a/arf.js +++ b/public/js/arf.js @@ -14,13 +14,13 @@ var diagonal = d3.svg.diagonal() .projection(function(d) { return [d.y, d.x]; }); - var svg = d3.select("body").append("svg") + var svg = d3.select(".arf_content").append("svg") .attr("width", width + margin.right + margin.left) .attr("height", height + margin.top + margin.bottom) .append("g") .attr("transform", "translate(" + margin.left + "," + margin.top + ")"); - d3.json("arf.json", function(error, flare) { + d3.json("../arf.json", function(error, flare) { if (error) throw error; root = flare; @@ -82,9 +82,9 @@ .attr("dy", ".35em") .attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; }) .text(function(d) { return d.name; }) - .style("fill-opacity", 1e-6); - } - }); + .style("fill-opacity", 1e-6); + } + }); // Transition nodes to their new position. var nodeUpdate = node.transition() @@ -162,4 +162,4 @@ } -}(); \ No newline at end of file +}();