mirror of https://github.com/CIRCL/lookyloo
parent
34c1be7695
commit
40569a3a73
|
@ -95,7 +95,6 @@ function hostnode_click(d) {
|
|||
overlay_hostname
|
||||
.datum({x: 0, y: 0})
|
||||
.attr('id', 'overlay_' + d.data.uuid)
|
||||
.style("opacity", .9)
|
||||
.attr("transform", "translate(" + 0 + "," + 0 + ")")
|
||||
.call(d3.drag().on("drag", function(d, i) {
|
||||
d.x += d3.event.dx
|
||||
|
@ -109,8 +108,12 @@ function hostnode_click(d) {
|
|||
.attr("ry", 6)
|
||||
.attr('x', d.y + 15)
|
||||
.attr('y', d.x + 10)
|
||||
.style("opacity", .9)
|
||||
.attr("fill", "pink");
|
||||
.style("opacity", "0.95")
|
||||
.attr("stroke", "black")
|
||||
.attr('stroke-opacity', "0.8")
|
||||
.attr("stroke-width", "2")
|
||||
.attr("stroke-linecap", "round")
|
||||
.attr("fill", "white");
|
||||
|
||||
// Modal display
|
||||
var url = "/tree/hostname/" + d.data.uuid;
|
||||
|
|
Loading…
Reference in New Issue