Admin v10

This commit is contained in:
dingo
2025-12-25 15:52:11 -05:00
parent 305f782565
commit 5afe3884fa
7 changed files with 416 additions and 187 deletions
+3 -3
View File
@@ -142,7 +142,7 @@
{
@if (ingredient.ItemDefinition != null && !string.IsNullOrEmpty(ingredient.ItemDefinition.SpritePath))
{
<img src="@Html.Raw(Model.CdnBaseUrl)/@ingredient.ItemDefinition.SpritePath"
<img src="@Html.Raw(Model.CdnBaseUrl)/downloads/@ingredient.ItemDefinition.SpritePath"
class="w-10 h-10 object-contain"
onerror="this.style.display='none'" />
}
@@ -178,7 +178,7 @@
<div class="w-20 h-20 bg-gray-800 rounded-lg border-2 border-indigo-600 flex items-center justify-center relative">
@if (Model.Recipe.OutputItem != null && !string.IsNullOrEmpty(Model.Recipe.OutputItem.SpritePath))
{
<img src="@Html.Raw(Model.CdnBaseUrl)/@Model.Recipe.OutputItem.SpritePath"
<img src="@Html.Raw(Model.CdnBaseUrl)/downloads/@Model.Recipe.OutputItem.SpritePath"
class="w-14 h-14 object-contain" />
}
else
@@ -213,7 +213,7 @@
<td class="table-cell">
@if (ing.ItemDefinition != null && !string.IsNullOrEmpty(ing.ItemDefinition.SpritePath))
{
<img src="@Html.Raw(Model.CdnBaseUrl)/@ing.ItemDefinition.SpritePath"
<img src="@Html.Raw(Model.CdnBaseUrl)/downloads/@ing.ItemDefinition.SpritePath"
class="w-8 h-8 object-contain bg-gray-900 rounded" />
}
</td>