more account settings page improvements, among others

This commit is contained in:
ari melody 2025-01-21 01:01:33 +00:00
parent 39b332b477
commit 686eea09a5
Signed by: ari
GPG key ID: CF99829C92678188
12 changed files with 407 additions and 484 deletions

View file

@ -35,15 +35,20 @@
{{if .TOTPs}}
{{range .TOTPs}}
<div class="mfa-device">
<h3 class="mfa-device-name">{{.Name}}</h3>
<p class="mfa-device-date">{{.CreatedAt}}</p>
<div>
<p class="mfa-device-name">{{.Name}}</p>
<p class="mfa-device-date">Added: {{.CreatedAt}}</p>
</div>
<div>
<a class="delete">Delete</a>
</div>
</div>
{{end}}
{{else}}
<p>You have no MFA devices.</p>
{{end}}
<a class="create-btn" id="add-mfa-device">Add MFA Device</a>
<button type="submit" class="new" id="add-mfa-device">Add MFA Device</button>
</div>
<div class="card-title">