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 8435b259 authored by Téo Vasseur's avatar Téo Vasseur

segmenter.js : axis menu in .build (+ vidjil.less)

See #2175
parent 751a7b3d
......@@ -1022,7 +1022,7 @@ a:hover {
width : 100%;
}
#file_menu, #menu, #list_clones, #tagSelector, #display-menu, #bot-container, .seq-fixed{
#file_menu, #menu, #list_clones, #tagSelector, #display-menu, #bot-container, #segmenter_axis_menu, .seq-fixed{
background : @background;
}
......@@ -2096,3 +2096,7 @@ label.highlight_label {
overflow: hidden;
text-overflow: ellipsis;
}
#segmenter_axis_menu {
cursor: pointer;
}
......@@ -138,6 +138,47 @@ Segment.prototype = {
div_menu.appendChild(span)
}
span = document.createElement('span');
span.id = "segmenter_axis_menu";
span.onmouseover = function() {showSelector('segmenter_axis_select')};
span.appendChild(document.createTextNode("axis"));
var axis = document.createElement('span');
axis.id = "segmenter_axis_select";
axis.className = "selector";
axis.style.position = "absolute";
axis.style.top = "-230px";
axis.onmouseout = function() {hideSelector('segmenter_axis_select')};
var tmp = document.createElement('div');
var axOpts = Clone.prototype.axisOptions();
for (var i in axOpts) {
var axis_option = document.createElement('div');
var input = document.createElement('input');
input.setAttribute('type', "checkbox");
input.setAttribute('value', axOpts[i]);
input.setAttribute('id', "sai"+i); // segmenter axis input
if (axOpts[i] == "Size") input.setAttribute('checked', "");
input.onchange = function() {
self.update();
};
var label = document.createElement('label');
label.setAttribute('for', "sai"+i);
label.appendChild(document.createTextNode(axOpts[i]));
axis_option.appendChild(input);
axis_option.appendChild(label);
tmp.appendChild(axis_option);
}
axis.appendChild(tmp);
span.appendChild(axis);
div_menu.appendChild(span)
//toIMGT button
span = document.createElement('span');
span.id = "toIMGT"
......
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