{{ template "head.tmpl" . }} {{ template "navbar.tmpl" . }}
{{ if and .Data .Data.flash }}

{{ .Data.flash }}

{{- end }} {{ if and .Data .Data.info }}

{{ .Data.info }}

{{- end }} {{ if .Name -}}

Welcome to {{ .AppName }}, {{.Name}}!

{{if .User}} {{if .User.IsAdmin}}

🛈 To query the breach APIs, you need to create a user-level account. To use it, log into it in another browser (not just another browser window, as normally that would share the session details of this user). User and administrator-level accounts each have distinct capabilities. Similarly to how it is only possible to manage users using the administrator-level account, browsing breach data is only allowed for user-level accounts 🛈 learn more about this project.

🛈 Add a new user from here, or view a listing of all existing users.

🛈 You can also view the configured API keys here.

{{else}}

🛈 Check whether your email account is a part of a breach here.

🛈 Alternatively, learn more about this project.

{{end}} {{end}}
{{- else }}

Please log in.

{{- end -}}
{{ template "footer.tmpl" . }}