tmpl(user-details): h3 -> span [skip ci]

This commit is contained in:
surtur 2023-09-10 13:00:25 +02:00
parent b97e47ed1b
commit 67165c82cc
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -28,55 +28,55 @@
<div class="p-2 mt-3 lg:mx-auto border-2 dark:border-slate-500 rounded-sm space-y-0"> <div class="p-2 mt-3 lg:mx-auto border-2 dark:border-slate-500 rounded-sm space-y-0">
<div class="flex max-h-14 place-items-baseline justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex max-h-14 place-items-baseline justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">ID:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">ID:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2 overflow-x-auto text-ellipsis select-all"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2 overflow-x-auto text-ellipsis select-all">
{{- .Data.user.ID -}} {{- .Data.user.ID -}}
</h3> </span>
</div><!-- id --> </div><!-- id -->
<div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Username:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Username:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2">
{{- .Data.user.Username -}} {{- .Data.user.Username -}}
</h3> </span>
</div><!-- username --> </div><!-- username -->
<div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Email:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Email:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2">
{{- .Data.user.Email -}} {{- .Data.user.Email -}}
</h3> </span>
</div><!-- email --> </div><!-- email -->
<div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Admin:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Admin:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2">
{{- .Data.user.IsAdmin -}} {{- .Data.user.IsAdmin -}}
</h3> </span>
</div><!-- isAdmin --> </div><!-- isAdmin -->
<div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Active:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Active:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2">
{{- .Data.user.IsActive -}} {{- .Data.user.IsActive -}}
</h3> </span>
</div><!-- isActive --> </div><!-- isActive -->
<div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Last login:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Last login:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2">
{{ if usrFinishedSetup .Data.user.LastLogin }} {{ if usrFinishedSetup .Data.user.LastLogin }}
{{- .Data.user.LastLogin -}} {{- .Data.user.LastLogin -}}
{{- else -}} {{- else -}}
never never
{{- end -}} {{- end -}}
</h3> </span>
</div><!-- updated --> </div><!-- updated -->
<div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Created:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Created:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2">
{{- .Data.user.CreatedAt -}} {{- .Data.user.CreatedAt -}}
</h3> </span>
</div><!-- created --> </div><!-- created -->
<div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700"> <div class="flex place-items-center justify-left lg:justify-between overflow-x-auto text-ellipsis hover:bg-gray-100 dark:hover:bg-gray-700">
<span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Updated:</span> <span class="w-24 md:w-32 px-2 text-purple-500 dark:text-purple-300">Updated:</span>
<h3 class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2"> <span class="text-lg text-fuchsia-500 dark:text-fuchsia-400 px-2">
{{- .Data.user.UpdatedAt -}} {{- .Data.user.UpdatedAt -}}
</h3> </span>
</div><!-- updated --> </div><!-- updated -->
</div> </div>
{{- end -}} {{- end -}}