forked from mirror/gitea
295fc99607
* Markdown and Repo header tweaks - Use CSS vars for all markdown colors - Tweak repo header, removing double borders and adjust sizes - Use menu instead of buttons for issue open/close switcher - Add emoji inversion for select emoji glyphs in arc-green - Use border over box-shadow for all buttons - Add spacing element to login form without openid * repo settings navbar fix * use shared template in more places and adjust dashboard * fix remaining open/close combos
24 lines
737 B
Go HTML Template
24 lines
737 B
Go HTML Template
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
|
{{.i18n.Tr "auth.login_userpass"}}
|
|
</a>
|
|
{{if .EnableOpenIDSignIn}}
|
|
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
|
|
<i class="fa fa-openid"></i>
|
|
OpenID
|
|
</a>
|
|
{{end}}
|
|
{{if .EnableSSPI}}
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
|
<i class="fa fa-windows"></i>
|
|
SSPI
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
<div class="mt-4"></div>
|
|
{{end}}
|