about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLei Yan2015-08-06 16:59:31 +0000
committerLei Yan2015-08-06 16:59:31 +0000
commit7bb0af72804d8112f41927e8184247c7447b1780 (patch)
tree70740c5379c72be6b96a785080985623d72d1f95
parent505cc52b2c0b7afb8e1b3c3e414ef68632f5e518 (diff)
downloadgenenetwork2-7bb0af72804d8112f41927e8184247c7447b1780.tar.gz
Committer: Lei Yan <lei@penguin.uthsc.edu>
On branch master
-rwxr-xr-xwqflask/wqflask/templates/gsearch_pheno.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/gsearch_pheno.html b/wqflask/wqflask/templates/gsearch_pheno.html
index 8701673f..c25b71a2 100755
--- a/wqflask/wqflask/templates/gsearch_pheno.html
+++ b/wqflask/wqflask/templates/gsearch_pheno.html
@@ -26,6 +26,7 @@
 			<table class="table table-hover table-striped" id='trait_table'  style="float: left;">
                 <thead>
                     <tr>
+						<th style="width: 30px;"></th>
                         <th>Index</th>
 						<th>Species</th>
 						<th>Group</th>
@@ -41,7 +42,8 @@
                 <tbody>
                  {% for this_trait in trait_list %}
                     <TR id="trait:{{ this_trait.name }}:{{ this_trait.dataset.name }}">
-                        <TD>{{ loop.index }}<INPUT TYPE="checkbox" NAME="searchResult" class="checkbox trait_checkbox" VALUE="{{ data_hmac('{}:{}'.format(this_trait.name, this_trait.dataset.name)) }}"></TD>
+                        <TD><INPUT TYPE="checkbox" NAME="searchResult" class="checkbox trait_checkbox" style="transform: scale(1.5);" VALUE="{{ data_hmac('{}:{}'.format(this_trait.name, this_trait.dataset.name)) }}"></TD>
+						<TD>{{ loop.index }}</TD>
                         <TD>{{ this_trait.dataset.group.species }}</TD>
 						<TD>{{ this_trait.dataset.group.name }}</TD>
 						<TD><a href="{{ url_for('show_trait_page', trait_id = this_trait.name, dataset = this_trait.dataset.name)}}">{{ this_trait.name }}</a></TD>
@@ -122,6 +124,7 @@
             console.time("Creating table");
             $('#trait_table').DataTable( {
                 "columns": [
+					{ "bSortClasses": false },
                     { "type": "natural" },
                     { "type": "natural" },
                     { "type": "natural" },