From 81ba67bb1f8f18983ae983e70d985eebe16acde1 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 21 May 2020 12:45:31 -0500 Subject: Fixed search page table widths by setting max-width, at least for the time being --- wqflask/wqflask/templates/search_result_page.html | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 767e3487..89ca6681 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -8,7 +8,7 @@ {% endblock %} {% block content %} -
+
@@ -133,7 +133,7 @@ Show/Hide Columns:
- +
@@ -265,7 +265,7 @@ 'columns': [ { 'data': null, - 'width': "30px", + 'width': "25px", 'orderDataType': "dom-checkbox", 'orderSequence': [ "desc", "asc"], 'render': function(data, type, row, meta) { @@ -322,18 +322,20 @@ 'title': "Max LRS?", 'type': "natural", 'data': "lrs_score", + 'width': "80px", 'orderSequence': [ "desc", "asc"] }, { 'title': "Max LRS Location", 'type': "natural", - 'width': "120px", + 'width': "150px", 'data': "lrs_location" }, { 'title': "Additive Effect?", 'type': "natural", 'data': "additive", + 'width': "120px", 'orderSequence': [ "desc", "asc"] }{% elif dataset.type == 'Publish' %}, { @@ -380,6 +382,7 @@ 'type': "natural", 'orderDataType': "dom-inner-text", 'data': null, + 'width': "80px", 'render': function(data, type, row, meta) { if (data.pubmed_id != "N/A"){ return '' + data.pubmed_text + '' @@ -393,25 +396,26 @@ 'title': "Max LRS?", 'type': "natural", 'data': "lrs_score", + 'width': "80px", 'orderSequence': [ "desc", "asc"] }, { 'title': "Max LRS Location", 'type': "natural", - 'width': "200px", + 'width': "150px", 'data': "lrs_location" }, { - 'title': "Additive
Effect?", + 'title': "Additive Effect?", 'type': "natural", - 'width': "100px", + 'width': "120px", 'data': "additive", 'orderSequence': [ "desc", "asc"] }{% elif dataset.type == 'Geno' %}, { 'title': "Location", 'type': "natural", - 'width': "160px", + 'width': "140px", 'data': "location" }{% endif %} ], -- cgit v1.2.3

Loading...