From 09ce2f5c91a230642a314dcb78356c481cafbf8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Queiruga?= Date: Mon, 16 Mar 2020 12:53:39 +0100 Subject: [PATCH] Refactor the sectioning of the /manage page - Use the
HTML elements - Add some spacing between sections to improve readability --- .../jenkins/model/Jenkins/manage.jelly | 93 ++++++++++--------- war/src/main/less/modules/manage-jenkins.less | 5 + 2 files changed, 53 insertions(+), 45 deletions(-) diff --git a/core/src/main/resources/jenkins/model/Jenkins/manage.jelly b/core/src/main/resources/jenkins/model/Jenkins/manage.jelly index d290e210d2..4c815b6298 100644 --- a/core/src/main/resources/jenkins/model/Jenkins/manage.jelly +++ b/core/src/main/resources/jenkins/model/Jenkins/manage.jelly @@ -47,51 +47,54 @@ THE SOFTWARE. -

${category.key.label}

-
- - - -
- - - ${taskTags!=null and attrs.contextMenu!='false' ? taskTags.add(m.urlName, iconUrl, m.displayName, m.requiresPOST, m.requiresConfirmation) : null} - - - - -
-
${m.displayName}
-
-
-
-
-
- - - [${%alt}] -
-
${m.displayName}
-
-
-
-
-
- - - manage-option -
-
${m.displayName}
-
-
-
-
-
-
-
-
-
-
+
+

${category.key.label}

+ +
+ + + +
+ + + ${taskTags!=null and attrs.contextMenu!='false' ? taskTags.add(m.urlName, iconUrl, m.displayName, m.requiresPOST, m.requiresConfirmation) : null} + + + + +
+
${m.displayName}
+
+
+
+
+
+ + + [${%alt}] +
+
${m.displayName}
+
+
+
+
+
+ + + manage-option +
+
${m.displayName}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/war/src/main/less/modules/manage-jenkins.less b/war/src/main/less/modules/manage-jenkins.less index fa52d2c434..4bf62dc3d9 100644 --- a/war/src/main/less/modules/manage-jenkins.less +++ b/war/src/main/less/modules/manage-jenkins.less @@ -1,3 +1,8 @@ +.manage-page__category { + &:not(:last-child) { + margin-bottom: 1.5rem; + } +} .manage-page__row { display: block; display: flex; -- GitLab