Skip to content

Commit

Permalink
Exchange GIFs with SVGs
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Sep 23, 2021
1 parent 797eb56 commit c404110
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
Expand Up @@ -59,7 +59,7 @@ of this software and associated documentation files (the "Software"), to deal
@Extension
public class ConfigFilesManagement extends ManagementLink implements ConfigFilesUIContract, StaplerProxy {

public static final String ICON_PATH = "/plugin/config-file-provider/images/cfg_logo.png";
public static final String ICON_PATH = "/plugin/config-file-provider/images/cfg_logo.svg";

private ConfigFileStore store;

Expand Down
Expand Up @@ -44,7 +44,7 @@ public interface ConfigFilesUIContract {

public static final String JELLY_RESOURCES_PATH = "/org/jenkinsci/plugins/configfiles/ConfigFilesUI/";

public static final String ICON_PATH = "/plugin/config-file-provider/images/cfg_logo.png";
public static final String ICON_PATH = "/plugin/config-file-provider/images/cfg_logo.svg";

public static Pattern ID_PATTERN = Pattern.compile("^[a-zA-Z0-9_.-]*$");

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/lib/configfiles/configfiles.jelly
Expand Up @@ -46,12 +46,12 @@ THE SOFTWARE.
<td width="32">
<a href="editConfig?id=${t.id}">
<img width="16" height="16" title="${%edit script} ${t.name}"
src="${imagesURL}/16x16/document_edit.gif"/>
src="${imagesURL}/svgs/notepad.svg"/>
</a>
<j:out value=" "/>
<l:confirmationLink href="removeConfig?id=${t.id}" post="true" message="Sure you want to delete [${t.name}]?">
<img width="16" height="16" title="${%remove script} ${t.name}"
src="${imagesURL}/16x16/edit-delete.gif"/>
src="${imagesURL}/svgs/edit-delete.svg"/>
</l:confirmationLink>
</td>
<td>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/lib/configfiles/providerlist.jelly
Expand Up @@ -44,12 +44,12 @@ THE SOFTWARE.
<td width="32">
<a href="editConfig?id=${t.id}">
<img width="16" height="16" title="${%edit script} ${t.name}"
src="${imagesURL}/16x16/document_edit.gif" />
src="${imagesURL}/svgs/document_edit.svg" />
</a>
<j:out value=" " />
<l:confirmationLink href="removeConfig?id=${t.id}" post="true" message="Sure you want to delete [${t.name}]?">
<img width="16" height="16" title="${%remove script} ${t.name}"
src="${imagesURL}/16x16/edit-delete.gif" />
src="${imagesURL}/svgs/edit-delete.svg" />
</l:confirmationLink>
</td>
<td >
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/lib/configfiles/sitepanel.jelly
Expand Up @@ -31,9 +31,9 @@ THE SOFTWARE.
<l:header />
<l:side-panel>
<l:tasks>
<l:task icon="images/24x24/setting.gif" href="${rootURL}/manage" title="${%Manage Jenkins}" />
<l:task icon="images/24x24/next.gif" href="configfiles" title="${%Config Files}" />
<l:task icon="images/24x24/new-package.gif" href="selectProvider" title="${%Add a new Config}" />
<l:task icon="images/svgs/setting.svg" href="${rootURL}/manage" title="${%Manage Jenkins}" />
<l:task icon="images/svgs/next.svg" href="configfiles" title="${%Config Files}" />
<l:task icon="images/svgs/new-package.svg" href="selectProvider" title="${%Add a new Config}" />
</l:tasks>
</l:side-panel>
</j:jelly>
Expand Up @@ -30,8 +30,8 @@ THE SOFTWARE.

<l:main-panel>
<h1>
<img width="48" height="48" src="${imagesURL}/16x16/document_edit.gif" />
<img width="16" height="16" src="${imagesURL}/16x16/empty.gif" />
<img width="48" height="48" src="${imagesURL}/svgs/notepad.svg" />
<img width="16" height="16" src="${imagesURL}/svgs/empty.svg" />
${%Edit Configuration File}
</h1>
<f:form method="post" action="saveConfig">
Expand Down Expand Up @@ -64,4 +64,4 @@ THE SOFTWARE.
});
</script>
</j:if>
</j:jelly>
</j:jelly>
Expand Up @@ -31,8 +31,8 @@ THE SOFTWARE.

<l:main-panel>
<h1>
<img width="48" height="48" src="${imagesURL}/16x16/document_edit.gif" />
<img width="16" height="16" src="${imagesURL}/16x16/empty.gif" />
<img width="48" height="48" src="${imagesURL}/svgs/notepad.svg" />
<img width="16" height="16" src="${imagesURL}/svgs/empty.svg" />
<j:out value="${%filetype}" />
</h1>
<j:out value="${%selectprovider}" />
Expand All @@ -41,4 +41,4 @@ THE SOFTWARE.

</l:main-panel>
</l:layout>
</j:jelly>
</j:jelly>

0 comments on commit c404110

Please sign in to comment.