Skip to content

Commit

Permalink
Merge pull request #1947 from antgonza/issue-1914
Browse files Browse the repository at this point in the history
Fix 1914
  • Loading branch information
mortonjt committed Sep 28, 2016
2 parents e5e499d + 24fb852 commit 5ddb563
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions qiita_pet/templates/study_ajax/prep_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
var options = {
nodes: {
color: '#ffffff',
font: '16px arial black'
font: '14px arial black'
},
layout : {
hierarchical: {
Expand Down Expand Up @@ -202,7 +202,15 @@
nodes.push({id: data.node_labels[i][0], label: data.node_labels[i][1], shape: 'box'});
}

$("#graph-or-new-artifact-div").html("<div class='row'><div class='col-md-12'><h4><a class='btn btn-info' id='show-hide-btn' onclick='toggle_graphs();'>-</a><i> Files network</i></h4>(Click nodes for more information)</div></div><div class='row'><div class='col-md-12 graph' id='graph-network-div'></div></div>");
$("#graph-or-new-artifact-div").html(
"<div class='row'>" +
"<div class='col-md-12'>" +
"<h4><a class='btn btn-info' id='show-hide-btn' onclick='toggle_graphs();'>-</a><i> Files network</i></h4>" +
"<b>(Click nodes for more information)</b>" +
"</div>" +
"</div>" +
"<div class='row'><div class='col-md-12 graph' style='width:90%; left:20px;' id='graph-network-div'>" +
"</div>");
draw_graph(nodes, edges, "graph-network-div", function(params) {
if(params.nodes.length === 1) {
var artifact_id = +params.nodes[0];
Expand Down

0 comments on commit 5ddb563

Please sign in to comment.