Files
unifi-adblocker/templates/profile.html
2025-12-06 07:47:30 +00:00

17 lines
595 B
HTML

{{ define "content" }}
<h1 class="text-2xl mb-4">Profile</h1>
{{ with .PageData }}
<div class="bg-gray-800 p-4 rounded mb-4">
<p class="mb-2"><strong>Username:</strong> admin</p>
<p class="mb-2">
<strong>MFA Status:</strong>
{{ if .MFAEnabled }}
<span class="text-green-400">Enabled</span>
{{ else }}
<span class="text-yellow-400">Disabled</span>
{{ end }}
</p>
<p class="text-sm text-gray-400 mt-4">To manage MFA or change password, use the command-line interface with the executable flags.</p>
</div>
{{ end }}
{{ end }}