Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 3084307d authored by Mathieu Giraud's avatar Mathieu Giraud

js/: icon-info

parent 58d609a3
......@@ -463,7 +463,7 @@ Builder.prototype = {
var infoTime_container = document.createElement("div")
infoTime_container.className = "inline-block_10"
var infoTime = self.createClickableElem('span',
[document.createTextNode("i")],
[icon('icon-info', 'sample information')],
"",
"button",
function () {
......
......@@ -429,9 +429,9 @@ List.prototype = {
if (this.m.clone(cloneID).isWarned()) {
span_info.className += " warning" ;
span_info.appendChild(document.createTextNode("!"));
span_info.appendChild(icon('icon-warning-1', 'clone information'));
} else {
span_info.appendChild(document.createTextNode("i"));
span_info.appendChild(icon('icon-info', 'clone information'));
}
}
......
......@@ -497,13 +497,14 @@ Segment.prototype = {
seq_size.style.color = this.m.clone(cloneID).color;
seq_size.appendChild(document.createTextNode(this.m.clone(cloneID).getStrSize()));
// Info
var span_info = document.createElement('span')
span_info.className = "infoBox";
if (cloneID == this.m.clone_info) span_info.className = "infoBox infoBox-open";
span_info.onclick = function () {
self.m.displayInfoBox(cloneID);
}
span_info.appendChild(document.createTextNode("i"));
span_info.appendChild(icon('icon-info', 'clone information'))
// Productive/unproductive
var productive_info = document.createElement('span');
......
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