Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit d85c4e4a authored by Marc Duez's avatar Marc Duez
Browse files

builder.js : replace edit/info button

parent cd49e1c5
...@@ -536,14 +536,6 @@ Builder.prototype = { ...@@ -536,14 +536,6 @@ Builder.prototype = {
} }
div_point.appendChild(nextTime) div_point.appendChild(nextTime)
var editTimeName = document.createElement('span')
editTimeName.appendChild(document.createTextNode("edit"));
editTimeName.className = "button_right"
editTimeName.onclick = function () {
self.edit(this, "time");
}
div_point.appendChild(editTimeName)
if (self.m.isPlaying){ if (self.m.isPlaying){
var stop = document.createElement('span') var stop = document.createElement('span')
stop.appendChild(document.createTextNode("stop")); stop.appendChild(document.createTextNode("stop"));
...@@ -562,14 +554,6 @@ Builder.prototype = { ...@@ -562,14 +554,6 @@ Builder.prototype = {
div_point.appendChild(play) div_point.appendChild(play)
} }
var infoTime = document.createElement('span')
infoTime.appendChild(document.createTextNode("Info"));
infoTime.className = "button_right"
infoTime.onclick = function () {
dataBox(self.m.getPointHtmlInfo(self.m.t));
}
div_point.appendChild(infoTime)
var previousTime = document.createElement('span') var previousTime = document.createElement('span')
previousTime.appendChild(document.createTextNode("<")); previousTime.appendChild(document.createTextNode("<"));
previousTime.className = "previous_button button_right" previousTime.className = "previous_button button_right"
...@@ -578,6 +562,22 @@ Builder.prototype = { ...@@ -578,6 +562,22 @@ Builder.prototype = {
} }
div_point.appendChild(previousTime) div_point.appendChild(previousTime)
var editTimeName = document.createElement('span')
editTimeName.appendChild(document.createTextNode("edit"));
editTimeName.className = "button_right"
editTimeName.onclick = function () {
self.edit(this, "time");
}
div_point.appendChild(editTimeName)
var infoTime = document.createElement('span')
infoTime.appendChild(document.createTextNode("Info"));
infoTime.className = "button_right"
infoTime.onclick = function () {
dataBox(self.m.getPointHtmlInfo(self.m.t));
}
div_point.appendChild(infoTime)
parent.appendChild(div_point) parent.appendChild(div_point)
var div_date = this.build_info_line("info_date", "date", this.m.getStrTime(this.m.t, "sampling_date") ) var div_date = this.build_info_line("info_date", "date", this.m.getStrTime(this.m.t, "sampling_date") )
......
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