moved dist files into /public

…updating relative paths commensurately
This commit is contained in:
treefort
2016-08-19 00:08:00 -04:00
parent 1ed1111e50
commit f7a6d43aee
5 changed files with 49 additions and 52 deletions
-46
View File
@@ -1,46 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<title>Adv Recon Framework</title>
</head>
<style>
.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;
}
</style>
<body>
<h1>Advanced Reconnaissance Framework</h1>
<script src="d3.min.js"></script>
<script src="arf.js"></script>
<h3>For Update Notifications</h3>
Follow me on Twitter: <a href="https://twitter.com/jnordine">@jnordine</a><br>
Watch or star the project on Github: <a href="https://github.com/lockfale/arf">https://github.com/lockfale/arf</a>
<h3>Suggestions, Comments, Feedback</h3>
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.
</body>
View File
+19
View File
@@ -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;
}
+24
View File
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ARF :: Advanced Recon Framework</title>
<link rel="stylesheet" href="css/arf.css" media="screen" charset="utf-8">
</head>
<body>
<h1>Advanced Reconnaissance Framework</h1>
<div class="arf_content"></div>
<h3>For Update Notifications</h3>
Follow me on Twitter: <a href="https://twitter.com/jnordine">@jnordine</a><br>
Watch or star the project on Github: <a href="https://github.com/lockfale/arf">https://github.com/lockfale/arf</a>
<h3>Suggestions, Comments, Feedback</h3>
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.
<script src="js/vendor/d3/d3.min.js"></script>
<script src="js/arf.js"></script>
</body>
</html>
+6 -6
View File
@@ -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 @@
}
}();
}();