From 8c00e8910583d2b55804a650dccdaf7ddf8a9d49 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun, 14 Nov 2021 23:19:06 +0000 Subject: [PATCH] Update index.groovy --- .../tools/GlobalToolConfiguration/index.groovy | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/core/src/main/resources/jenkins/tools/GlobalToolConfiguration/index.groovy b/core/src/main/resources/jenkins/tools/GlobalToolConfiguration/index.groovy index f0d808774904..0ad0f39ffa4b 100644 --- a/core/src/main/resources/jenkins/tools/GlobalToolConfiguration/index.groovy +++ b/core/src/main/resources/jenkins/tools/GlobalToolConfiguration/index.groovy @@ -16,12 +16,10 @@ l.layout(permission:app.SYSTEM_READ, title:my.displayName) { } set("readOnlyMode", !app.hasPermission(app.ADMINISTER)) l.main_panel { - div(class:"jenkins-app-bar") { - div(class: "jenkins-app-bar__content") { - h1 { - text(my.displayName) - } - } + h1 { + l.icon(class: 'icon-setting icon-xlg') + // TODO more appropriate icon + text(my.displayName) } p() @@ -33,12 +31,9 @@ l.layout(permission:app.SYSTEM_READ, title:my.displayName) { Functions.getSortedDescriptorsForGlobalConfigByDescriptor(my.FILTER).each { Descriptor descriptor -> set("descriptor",descriptor) set("instance",descriptor) - - div(class: "row-set-start row-group-start tr", style: "display:none", name: descriptor.jsonSafeClassName) - div(name:descriptor.jsonSafeClassName, class: "jenkins-section") { + f.rowSet(name:descriptor.jsonSafeClassName) { st.include(from:descriptor, page:descriptor.globalConfigPage) } - div(class: "row-set-end row-group-end tr") } l.isAdmin() {