new: Improve the URL box.

Remove all tabs.
pull/14/merge
Raphaël Vinot 2018-01-22 10:49:45 +01:00
parent 34c1be7695
commit 40569a3a73
1 changed files with 41 additions and 38 deletions

View File

@ -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;