Admin v10
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<div class="flex items-center gap-2">
|
||||
@if (!string.IsNullOrEmpty(recipe.OutputItem.SpritePath))
|
||||
{
|
||||
<img src="@Html.Raw(Model.CdnBaseUrl)/@recipe.OutputItem.SpritePath"
|
||||
<img src="@Html.Raw(Model.CdnBaseUrl)/downloads/@recipe.OutputItem.SpritePath"
|
||||
class="w-8 h-8 object-contain bg-gray-900 rounded"
|
||||
onerror="this.style.display='none'" />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user