Skip to content

Commit

Permalink
chore: Prepare for icon removal from core
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Dec 23, 2021
1 parent b1afe8f commit bbf9684
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/plot/MatrixPlotAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public String getDisplayName() {
}

public String getIconFileName() {
return "graph.gif";
return "graph.png";
}

public String getUrlName() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/plot/PlotAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public PlotAction(Job<?, ?> job, List<Plot> plots) {

@Override
public String getIconFileName() {
return "graph.gif";
return "graph.png";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:t="/lib/hudson">
<l:layout title="${it.project.displayName} plots">
<st:include it="${it.project}" page="sidepanel.jelly" />
<l:main-panel>
Expand All @@ -18,7 +18,7 @@
</p>
<table>
<j:forEach var="group" items="${it.originalGroups}">
<t:summary icon="graph.gif" href="${it.getUrlGroup(group)}/">
<t:summary icon="icon-graph icon-md" href="${it.getUrlGroup(group)}/">
${group}
</t:summary>
</j:forEach>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/hudson/plugins/plot/PlotAction/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:t="/lib/hudson">
<l:layout title="${it.job.displayName} plots">
<st:include it="${it.job}" page="sidepanel.jelly" />
<l:main-panel>
Expand All @@ -18,7 +18,7 @@
</p>
<table>
<j:forEach var="group" items="${it.originalGroups}">
<t:summary icon="graph.gif" href="${it.getUrlGroup(group)}/">
<t:summary icon="icon-graph icon-md" href="${it.getUrlGroup(group)}/">
${group}
</t:summary>
</j:forEach>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/hudson/plugins/plot/PlotReport/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</style>
<div id="${id}" style="margin-top: 2em">
<div align="right" style="width:750px">
<a href="#top"><img src="${rootURL}/images/24x24/up.gif"/>${%top}</a>
<a href="#top"><l:icon class="icon-up icon-md"/>${%top}</a>
</div>
<j:if test="${it.getDisplayTableFlag(index)}">
<div>
Expand Down Expand Up @@ -68,7 +68,7 @@
<l:layout title="${it.group}">
<st:include it="${it.job}" page="sidepanel.jelly" optional="true" />
<l:main-panel>
<h1><img src="${rootURL}/images/32x32/graph.gif"/>${it.group}</h1>
<h1><l:icon class="icon-graph icon-xlg"/>${it.group}</h1>
<div>
<script>
function jump(menu){
Expand Down

0 comments on commit bbf9684

Please sign in to comment.