Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit 1f330562 authored by Marc Duez's avatar Marc Duez

export.js : display systems stats only if neccesary

parent 5b15c5d3
......@@ -275,8 +275,8 @@
<div id="debug_menu" class="menu" onmouseover="showSelector('adminSelector');" style="display : none"> development
<div id="adminSelector" class="selector"><div>
<a class="buttonSelector" onclick="javascript:report.reportHTML()">report html</a>
<a class="buttonSelector" onclick="javascript:report.reportHTMLdiag()">diag report html</a>
<a class="buttonSelector" onclick="javascript:report.reportHTML()">monitor report</a>
<a class="buttonSelector" onclick="javascript:report.reportHTMLdiag()">sample report</a>
<input type="checkbox" onclick="m.display_window = this.checked; m.update()">highlight windows</input><br>
<input type="checkbox" onclick=" this.checked ? $('#fps').css('display', '') : $('#fps').css('display', 'none');">display fps</input></br>
<input type="checkbox" onclick=" this.checked ? myConsole.openLog() : myConsole.closeLog() ;">log</input>
......
......@@ -232,19 +232,19 @@ Report.prototype = {
readsStat: function() {
var container = this.container('Reads statistics')
var reads_stats = $('<div/>', {
class: 'reads_stats'
}).appendTo(container);
var reads_stats = $('<div/>', {class: 'flex'}).appendTo(container);
var head = $('<div/>', {class: 'float-left'}).appendTo(reads_stats);
$('<div/>', {class: 'case', text : ' '}).appendTo(head);
$('<div/>', {class: 'case', text : 'total'}).appendTo(head);
$('<div/>', {class: 'case', text : 'segmented'}).appendTo(head);
for (var i=0; i<m.system_selected.length; i++){
var system = m.system_selected[i]
var system_label = $('<div/>', {class: 'case', text : system}).appendTo(head);
$('<span/>', {class: 'system_colorbox', style:'background-color:'+m.germlineList.getColor(system)}).appendTo(system_label);
if (m.system_available.length>1){
for (var i=0; i<m.system_selected.length; i++){
var system = m.system_selected[i]
var system_label = $('<div/>', {class: 'case', text : system}).appendTo(head);
$('<span/>', {class: 'system_colorbox', style:'background-color:'+m.germlineList.getColor(system)}).appendTo(system_label);
}
}
for (var i=0; i<m.samples.order.length; i++){
......@@ -259,20 +259,22 @@ Report.prototype = {
$('<div/>', {class: 'background1'}).appendTo(seg_box);
$('<div/>', {class: 'background2', style: 'width:'+segmented}).appendTo(seg_box);
var pie = $('<div/>').appendTo(box);
var pie_label = $('<div/>', {class: 'left'}).appendTo(pie);
for (var j=0; j<m.system_selected.length; j++){
var system = m.system_selected[j]
var value = ((m.systemSize(system,time))*100).toFixed(0) + "%"
$('<div/>', {class: 'case', text : value}).appendTo(pie_label);
if (m.system_available.length>1){
var pie = $('<div/>').appendTo(box);
var pie_label = $('<div/>', {class: 'left'}).appendTo(pie);
for (var j=0; j<m.system_selected.length; j++){
var system = m.system_selected[j]
var value = ((m.systemSize(system,time))*100).toFixed(0) + "%"
$('<div/>', {class: 'case', text : value}).appendTo(pie_label);
}
var pie_chart = $('<div/>', {class: 'left'}).appendTo(pie)
var p = this.systemPie(time)
p.setAttribute('style','margin:5px')
pie_chart.append(p)
}
var pie_chart = $('<div/>', {class: 'left'}).appendTo(pie)
var p = this.systemPie(time)
p.setAttribute('style','margin:5px')
pie_chart.append(p)
box.appendTo(reads_stats);
}
......
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