aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-09-20 09:06:28 +0300
committerFrederick Muriuki Muriithi2021-09-20 09:06:28 +0300
commit614f641624582754e29b84d632e311ed5f186c1e (patch)
tree678493a377083cd31266196e2070e1c0ace2bf7d
parent99bfeeef777bdaa804e4f91cae486a34fdf1e1c2 (diff)
downloadgenenetwork2-614f641624582754e29b84d632e311ed5f186c1e.tar.gz
Move "Clustered Heatmap" button to separate form
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Move the button out of the "export_form" into a new "heatmaps_form" to avoid some weird JS interaction that showed up.
-rw-r--r--wqflask/wqflask/templates/collections/view.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html
index 783458fc..06fd80f4 100644
--- a/wqflask/wqflask/templates/collections/view.html
+++ b/wqflask/wqflask/templates/collections/view.html
@@ -50,13 +50,16 @@
<button class="btn btn-default" id="deselect_all" type="button"><span class="glyphicon glyphicon-remove"></span> Deselect</button>
<button id="remove" class="btn btn-danger" data-url="/collections/remove" type="button" disabled><i class="icon-minus-sign"></i> Delete Rows</button>
<button id="delete" class="btn btn-danger submit_special" data-url="/collections/delete" title="Delete this collection" > Delete Collection</button>
- <button id="clustered-heatmap"
- class="btn btn-main"
- data-url="{{heatmap_data_url}}"
- title="Generate heatmap from this collection">
- Clustered Heatmap
- </button>
</form>
+
+ <form id="heatmaps_form">
+ <button id="clustered-heatmap"
+ class="btn btn-main"
+ data-url="{{heatmap_data_url}}"
+ title="Generate heatmap from this collection">
+ Clustered Heatmap
+ </button>
+ </form>
</div>
<div style="margin-top: 10px; margin-bottom: 5px;">
<b>Show/Hide Columns:</b>