Commit 57ceabbc authored by flothoni's avatar flothoni

index.html; move anchors into the menu section

link to #1469
parent 12bb2ec8
Pipeline #68548 canceled with stages
......@@ -273,6 +273,10 @@
</div>
<div id ="dlAnchors" style="display:none">
</div>
<div id="debug_menu" class="menu" onmouseover="showSelector('adminSelector');" style="display : none"> development
<div id="adminSelector" class="selector"><div>
<input type="checkbox" onclick=" this.checked ? $('#fps').css('display', '') : $('#fps').css('display', 'none');">display fps</input></br>
......@@ -344,7 +348,7 @@
<form id="form"></form>
<div id="tip-container"></div>
<a id ="dlAnchors" style="display:none"></a>
</body>
</html>
......@@ -154,14 +154,15 @@ Database.prototype = {
'grep_reads': window},
function(a) {
var anchor_id = "dlAnchor_get_reads_"+a.result_id
// Create anchor here, so each clones/sample will have an specific anchor
// Allow to launch multiple 'get_reads'
var anchors = document.getElementById('dlAnchors')
var anchor = document.createElement("a", anchor_id)
anchor.innerHTML = "timapoint "+timepoint+"; clone "+m.clones[clone_id]
anchor.style.display = "none"
anchors.appendChild(anchor)
console.log( anchor )
console.log( anchor )
// Link to result file and launch download
var path_data = DB_ADDRESS+"/results_file/download?filename=seq/clone.fa-1&results_file_id="+a.result_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment