Monorepo for Tangled
0

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages: add spinner when switching accounts

Signed-off-by: oppiliappan <me@oppi.li>

authored by

oppiliappan and committed by
Tangled
(Jul 9, 2026, 1:08 PM +0300) b706ed50 9f8028d5

+5 -2
+5 -2
appview/pages/templates/user/login.html
··· 18 18 </div> 19 19 <div class="divide-y divide-gray-200 dark:divide-gray-700"> 20 20 {{ range .Accounts }} 21 - <div class="flex items-center justify-between px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"> 21 + <div class="flex items-center justify-between px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700 group"> 22 22 <button 23 23 type="button" 24 24 hx-post="/account/switch" ··· 39 39 type="button" 40 40 hx-delete="/account/{{ .Did }}" 41 41 hx-swap="none" 42 - class="p-1 text-gray-400 hover:text-red-500 dark:hover:text-red-400 flex-shrink-0" 42 + class="p-1 text-gray-400 hover:text-red-500 dark:hover:text-red-400 flex-shrink-0 group-has-[.htmx-request]:hidden" 43 43 title="Remove account" 44 44 > 45 45 {{ i "x" "w-4 h-4" }} 46 46 </button> 47 + <span class="hidden group-has-[.htmx-request]:inline p-1 text-gray-400"> 48 + {{ i "loader-circle" "size-4 animate-spin" }} 49 + </span> 47 50 </div> 48 51 {{ end }} 49 52 </div>