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 6becf6d7 authored by Marc Duez's avatar Marc Duez

list.js : handle dataMenu

parent 0b65b3be
......@@ -574,7 +574,7 @@ span .substitution {
display: none;
background: #000000;
}
#dataMenu {
.dataMenu {
padding: 5px;
position: absolute;
left: 475px;
......
......@@ -574,7 +574,7 @@ span .substitution {
display: none;
background: #ffffff;
}
#dataMenu {
.dataMenu {
padding: 5px;
position: absolute;
left: 475px;
......
......@@ -701,10 +701,10 @@ span .substitution{
width:220px;
border:solid;
display:none;
background: @background;X
background: @background;
}
#dataMenu{
.dataMenu{
padding: 5px;
position: absolute;
left: @width_left_container;
......
......@@ -276,17 +276,6 @@
<!-- BOT-CONTAINER / SEGMENTER-CONTAINER -->
<div id="bot-container"> </div>
<div id="dataMenu">
<span class="closeButton" onclick="$('#dataMenu').hide('fast')">X</span>
<div> data: <span id=data_name></span></div>
<div>
<span>normalize to: </span>
<span><input type="number" step="0.0001" id="normalized_data"></span>
<button id="normalized_data_button">ok</button>
</div>
</div>
<div id="data-container">
<span class="closeButton" onclick="console.closeDataBox()">X</span>
<div id="data-msg"></div>
......
......@@ -74,10 +74,22 @@ List.prototype = {
this.tagSelector.appendChild(this.tagSelectorList);
this.dataMenu = document.createElement("div");
this.dataMenu.className = "dataMenu";
var closedataMenu = document.createElement("span");
closedataMenu.className = "closeButton" ;
closedataMenu.appendChild(document.createTextNode("X"));
closedataMenu.onclick = function() {$(this).parent().hide('fast')};
this.dataMenu.appendChild(closedataMenu);
this.dataMenuInfo = document.createElement("div")
this.dataMenu.appendChild(this.dataMenuInfo);
this.dataMenu.innerHTML += "<div><span>normalize to: </span><span><input type='number' step='0.0001' id='normalized_data'></span><button id='normalized_data_button'>ok</button> </div></div>"
document.body.appendChild(this.tagSelector);
document.body.appendChild(this.dataMenu);
},
/* initialise la liste et crée un div pour chaque clones
......@@ -157,7 +169,7 @@ List.prototype = {
star.className = "starBox";
(function (key) {
star.onclick = function () {
openDataMenu(key);
self.openDataMenu(key);
}
})(key);
......@@ -850,6 +862,11 @@ List.prototype = {
$(this.tagSelector).show("fast");
this.tagSelectorInfo.innerHTML = "tag for "+m.clone(cloneID).getName()+"("+cloneID+")";
},
openDataMenu : function (data) {
$(this.dataMenu).show("fast");
this.dataMenuInfo.innerHTML = data;
},
} //fin prototype
......@@ -858,9 +875,4 @@ List.prototype = {
function openDataMenu(data) {
$('#dataMenu')
.show("fast");
document.getElementById("data_name")
.innerHTML = data;
}
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