diff options
author | zsloan | 2021-07-08 21:20:34 +0000 |
---|---|---|
committer | zsloan | 2021-07-08 21:20:34 +0000 |
commit | 57144ae2a8b95608bee6ee4b86d55363fe02d52a (patch) | |
tree | ec0e157beb60814f981302939992004dd209daf9 | |
parent | e493814df15f84894186a49f78526b4c03001757 (diff) | |
download | genenetwork2-57144ae2a8b95608bee6ee4b86d55363fe02d52a.tar.gz |
Gave initial width to search result table that prevents header misalignment issue and improved widths for a couple columns + made checkbox column sortable
-rw-r--r-- | wqflask/wqflask/templates/search_result_page.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index c4a596d5..00b708ef 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -125,7 +125,7 @@ {% endif %} </div> {% endif %} - <div id="table_container"> + <div id="table_container" style="width: 1350px;"> <table class="table-hover table-striped cell-border" id='trait_table' style="float: left;"> <tbody> <td colspan="100%" align="center"><br><b><font size="15">Loading...</font></b><br></td> @@ -179,9 +179,8 @@ columnDefs = [ { 'data': null, - 'width': "25px", + 'width': "5px", 'orderDataType': "dom-checkbox", - 'orderable': false, 'targets': 0, 'render': function(data, type, row, meta) { return '<input type="checkbox" name="searchResult" class="checkbox trait_checkbox" value="' + data.hmac + '">' @@ -259,7 +258,7 @@ 'title': "<div style='text-align: right;'>Effect <a href=\"{{ url_for('glossary_blueprint.glossary') }}#A\" target=\"_blank\" style=\"color: white;\"> <i class=\"fa fa-info-circle\" aria-hidden=\"true\"></i></a></div><div style='text-align: right;'>Size  </div>", 'type': "natural-minus-na", 'data': "additive", - 'width': "60px", + 'width': "65px", 'targets': 9, 'orderSequence': [ "desc", "asc"] }{% elif dataset.type == 'Publish' %}, |