DEVELOPMENT ENVIRONMENT

~liljamo/tixe

ref: 2038e2d07f720be296d0c7ba3d1ecc1dadb51a05 tixe/template/templates/settings.tmpl -rw-r--r-- 859 bytes
2038e2d0Jonni Liljamo feat: first ci attempt 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{ define "content" }}
<p class="bg-size-200 bg-pos-0 hover:bg-pos-100
	bg-gradient-to-br from-slate-800 via-zinc-600 to-amber-500
	bg-clip-text text-lg font-bold text-transparent
	transition-all duration-500"
>
	Settings
</p>

<form class="flex flex-col" action="/api/settings/user/display_name" method="POST">
	<p class="text-sm" for="display_name">Display Name</p>
	<div class="flex gap-2">
		<input class="tixe-input w-full" type="text" placeholder="{{ .user.DisplayName }}" name="display_name" id="display_name"/>
		<button class="w-fit p-1 border-2 rounded-md drop-shadow-md bg-slate-50 hover:bg-slate-200 transition-colors" type="submit">
			Update
		</button>
	</div>
</form>

<div class="p-8">
	<div class="flex gap-1">
		<p class="text-xs">tixë version:</p>
		<p class="text-xs font-bold text-amber-500">{{ .version }}</p>
	</div>
</div>
{{ end }}