diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/show_trait.html | 8 |
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) { |