From dd136858f1ea40ad3c94191d647487fa4f31926c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.0. Signed-off-by: Daniel Baumann --- templates/user/settings/security/webauthn.tmpl | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 templates/user/settings/security/webauthn.tmpl (limited to 'templates/user/settings/security/webauthn.tmpl') diff --git a/templates/user/settings/security/webauthn.tmpl b/templates/user/settings/security/webauthn.tmpl new file mode 100644 index 0000000..346f61c --- /dev/null +++ b/templates/user/settings/security/webauthn.tmpl @@ -0,0 +1,43 @@ +

{{ctx.Locale.Tr "settings.webauthn"}}

+
+

{{ctx.Locale.Tr "settings.webauthn_desc" "https://w3c.github.io/webauthn/#webauthn-authenticator"}}

+

{{ctx.Locale.Tr "settings.webauthn_key_loss_warning"}} {{ctx.Locale.Tr "settings.webauthn_alternative_tip"}}

+ {{template "user/auth/webauthn_error" .}} +
+ {{range .WebAuthnCredentials}} +
+
+ {{svg "octicon-key" 32}} +
+
+
{{.Name}}
+
+

{{ctx.Locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix)}}

+
+
+
+ +
+
+ {{end}} +
+
+
+ + +
+ +
+ +
-- cgit v1.2.3