|
5 | 5 | <title>CDC HIV-TRACE Workshop</title>
|
6 | 6 |
|
7 | 7 | <!-- Latest compiled and minified CSS -->
|
8 |
| - <link href="../dist/hivtrace.css" rel="stylesheet" /> |
| 8 | + <link href="/dist/hivtrace.css" rel="stylesheet" /> |
9 | 9 |
|
10 | 10 | <!-- no favicon, prevent 404 errors -->
|
11 | 11 | <link rel="shortcut icon" href="#" />
|
|
72 | 72 | </li>
|
73 | 73 | </ul>
|
74 | 74 |
|
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> |
78 | 79 | </div>
|
79 | 80 | <!-- /.navbar-collapse -->
|
80 | 81 | </div>
|
@@ -775,7 +776,7 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
|
775 | 776 | <img class="hidden" id="hyphy-chart-image" />
|
776 | 777 | <canvas class="hidden" id="hyphy-chart-canvas"></canvas>
|
777 | 778 |
|
778 |
| - <script src="../dist/hivtrace.js"></script> |
| 779 | + <script src="/dist/hivtrace.js"></script> |
779 | 780 |
|
780 | 781 | <script>
|
781 | 782 | var network_container = "#network_tag",
|
@@ -854,15 +855,15 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
|
854 | 855 | d3.select(d3.select(this).attr("href")).style("display", null);
|
855 | 856 | });
|
856 | 857 |
|
857 |
| - hivtrace.misc.export_table_to_text( |
| 858 | + hivtrace.helpers.render_button_export_table_to_text( |
858 | 859 | "#cluster-table-export",
|
859 | 860 | cluster_table
|
860 | 861 | );
|
861 |
| - hivtrace.misc.export_table_to_text( |
| 862 | + hivtrace.helpers.render_button_export_table_to_text( |
862 | 863 | "#subcluster-table-export",
|
863 | 864 | subcluster_table
|
864 | 865 | );
|
865 |
| - hivtrace.misc.export_table_to_text( |
| 866 | + hivtrace.helpers.render_button_export_table_to_text( |
866 | 867 | "#node-table-export",
|
867 | 868 | node_table
|
868 | 869 | );
|
@@ -926,7 +927,7 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
|
926 | 927 |
|
927 | 928 | var initialize_cluster_network_graphs = function () {
|
928 | 929 | //Initialize clusternetworkgraph with json url
|
929 |
| - url = "/workshop/SocialDemoFiles/SocialNetwork.trace.json"; |
| 930 | + url = "/sample_data/workshop/SocialDemoFiles/SocialNetwork.trace.json"; |
930 | 931 | //url = "sample_data/LA.json"
|
931 | 932 |
|
932 | 933 | d3.json(url, function (error, results) {
|
@@ -1097,10 +1098,10 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
|
1097 | 1098 | });
|
1098 | 1099 |
|
1099 | 1100 | d3.csv(
|
1100 |
| - "workshop/SocialDemoFiles/SocialAttributes.csv", |
| 1101 | + "sample_data/workshop/SocialDemoFiles/SocialAttributes.csv", |
1101 | 1102 | function (error, nodes) {
|
1102 | 1103 | d3.csv(
|
1103 |
| - "workshop/SocialDemoFiles/SocialEdges.csv", |
| 1104 | + "sample_data/workshop/SocialDemoFiles/SocialEdges.csv", |
1104 | 1105 | function (error, edges) {
|
1105 | 1106 | _loaded_network_data["nodes"] = nodes;
|
1106 | 1107 | _loaded_network_data["edges"] = edges;
|
|
0 commit comments