aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2019-12-11 15:37:31 -0600
committerzsloan2019-12-11 15:37:31 -0600
commitc3db3b10c99d2fe90ac05797482d3fcb33380301 (patch)
tree898e22f4e8ea4c93c65c6cf699d7a31244e1ec3d
parentab71bae08b650610bc675b708173eaddc6b4dced (diff)
downloadgenenetwork2-c3db3b10c99d2fe90ac05797482d3fcb33380301.tar.gz
Also changed trait page table header alignments to match columns, which I forgot in last commit
-rw-r--r--wqflask/wqflask/templates/show_trait.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/show_trait.html b/wqflask/wqflask/templates/show_trait.html
index 6719485a..455208a9 100644
--- a/wqflask/wqflask/templates/show_trait.html
+++ b/wqflask/wqflask/templates/show_trait.html
@@ -289,7 +289,7 @@
}
},
{
- 'title': "Value",
+ 'title': "<div style='text-align: right;'>Value</div>",
'orderDataType': "dom-input",
'type': "cust-txt",
'data': null,
@@ -337,7 +337,7 @@
}
}{% endif %}{% if sample_groups[0].attributes|length > 0 %}{% for attribute in sample_groups[0].attributes|sort() %},
{
- 'title': "{{ sample_groups[0].attributes[attribute].name }}",
+ 'title': "<div style='text-align: {{ sample_groups[0].attributes[attribute].alignment }}'>{{ sample_groups[0].attributes[attribute].name }}</div>",
'type': "natural",
'data': null,
'render': function(data, type, row, meta) {
@@ -433,7 +433,7 @@
}
},
{
- 'title': "Value",
+ 'title': "<div style='text-align: right;'>Value</div>",
'orderDataType': "dom-input",
'type': "cust-txt",
'data': null,
@@ -481,7 +481,7 @@
}
}{% endif %}{% if sample_groups[1].attributes|length > 0 %}{% for attribute in sample_groups[1].attributes|sort() %},
{
- 'title': "{{ sample_groups[1].attributes[attribute].name }}",
+ 'title': "<div style='text-align: {{ sample_groups[1].attributes[attribute].alignment }}'>{{ sample_groups[1].attributes[attribute].name }}</div>",
'type': "natural",
'data': null,
'render': function(data, type, row, meta) {