Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use monochrome symbol for directory tree #1477

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.