aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-09-30 20:25:57 +0000
committerzsloan2021-09-30 20:25:57 +0000
commitd8776628141b4a4ce1662f7c2080c84c3386e733 (patch)
tree16f9805dcba175ed8d4d166ca9e85db6e5c7f21c /wqflask
parentf7bcd01d41eab0452534f0212f9f14e6bfc3514f (diff)
downloadgenenetwork2-d8776628141b4a4ce1662f7c2080c84c3386e733.tar.gz
Fixed table/column widths and removed some unused code
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/pair_scan_results.html38
1 files changed, 12 insertions, 26 deletions
diff --git a/wqflask/wqflask/templates/pair_scan_results.html b/wqflask/wqflask/templates/pair_scan_results.html
index 43c753e2..b6ac26be 100644
--- a/wqflask/wqflask/templates/pair_scan_results.html
+++ b/wqflask/wqflask/templates/pair_scan_results.html
@@ -3,9 +3,9 @@
{% block css %}
<link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='d3-tip/d3-tip.css') }}" />
-<link rel="stylesheet" type="text/css" href="/static/new/css/pair_scan.css" />
<link rel="stylesheet" type="text/css" href="/static/new/css/show_trait.css" />
<link rel="stylesheet" type="text/css" href="/static/new/css/d3panels.css" />
+<link rel="stylesheet" type="text/css" href="/static/new/css/pair_scan.css" />
{% endblock %}
{% block content %} <!-- Start of body -->
@@ -22,7 +22,7 @@
<div class="qtlcharts" id="chart_container">
<div id="pairscan_chart"></div>
</div>
- <div style="width: 1100px;">
+ <div class="pairscan-container">
<h2>
Results
</h2>
@@ -82,29 +82,6 @@
var data, mychart;
-// d3.json("data.json").then(function(data) {
-// var mychart;
-// mychart = d3panels.lod2dheatmap({
-// altrectcolor: "",
-// chrlinecolor: "black",
-// equalCells: true
-// });
-// return mychart(d3.select("div#pairscan_chart"), data);
-// });
-
-// d3.json("data.json").then(function(data) {
-// var mychart;
-// mychart = d3panels.lod2dheatmap({
-// oneAtTop: true,
-// altrectcolor: "",
-// chrlinecolor: "black",
-// colors: ["crimson", "white", "slateblue"],
-// equalCells: true
-// });
-// data.poslabel = data.marker;
-// return mychart(d3.select("div#chart2"), data);
-// });
-
mychart = d3panels.lod2dheatmap({
equalCells: true
});
@@ -112,8 +89,17 @@ mychart = d3panels.lod2dheatmap({
mychart(d3.select('div#pairscan_chart'), figure_data);
table_conf = {
+ "columns":[
+ { "width": "165px" },
+ { "width": "130px" },
+ { "width": "130px" },
+ { "width": "50px" },
+ { "width": "165px" },
+ { "width": "130px" },
+ { "width": "130px" },
+ ],
"sDom": "itir",
- "autoWidth": true,
+ "autoWidth": false,
"bSortClasses": false,
"order": [[3, "desc" ]],
"scrollY": "100vh",