added upload and changing of community logo, and fixed logo references in other files

This commit is contained in:
2025-10-18 20:41:06 -06:00
parent 94c3877819
commit 1797a6ec7e
8 changed files with 227 additions and 12 deletions
+2 -2
View File
@@ -243,11 +243,11 @@
{{ if .Subcaption != "" }} {{ .Subcaption }}{{ end }} (click to change):</label>
<input type="hidden" name="{{ .Name }}_data" value="{{ .Value }}"/>
{{ if .Disabled }}
<img src="/img/builtin/default-community.jpg" class="w-28 h-16 rounded">
<img src="{{ .Value }}" class="w-28 h-16 rounded">
{{ else }}
<a href="{{ .Param }}"
class="border-2 border-gray-300 rounded hover:border-blue-500 transition-colors">
<img src="/img/builtin/default-community.jpg" alt="Click to upload logo" class="w-28 h-16 rounded">
<img src="{{ .Value }}" alt="Click to upload logo" class="w-28 h-16 rounded">
</a>
{{ end }}
</div>