Skip to content

Commit

Permalink
Use monochrome symbol for directory tree (#1477)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesbusy authored Oct 30, 2024
1 parent 16307d3 commit 1090a3b
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package javaposse.jobdsl.plugin.actions
import hudson.model.Action

class ApiViewerAction implements Action {
final String iconFileName = '/plugin/job-dsl/images/directory.svg'
final String iconFileName = 'symbol-directory plugin-job-dsl'
final String displayName = 'Job DSL API Reference'
final String urlName = '/plugin/job-dsl/api-viewer/index.html'
}
19 changes: 19 additions & 0 deletions job-dsl-plugin/src/main/resources/images/symbols/directory.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<j:set var="allConfigFiles" value="${it.findAllGeneratedObjects()}"/>
<j:if test="${!allConfigFiles.isEmpty()}">
<table style="margin-top: 1em; margin-left:1em;">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated Config Files:
<ul class="folderList">
<j:forEach items="${allConfigFiles}" var="configFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<j:jelly xmlns:j="jelly:core" xmlns:t="/lib/hudson">
<j:set var="allConfigFiles" value="${it.modifiedObjects}"/>
<j:if test="${!allConfigFiles.isEmpty()}">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated Config Files:
<ul class="folderList">
<j:forEach items="${allConfigFiles}" var="configFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<j:set var="allFolders" value="${it.items}"/>
<j:if test="${!allFolders.isEmpty()}">
<table style="margin-top: 1em; margin-left:1em;">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated Items:
<ul class="folderList">
<j:forEach items="${allFolders}" var="folder">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<j:jelly xmlns:j="jelly:core" xmlns:t="/lib/hudson">
<j:set var="allFolders" value="${it.items}"/>
<j:if test="${!allFolders.isEmpty()}">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated Items:
<ul class="folderList">
<j:forEach items="${allFolders}" var="folder">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<j:set var="allUserContents" value="${it.findAllGeneratedObjects()}"/>
<j:if test="${!allUserContents.isEmpty()}">
<table style="margin-top: 1em; margin-left:1em;">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated User Content:
<ul class="folderList">
<j:forEach items="${allUserContents}" var="userContent">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<j:jelly xmlns:j="jelly:core" xmlns:t="/lib/hudson">
<j:set var="allUserContents" value="${it.modifiedObjects}"/>
<j:if test="${!allUserContents.isEmpty()}">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated User Content:
<ul class="folderList">
<j:forEach items="${allUserContents}" var="userContent">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<j:set var="allViews" value="${it.views}"/>
<j:if test="${!allViews.isEmpty()}">
<table style="margin-top: 1em; margin-left:1em;">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated Views:
<ul class="viewList">
<j:forEach items="${allViews}" var="view">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<j:jelly xmlns:j="jelly:core" xmlns:t="/lib/hudson">
<j:set var="allViews" value="${it.views}"/>
<j:if test="${!allViews.isEmpty()}">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
Generated Views:
<ul class="viewList">
<j:forEach items="${allViews}" var="view">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<j:jelly xmlns:j="jelly:core" xmlns:t="/lib/hudson" xmlns:l="/lib/layout">
<j:if test="${it.seedJob != null || it.templateJob != null}">
<table style="margin-top: 1em; margin-left:1em;">
<t:summary icon="/plugin/job-dsl/images/directory.svg">
<t:summary icon="symbol-directory plugin-job-dsl">
<j:if test="${it.seedJob != null}">
<p>
Seed job:
Expand Down
1 change: 0 additions & 1 deletion job-dsl-plugin/src/main/webapp/images/directory.svg

This file was deleted.

0 comments on commit 1090a3b

Please sign in to comment.