Commit 85dd6226 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

index.html, js/builder: temporary remove 'sampling date' display

The sampling date is currently not transferred from the db to the browser.
This commit can be safely reverted once the bug is solved.
parent 686ae38b
......@@ -207,8 +207,10 @@
<div class="menu_box">
point key</br>
<input type="radio" name="time" value="name" onchange="m.time_switch()" checked>name</input></br>
<!--
<input type="radio" name="time" value="sampling_date" onchange="m.time_switch()">sampling date</input></br>
<input type="radio" name="time" value="delta_date" onchange="m.time_switch()">day after first sample</input>
-->
</div>
<div class="submenu" id="system_menu" style="display:none">
......
......@@ -590,7 +590,7 @@ Builder.prototype = {
self.edit(this, "timestamp");
}
// div_date.appendChild(span)
parent.appendChild(div_date)
// parent.appendChild(div_date)
var percent = (this.m.reads.segmented[this.m.t] / this.m.reads.total[this.m.t]) * 100
var val = "" + this.m.reads.segmented[this.m.t] + " reads" + " (" + percent.toFixed(2) + "%)"
......
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