diff options
author | Sandro Santilli <strk@kbt.io> | 2017-08-19 17:34:49 +0200 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-08-19 17:34:49 +0200 |
commit | 2c3a229a3c4cc3e86c5a1130bbd058ba78022a6a (patch) | |
tree | 674c05386c007308c7b4033756eba7cc6536b58c /templates/install.tmpl | |
parent | e7653a67a10483aa0e2c9cc019abe9021e8df9ce (diff) | |
download | gitea-2c3a229a3c4cc3e86c5a1130bbd058ba78022a6a.tar.gz gitea-2c3a229a3c4cc3e86c5a1130bbd058ba78022a6a.zip |
Add OpenID configuration in install page (#2276)
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r-- | templates/install.tmpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index ede1d4399f..5c6d1a9473 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -189,12 +189,24 @@ </div> </div> <div class="inline field"> + <div class="ui checkbox" id="enable-openid-signin"> + <label class="poping up" data-content="{{.i18n.Tr "install.openid_signin_popup"}}"><strong>{{.i18n.Tr "install.openid_signin"}}</strong></label> + <input name="enable_open_id_sign_in" type="checkbox" {{if .enable_open_id_sign_in}}checked{{end}}> + </div> + </div> + <div class="inline field"> <div class="ui checkbox" id="disable-registration"> <label class="poping up" data-content="{{.i18n.Tr "install.disable_registration_popup"}}"><strong>{{.i18n.Tr "install.disable_registration"}}</strong></label> <input name="disable_registration" type="checkbox" {{if .disable_registration}}checked{{end}}> </div> </div> <div class="inline field"> + <div class="ui checkbox" id="enable-openid-signup"> + <label class="poping up" data-content="{{.i18n.Tr "install.openid_signup_popup"}}"><strong>{{.i18n.Tr "install.openid_signup"}}</strong></label> + <input name="enable_open_id_sign_up" type="checkbox" {{if .enable_open_id_sign_up}}checked{{end}}> + </div> + </div> + <div class="inline field"> <div class="ui checkbox" id="enable-captcha"> <label class="poping up" data-content="{{.i18n.Tr "install.enable_captcha_popup"}}"><strong>{{.i18n.Tr "install.enable_captcha"}}</strong></label> <input name="enable_captcha" type="checkbox" {{if .enable_captcha}}checked{{end}}> |