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
+1 -1
View File
@@ -281,7 +281,7 @@
@section Scripts {
<script>
const cdnBase = '@Html.Raw(Model.CdnBaseUrl)';
const cdnBase = '@Html.Raw(Model.CdnBaseUrl)/downloads';
function updatePreview() {
const path = document.getElementById('spritePath').value;
+1 -1
View File
@@ -75,7 +75,7 @@
<td class="table-cell">
@if (!string.IsNullOrEmpty(item.SpritePath))
{
<img src="@Html.Raw(Model.CdnBaseUrl)/@item.SpritePath"
<img src="@Html.Raw(Model.CdnBaseUrl)/downloads/@item.SpritePath"
alt="@item.Name"
class="w-10 h-10 object-contain bg-gray-900 rounded border border-gray-700"
onerror="this.style.display='none'" />