-
-
-
+
+
diff --git a/src/main/resources/hudson/matrix/LabelAxis/label-axis.css b/src/main/resources/hudson/matrix/LabelAxis/label-axis.css
new file mode 100644
index 00000000..74857f04
--- /dev/null
+++ b/src/main/resources/hudson/matrix/LabelAxis/label-axis.css
@@ -0,0 +1,27 @@
+.mp-label-axis__button {
+ min-height: 20px;
+ height: 20px;
+ padding: 0.5rem 0.3rem;
+}
+
+.mp-label-axis__button[data-hidden=false] {
+ rotate: 180deg;
+}
+
+.mp-label-axis__container > .jenkins-form-label {
+ display:flex;
+ gap: 5px;
+ align-items: center;
+}
+
+.mp-label-axis {
+ display: flex;
+ gap: 10px;
+ flex-direction: column;
+ max-height: 300px;
+ overflow: auto;
+}
+
+.mp-label-axis__tooltip {
+ width: fit-content;
+}
diff --git a/src/main/resources/hudson/matrix/LabelAxis/label-axis.js b/src/main/resources/hudson/matrix/LabelAxis/label-axis.js
new file mode 100644
index 00000000..60da299b
--- /dev/null
+++ b/src/main/resources/hudson/matrix/LabelAxis/label-axis.js
@@ -0,0 +1,16 @@
+Behaviour.specify(".mp-label-axis__button", "mp-label-container", 0, function(btn) {
+ btn.addEventListener("click", function(evt) {
+ const container = btn.closest(".mp-label-axis__container");
+ if (container) {
+ const labelList = container.querySelector(".mp-label-axis__list");
+ if (labelList) {
+ labelList.classList.toggle("jenkins-hidden");
+ if (btn.dataset.hidden === "true") {
+ btn.dataset.hidden = "false";
+ } else {
+ btn.dataset.hidden = "true";
+ }
+ }
+ }
+ });
+});
diff --git a/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly b/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly
index 9c6bed92..da6a902d 100644
--- a/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly
+++ b/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly
@@ -59,11 +59,6 @@ THE SOFTWARE.
-
-
-
-