aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2018-03-29 20:32:14 +0000
committerzsloan2018-03-29 20:32:14 +0000
commit1f8430561fc542eaec2148361dde49beff4d3361 (patch)
treef18c35093837dd2f4fbfd556e8f5ce92c8c7bfba
parentfef4b723d0e9d9d0b5f40bd51c6a2cd31410285b (diff)
downloadgenenetwork2-1f8430561fc542eaec2148361dde49beff4d3361.tar.gz
Can now add markers to collection from mapping results page
-rw-r--r--wqflask/wqflask/templates/marker_regression_gn1.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html
index 08a934a6..fd083983 100644
--- a/wqflask/wqflask/templates/marker_regression_gn1.html
+++ b/wqflask/wqflask/templates/marker_regression_gn1.html
@@ -183,6 +183,13 @@
{% if selectedChr == -1 %}
<div class="container" style="padding-left: 30px; width:{% if 'additive' in trimmed_markers[0] %}45%{% else %}35%{% endif %};">
<h2>Mapping Statistics</h2>
+ <br />
+ <button class="btn btn-default" id="select_all"><span class="glyphicon glyphicon-ok"></span> Select All</button>
+ <button class="btn btn-default" id="deselect_all"><span class="glyphicon glyphicon-remove"></span> Deselect All</button>
+ <button class="btn btn-default" id="invert"><span class="glyphicon glyphicon-resize-vertical"></span> Invert</button>
+ <button class="btn btn-default" id="add" disabled><span class="glyphicon glyphicon-plus-sign"></span> Add</button>
+ <br />
+ <br />
<div id="table_container" style="border-style: solid; border-width: 1px; border-color: black;">
<table id="trait_table" class="table table-hover table-striped nowrap">
<thead>
@@ -211,7 +218,7 @@
<td align="center" style="padding-right: 0px;">
<input type="checkbox" name="selectCheck"
class="checkbox trait_checkbox"
- value="{{ marker.name }}">
+ value="{{ data_hmac('{}:{}Geno'.format(marker.name, dataset.group.name)) }}">
</td>
<td align="right">{{ loop.index }}</td>
<td>{% if geno_db_exists == "True" %}<a href="/show_trait?trait_id={{ marker.name }}&dataset={{ dataset.group.name }}Geno">{{ marker.name }}</a>{% else %}{{ marker.name }}{% endif %}</td>