From d8776628141b4a4ce1662f7c2080c84c3386e733 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 30 Sep 2021 20:25:57 +0000 Subject: Fixed table/column widths and removed some unused code --- wqflask/wqflask/templates/pair_scan_results.html | 38 ++++++++---------------- 1 file changed, 12 insertions(+), 26 deletions(-) (limited to 'wqflask') 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 %} - + {% endblock %} {% block content %} @@ -22,7 +22,7 @@
-
+

Results

@@ -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", -- cgit v1.2.3