Use font-awesome OpenID icon more (#1320)

tokarchuk/v1.17
Sandro Santilli 8 years ago committed by Lunny Xiao
parent b57b0c6e40
commit 2aad4a5f97
  1. 4
      templates/user/auth/signin_navbar.tmpl
  2. 3
      templates/user/auth/signin_openid.tmpl

@ -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>

@ -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>

Loading…
Cancel
Save