guildgate/templates/index.html
Steve 104982103d
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
add change password page
2023-04-10 17:51:49 -04:00

14 lines
381 B
HTML

{{ define "index" }}
{{ template "header" .}}
{{if .LoggedIn }}
<p><a href="/token">Get Token</a></p>
<p><a href="/change">Change Password</a></p>
<p><a href="/profile/view">Profile</a></p>
<p><a href="/minecraft">Minecraft Account Status</a></p>
{{else}}
<p><a href="/register">Register</a></p>
<p><a href="/reset">Reset Password</a></p>
{{end}}
{{template "footer" .}}
{{ end }}