Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00

Use font-awesome OpenID icon more (#1320)

This commit is contained in:
Sandro Santilli 2017-03-19 09:25:24 +01:00 committed by Lunny Xiao
parent b57b0c6e40
commit 2aad4a5f97
2 changed files with 4 additions and 3 deletions

View file

@ -4,8 +4,8 @@
</a>
{{if .EnableOpenIDSignIn}}
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/login/openid">
<img align="left" width="16" height="16" src="{{AppSubUrl}}/img/openid-16x16.png"/>
OpenID
<i class="fa fa-openid"></i>
&nbsp;OpenID
</a>
{{end}}
</div>

View file

@ -4,6 +4,7 @@
<div class="ui container">
{{template "base/alert" .}}
<h4 class="ui top attached header">
<i class="fa fa-openid"></i>
OpenID
</h4>
<div class="ui attached segment">
@ -14,7 +15,7 @@
</div>
<div class="required inline field {{if .Err_OpenID}}error{{end}}">
<label for="openid">
<img alt="OpenID URI" height="16" src="{{AppSubUrl}}/img/openid-16x16.png"/>
<i class="fa fa-openid"></i>
OpenID URI
</label>
<input id="openid" name="openid" value="{{.openid}}" autofocus required>