continued
implemented HTMX implemented ORM (sequelize)
This commit is contained in:
parent
2a9bd4e81b
commit
d756a192e4
71 changed files with 3822 additions and 694 deletions
34
views/htmx/totpForm.njk
Normal file
34
views/htmx/totpForm.njk
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<div class="container relative mx-auto py-12 flex flex-col justify-center items-center gap-8">
|
||||
{% for error in errors %}
|
||||
<!-- TOTP Error -->
|
||||
<div class="alert-danger w-full max-w-md" role="alert">
|
||||
<i class="ti ti-alert-hexagon-filled text-lg"></i>
|
||||
<div class="ms-3 text-sm font-medium">
|
||||
{{ error.title }}: {{ error.detail }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<!-- TOTP Dialoge -->
|
||||
<div class="card w-full max-w-md">
|
||||
<div class="p-6 space-y-4 md:space-y-6 sm:p-8">
|
||||
<div class="px-4 flex flex-col items-center gap-4">
|
||||
<span class="w-full block bg-center bg-no-repeat bg-contain" style="height: var(--login-logo-height); background-image: var(--login-logo-source);">
|
||||
<!-- Logo Source from theme.css -->
|
||||
</span>
|
||||
<h1 class="text-3xl">
|
||||
Identity Manager
|
||||
</h1>
|
||||
</div>
|
||||
<form class="space-y-4 md:space-y-6" hx-post="/htmx/totpForm" hx-target="#app">
|
||||
<div>
|
||||
<label for="otpToken" class="block mb-2 text-sm font-medium">
|
||||
OTP Token
|
||||
</label>
|
||||
<input type="text" name="otpToken" class="w-full" placeholder="123456" required="">
|
||||
</div>
|
||||
<button type="submit" class="w-full button primary-fill">Continue</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- / -->
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue