Files
wizarr/app/templates/components/passkey_error.html
2025-10-07 11:04:58 +02:00

23 lines
1000 B
HTML

<div class="fixed inset-0 bg-gray-600 bg-opacity-50 flex items-center justify-center"
style="z-index: 9999">
<div class="bg-white dark:bg-gray-800 rounded-lg p-6 m-4 max-w-md w-full">
<div class="flex items-center gap-3 mb-4">
<svg class="w-6 h-6 text-red-600"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z">
</path>
</svg>
<h3 class="text-lg font-medium text-gray-900 dark:text-white">{{ _("Error") }}</h3>
</div>
<p class="text-gray-600 dark:text-gray-400 mb-6">{{ error }}</p>
<div class="flex justify-end">
<button hx-get="/webauthn/close-modal"
hx-target="#passkey-modal-container"
hx-swap="innerHTML"
class="px-4 py-2 bg-gray-600 hover:bg-gray-700 text-white rounded-md">{{ _("Close") }}</button>
</div>
</div>
</div>