+
+
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html
index 055ab979..731f6fbd 100755
--- a/wqflask/wqflask/templates/search_result_page.html
+++ b/wqflask/wqflask/templates/search_result_page.html
@@ -49,7 +49,13 @@
{% for header in header_fields %}
+ {% if header == 'Max LRS' %}
+ {{header}} ? |
+ {% elif header == 'Additive Effect' %}
+ {{header}} ? |
+ {% else %}
{{header}} |
+ {% endif %}
{% endfor %}
@@ -140,17 +146,11 @@
$(document).ready( function () {
- /*num_columns = $('#trait_table').find('tr:first th').length;
-
- nul_cols = []
- for (i=0; i
tbody > tr').each(function() {
- if ($(this).find('td:eq(i)').html()){
- continue;
- }
- });
- nul_cols.push(i)
- }*/
+ $('#trait_table tr').click(function(event) {
+ if (event.target.type !== 'checkbox') {
+ $(':checkbox', this).trigger('click');
+ }
+ });
console.time("Creating table");
{% if dataset.type == 'ProbeSet' %}
@@ -166,7 +166,7 @@
"sWidth": "15%" },
{ "sType": "cust-txt" },
{ "sType": "natural",
- "sWidth": "10%" },
+ "sWidth": "12%" },
{ "sType": "natural",
"sWidth": "15%" },
{ "sType": "cust-txt" }
diff --git a/wqflask/wqflask/templates/show_trait.html b/wqflask/wqflask/templates/show_trait.html
index 5d0437df..a1723ef8 100755
--- a/wqflask/wqflask/templates/show_trait.html
+++ b/wqflask/wqflask/templates/show_trait.html
@@ -6,6 +6,7 @@
+
@@ -40,7 +41,7 @@
@@ -54,7 +55,7 @@
@@ -68,7 +69,7 @@
@@ -82,7 +83,7 @@
@@ -122,6 +123,7 @@
+
@@ -162,6 +164,16 @@
};
$(document).ready( function () {
+
+ $('.panel-heading').find('a').click(function () {
+ if ($(this).hasClass('collapsed')){
+ $(this).find('.glyphicon-chevron-down').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up');
+ }
+ else {
+ $(this).find('.glyphicon-chevron-up').removeClass('glyphicon-chevron-up').addClass('glyphicon-chevron-down');
+ }
+ });
+
console.time("Creating table");
{% if sample_groups[0].se_exists() %}
diff --git a/wqflask/wqflask/templates/show_trait_mapping_tools.html b/wqflask/wqflask/templates/show_trait_mapping_tools.html
index 84ddfd53..6f5fe237 100755
--- a/wqflask/wqflask/templates/show_trait_mapping_tools.html
+++ b/wqflask/wqflask/templates/show_trait_mapping_tools.html
@@ -1,5 +1,7 @@
{% endif %}