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> </a>
{{if .EnableOpenIDSignIn}} {{if .EnableOpenIDSignIn}}
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/login/openid"> <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"/> <i class="fa fa-openid"></i>
OpenID &nbsp;OpenID
</a> </a>
{{end}} {{end}}
</div> </div>

View File

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