File tree Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change 57
57
{{end}}
58
58
59
59
{{if and .OrderedOAuth2Names .OAuth2Providers}}
60
- <div class="ui attached segment">
61
- <div class="oauth2 center">
62
- <div id="oauth2-login-loader" class="ui disabled centered loader"></div>
63
- <div>
64
- <div id="oauth2-login-navigator">
65
- <p>{{.i18n.Tr "sign_in_with"}}</p>
66
- {{range $key := .OrderedOAuth2Names}}
67
- {{$provider := index $.OAuth2Providers $key}}
68
- <a href="{{AppSubUrl}}/user/oauth2/{{$key}}">
69
- <img
70
- alt="{{$provider.DisplayName}}{{if eq $provider.Name "openidConnect"}} ({{$key}}){{end}}"
71
- title="{{$provider.DisplayName}}{{if eq $provider.Name "openidConnect"}} ({{$key}}){{end}}"
72
- class="{{$provider.Name}} oauth-login-image"
73
- src="{{AppSubUrl}}{{$provider.Image}}"
74
- ></a>
75
- {{end}}
76
- </div>
60
+ <div class="divider divider-text">
61
+ {{.locale.Tr "sign_in_or"}}
62
+ </div>
63
+ <div id="oauth2-login-navigator" class="gt-py-2">
64
+ <div class="gt-df gt-fc gt-jc">
65
+ <div id="oauth2-login-navigator-inner" class="gt-df gt-fc gt-fw gt-ac gt-gap-3">
66
+ {{range $key := .OrderedOAuth2Names}}
67
+ {{$provider := index $.OAuth2Providers $key}}
68
+ <a class="{{$provider.Name}} ui button gt-df gt-ac gt-jc gt-py-3 oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$key}}">
69
+ {{$provider.IconHTML}}
70
+ {{$.locale.Tr "sign_in_with_provider" $provider.DisplayName}}
71
+ </a>
72
+ {{end}}
77
73
</div>
78
74
</div>
79
75
</div>
You can’t perform that action at this time.
0 commit comments