{{template "base/head" .}}
{{template "user/settings/navbar" .}}
{{template "base/alert" .}}

{{.locale.Tr "settings.manage_access_token"}}

{{.locale.Tr "settings.tokens_desc"}}
{{range .Tokens}}
{{svg "fontawesome-send" 36}}
{{.Name}}
{{$.locale.Tr "settings.add_on"}} {{.CreatedUnix.FormatShort}} — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} {{.UpdatedUnix.FormatShort}}{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}
{{end}}
{{.locale.Tr "settings.generate_new_token"}}

{{.locale.Tr "settings.new_token_desc"}}

{{.CsrfTokenHtml}}
{{if .EnableOAuth2}} {{template "user/settings/grants_oauth2" .}} {{template "user/settings/applications_oauth2" .}} {{end}}
{{template "base/footer" .}}