bench-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-14 23:13:48 +05:30
<a class="{{if .PageIsLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login">
2017-03-17 19:46:08 +05:30
{{.i18n.Tr "auth.login_userpass"}}
</a>
2019-10-14 23:13:48 +05:30
<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 19:46:08 +05:30
</div>
{{end}}