diff options
author | uditgulati | 2020-06-30 15:38:04 -0500 |
---|---|---|
committer | uditgulati | 2020-11-01 05:11:00 -0600 |
commit | 3a792dbe74ab181d2fa9582f67c99b68ffad0c10 (patch) | |
tree | c51d229eb93f7059f4c7a1e27bff75977553b15f | |
parent | 776ccfbb2fc5a6e85c7a41efd92b33b0e27de68a (diff) | |
download | genenetwork2-3a792dbe74ab181d2fa9582f67c99b68ffad0c10.tar.gz |
align numeric data values to right, categorial values to center
-rw-r--r-- | wqflask/wqflask/templates/snp_browser.html | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/wqflask/wqflask/templates/snp_browser.html b/wqflask/wqflask/templates/snp_browser.html index 73359835..816d5f0f 100644 --- a/wqflask/wqflask/templates/snp_browser.html +++ b/wqflask/wqflask/templates/snp_browser.html @@ -272,7 +272,8 @@ return '<input type="checkbox" name="trait_check">' } }, { - 'data': 'index' + 'data': 'index', + 'className': 'dt-body-right' }, { 'data': null, 'render': function(data, type, row, meta) { @@ -283,9 +284,11 @@ } } }, { - 'data': 'chr' + 'data': 'chr', + 'className': 'dt-body-center' }, { - 'data': 'mb_formatted' + 'data': 'mb_formatted', + 'className': 'dt-body-right' }, { 'data': 'alleles' }, {% if empty_columns['snp_source'] == "true" %}{ @@ -298,7 +301,8 @@ } } }, {% endif %} {% if empty_columns['conservation_score'] == "true" %}{ - 'data': 'conservation_score' + 'data': 'conservation_score', + 'className': 'dt-body-right' }, {% endif %} {% if empty_columns['gene_name'] == "true" %}{ 'data': null, 'render': function(data, type, row, meta) { @@ -383,21 +387,26 @@ return '<input type="checkbox" name="trait_check">' } }, { - 'data': 'index' + 'data': 'index', + 'className': 'dt-body-right' }, { 'data': 'indel_name' }, { 'data': 'indel_type' }, { - 'data': 'indel_chr' + 'data': 'indel_chr', + 'className': 'dt-body-center' }, { - 'data': 'indel_mb_s' + 'data': 'indel_mb_s', + 'className': 'dt-body-right' }, { - 'data': 'indel_mb_e' + 'data': 'indel_mb_e', + 'className': 'dt-body-right' }, { 'data': 'indel_strand' }, { - 'data': 'indel_size' + 'data': 'indel_size', + 'className': 'dt-body-right' }, { 'data': 'indel_sequence' }, { |