This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
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 17:43:48 +00:00
<a class="{{if .PageIsLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login">
2017-03-17 14:16:08 +00:00
{{.i18n.Tr "auth.login_userpass"}}
</a>
2019-10-14 17:43:48 +00: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 14:16:08 +00:00
</div>
{{end}}