Skip to content

Commit 12dd084

Browse files
daniel-jispond
authored andcommitted
organize files
1 parent 4fe3932 commit 12dd084

11 files changed

+55469
-44384
lines changed

html/network.html

+1,020-749
Large diffs are not rendered by default.

html/social.html

+12-11
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>CDC HIV-TRACE Workshop</title>
66

77
<!-- Latest compiled and minified CSS -->
8-
<link href="../dist/hivtrace.css" rel="stylesheet" />
8+
<link href="/dist/hivtrace.css" rel="stylesheet" />
99

1010
<!-- no favicon, prevent 404 errors -->
1111
<link rel="shortcut icon" href="#" />
@@ -72,9 +72,10 @@
7272
</li>
7373
</ul>
7474

75-
<form class="navbar-form navbar-right">
76-
<div class="form-group" id="network_status_string"></div>
77-
</form>
75+
<div
76+
class="navbar-form navbar-right"
77+
id="network_status_string"
78+
></div>
7879
</div>
7980
<!-- /.navbar-collapse -->
8081
</div>
@@ -775,7 +776,7 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
775776
<img class="hidden" id="hyphy-chart-image" />
776777
<canvas class="hidden" id="hyphy-chart-canvas"></canvas>
777778

778-
<script src="../dist/hivtrace.js"></script>
779+
<script src="/dist/hivtrace.js"></script>
779780

780781
<script>
781782
var network_container = "#network_tag",
@@ -854,15 +855,15 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
854855
d3.select(d3.select(this).attr("href")).style("display", null);
855856
});
856857

857-
hivtrace.misc.export_table_to_text(
858+
hivtrace.helpers.render_button_export_table_to_text(
858859
"#cluster-table-export",
859860
cluster_table
860861
);
861-
hivtrace.misc.export_table_to_text(
862+
hivtrace.helpers.render_button_export_table_to_text(
862863
"#subcluster-table-export",
863864
subcluster_table
864865
);
865-
hivtrace.misc.export_table_to_text(
866+
hivtrace.helpers.render_button_export_table_to_text(
866867
"#node-table-export",
867868
node_table
868869
);
@@ -926,7 +927,7 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
926927

927928
var initialize_cluster_network_graphs = function () {
928929
//Initialize clusternetworkgraph with json url
929-
url = "/workshop/SocialDemoFiles/SocialNetwork.trace.json";
930+
url = "/sample_data/workshop/SocialDemoFiles/SocialNetwork.trace.json";
930931
//url = "sample_data/LA.json"
931932

932933
d3.json(url, function (error, results) {
@@ -1097,10 +1098,10 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
10971098
});
10981099

10991100
d3.csv(
1100-
"workshop/SocialDemoFiles/SocialAttributes.csv",
1101+
"sample_data/workshop/SocialDemoFiles/SocialAttributes.csv",
11011102
function (error, nodes) {
11021103
d3.csv(
1103-
"workshop/SocialDemoFiles/SocialEdges.csv",
1104+
"sample_data/workshop/SocialDemoFiles/SocialEdges.csv",
11041105
function (error, edges) {
11051106
_loaded_network_data["nodes"] = nodes;
11061107
_loaded_network_data["edges"] = edges;

0 commit comments

Comments
 (0)