about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/gsearch_gene.html20
1 files changed, 9 insertions, 11 deletions
diff --git a/wqflask/wqflask/templates/gsearch_gene.html b/wqflask/wqflask/templates/gsearch_gene.html
index e951c0b1..5549ac8a 100644
--- a/wqflask/wqflask/templates/gsearch_gene.html
+++ b/wqflask/wqflask/templates/gsearch_gene.html
@@ -117,26 +117,26 @@
                      $('.trait_checkbox:checkbox').on("change", change_buttons);
                 },
                 'createdRow': function ( row, data, index ) {
-                    $('td', row).eq(0).attr("style", "text-align: center; padding: 4px 10px 2px 10px;");
+                    $('td', row).eq(0).attr("style", "text-align: center; padding: 0px 10px 2px 13px;");
                     $('td', row).eq(1).attr("align", "right");
                     $('td', row).eq(4).attr('title', $('td', row).eq(4).text());
-                    if ($('td', row).eq(4).text().length > 20) {
-                        $('td', row).eq(4).text($('td', row).eq(4).text().substring(0, 20));
+                    if ($('td', row).eq(4).text().length > 30) {
+                        $('td', row).eq(4).text($('td', row).eq(4).text().substring(0, 30));
                         $('td', row).eq(4).text($('td', row).eq(4).text() + '...')
                     }
                     $('td', row).eq(5).attr('title', $('td', row).eq(5).text());
-                    if ($('td', row).eq(5).text().length > 20) {
-                        $('td', row).eq(5).text($('td', row).eq(5).text().substring(0, 20));
+                    if ($('td', row).eq(5).text().length > 35) {
+                        $('td', row).eq(5).text($('td', row).eq(5).text().substring(0, 35));
                         $('td', row).eq(5).text($('td', row).eq(5).text() + '...')
                     }
                     $('td', row).eq(6).attr('title', $('td', row).eq(6).text());
-                    if ($('td', row).eq(6).text().length > 35) {
-                        $('td', row).eq(6).text($('td', row).eq(6).text().substring(0, 35));
+                    if ($('td', row).eq(6).text().length > 60) {
+                        $('td', row).eq(6).text($('td', row).eq(6).text().substring(0, 60));
                         $('td', row).eq(6).text($('td', row).eq(6).text() + '...')
                     }
                     $('td', row).eq(8).attr('title', $('td', row).eq(8).text());
-                    if ($('td', row).eq(8).text().length > 45) {
-                        $('td', row).eq(8).text($('td', row).eq(8).text().substring(0, 45));
+                    if ($('td', row).eq(8).text().length > 60) {
+                        $('td', row).eq(8).text($('td', row).eq(8).text().substring(0, 60));
                         $('td', row).eq(8).text($('td', row).eq(8).text() + '...')
                     }
                     $('td', row).slice(10,14).attr("align", "right");
@@ -201,7 +201,6 @@
                     { 
                       'title': "Dataset",
                       'type': "natural",
-                      'width': "300px",
                       'data': "dataset_fullname"
                     },
                     { 
@@ -213,7 +212,6 @@
                     { 
                       'title': "Description",
                       'type': "natural",
-                      'width': "300px",
                       'data': null,
                       'render': function(data, type, row, meta) {
                         try {