added user photo upload page

This commit is contained in:
2025-10-11 21:38:01 -06:00
parent 9d2c57815e
commit 185d1456a6
6 changed files with 114 additions and 5 deletions
+2 -1
View File
@@ -186,7 +186,8 @@
<label class="w-64 text-right pr-4 text-black text-sm pt-2">{{ .Caption }}
{{ if .Subcaption != "" }} {{ .Subcaption }}{{ end }} (click to change):</label>
<input type="hidden" name="{{ .Name }}_data" value="{{ .Value }}"/>
<a href="{{ .Param }}" class="border-2 border-gray-300 rounded hover:border-blue-500 transition-colors">
<a href="/profile_photo?tgt={{ target | url }}"
class="border-2 border-gray-300 rounded hover:border-blue-500 transition-colors">
<img src="/img/builtin/no-user.png"
alt="Click to upload photo" class="w-25 h-25">
</a>