From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec 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.3. Signed-off-by: Daniel Baumann --- templates/admin/auth/new.tmpl | 122 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 templates/admin/auth/new.tmpl (limited to 'templates/admin/auth/new.tmpl') diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl new file mode 100644 index 0000000..c70bd3b --- /dev/null +++ b/templates/admin/auth/new.tmpl @@ -0,0 +1,122 @@ +{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin new authentication")}} +
+

+ {{ctx.Locale.Tr "admin.auths.new"}} +

+
+
+ {{template "base/disable_form_autofill"}} + {{.CsrfTokenHtml}} + +
+ + +
+
+ + +
+ + + {{template "admin/auth/source/ldap" .}} + + + {{template "admin/auth/source/smtp" .}} + + +
+ + + + +
+
+
+ + +

{{ctx.Locale.Tr "admin.auths.skip_local_two_fa_helper"}}

+
+
+ + + {{template "admin/auth/source/oauth" .}} + + + {{template "admin/auth/source/sspi" .}} + +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ +
+ +
+
+
+ +

+ {{ctx.Locale.Tr "admin.auths.tips"}} +

+
+
{{ctx.Locale.Tr "admin.auths.tips.gmail_settings"}}
+

Host: smtp.gmail.com, Port: 587, Enable TLS Encryption: true

+ +
{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:
+

{{ctx.Locale.Tr "admin.auths.tips.oauth2.general.tip"}}

+ +
{{ctx.Locale.Tr "admin.auths.tip.oauth2_provider"}}
+
+
  • Bitbucket
  • + {{ctx.Locale.Tr "admin.auths.tip.bitbucket" "https://bitbucket.org/account/user/{your-username}/oauth-consumers/new"}} +
  • Dropbox
  • + {{ctx.Locale.Tr "admin.auths.tip.dropbox" "https://www.dropbox.com/developers/apps"}} +
  • Facebook
  • + {{ctx.Locale.Tr "admin.auths.tip.facebook" "https://developers.facebook.com/apps"}} +
  • GitHub
  • + {{ctx.Locale.Tr "admin.auths.tip.github" "https://github.com/settings/applications/new"}} +
  • GitLab
  • + {{ctx.Locale.Tr "admin.auths.tip.gitlab_new" "https://gitlab.com/-/profile/applications"}} +
  • Google
  • + {{ctx.Locale.Tr "admin.auths.tip.google_plus" "https://console.developers.google.com/"}} +
  • OpenID Connect
  • + {{ctx.Locale.Tr "admin.auths.tip.openid_connect"}} +
  • Twitter
  • + {{ctx.Locale.Tr "admin.auths.tip.twitter" "https://dev.twitter.com/apps"}} +
  • Discord
  • + {{ctx.Locale.Tr "admin.auths.tip.discord" "https://discordapp.com/developers/applications/me"}} +
  • Gitea
  • + {{ctx.Locale.Tr "admin.auths.tip.gitea" "https://forgejo.org/docs/latest/user/oauth2-provider"}} +
  • Nextcloud
  • + {{ctx.Locale.Tr "admin.auths.tip.nextcloud"}} +
  • Yandex
  • + {{ctx.Locale.Tr "admin.auths.tip.yandex" "https://oauth.yandex.com/client/new"}} +
  • Mastodon
  • + {{ctx.Locale.Tr "admin.auths.tip.mastodon"}} +
    +
    +
    +{{template "admin/layout_footer" .}} -- cgit v1.2.3