Skip to content

Commit

Permalink
All icons
Browse files Browse the repository at this point in the history
  • Loading branch information
cgivre committed Mar 28, 2022
1 parent bd12e60 commit 652270a
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,13 @@ public StoragePluginModel(PluginConfigWrapper plugin, HttpServletRequest request
csrfToken = WebUtils.getCsrfTokenFromHttpRequest(request);
}

public String getCleanType() {
String pluginName = type.replace("Config", "");
pluginName = pluginName.replace("Plugin", "");
pluginName = pluginName.replace("Storage", "");
return pluginName;
}

public String getType() {
return type;
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions exec/java-exec/src/main/resources/rest/storage/list.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<#if pluginModel.getPlugin()?? && pluginModel.getPlugin().enabled() == true>
<tr>
<td style="border:none;">
<img src="/static/img/storage_logos/${pluginModel.getType()}.png" height=50 width=50 />
<img src="/static/img/storage_logos/${pluginModel.getCleanType()}.png" alt="${pluginModel.getCleanType()}" height=40 width=40 />
</td>
<td style="border:none; max-width: 200px; overflow: hidden; text-overflow: ellipsis;">
${pluginModel.getPlugin().getName()}
Expand Down Expand Up @@ -92,7 +92,7 @@
<#if pluginModel.getPlugin()?? && pluginModel.getPlugin().enabled() == false>
<tr>
<td style="border:none;">
<img src="/static/img/storage_logos/${pluginModel.getType()}.png" height=50 width=50 />
<img src="/static/img/storage_logos/${pluginModel.getCleanType()}.png" alt="${pluginModel.getCleanType()}" height=40 width=40 />
</td>
<td style="border:none; max-width: 200px; overflow: hidden; text-overflow: ellipsis;">
${pluginModel.getPlugin().getName()}
Expand Down

0 comments on commit 652270a

Please sign in to comment.