From aa45360b2f02223fdcfa63d88fac3fcc81f62daf Mon Sep 17 00:00:00 2001 From: Markus Winter Date: Wed, 17 Apr 2024 20:52:42 +0200 Subject: [PATCH] move the header parts in a taglib the taglib allows plugins to make use of the searchbox and the login stuff while easily being able to modify all the other aspects of the header. --- .../views/JenkinsHeader/headerContent.jelly | 78 +------------------ .../resources/lib/layout/header/login.jelly | 37 +++++++++ .../resources/lib/layout/header/logo.jelly | 18 +++++ .../lib/layout/header/searchbox.jelly | 25 ++++++ .../main/resources/lib/layout/header/taglib | 1 + 5 files changed, 85 insertions(+), 74 deletions(-) create mode 100644 core/src/main/resources/lib/layout/header/login.jelly create mode 100644 core/src/main/resources/lib/layout/header/logo.jelly create mode 100644 core/src/main/resources/lib/layout/header/searchbox.jelly create mode 100644 core/src/main/resources/lib/layout/header/taglib diff --git a/core/src/main/resources/jenkins/views/JenkinsHeader/headerContent.jelly b/core/src/main/resources/jenkins/views/JenkinsHeader/headerContent.jelly index ce78d10d37e2..1f22ef506358 100644 --- a/core/src/main/resources/jenkins/views/JenkinsHeader/headerContent.jelly +++ b/core/src/main/resources/jenkins/views/JenkinsHeader/headerContent.jelly @@ -1,78 +1,8 @@ - + -