gitea/templates/user/auth/signin_navbar.tmpl

12 lines
421 B
Cheetah
Raw Normal View History

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