forgejo/templates/user/auth/signin_navbar.tmpl

12 lines
435 B
Cheetah
Raw Normal View History

{{if .EnableOpenIDSignIn}}
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
2019-10-15 02:43:48 +09:00
<a class="{{if .PageIsLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login">
2017-03-17 23:16:08 +09:00
{{.i18n.Tr "auth.login_userpass"}}
</a>
2019-10-15 02:43:48 +09:00
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
<i class="fa fa-openid"></i>
&nbsp;OpenID
</a>
2017-03-17 23:16:08 +09:00
</div>
{{end}}