summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-03-19 09:25:24 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-19 16:25:24 +0800
commit2aad4a5f97cc82e591d893f263e2df8344e61e61 (patch)
tree0b37450d623ec1d258793fd5eddd73f297f090dd /templates
parentb57b0c6e40d88d7174cd64e1a6ab59f866e7c42d (diff)
downloadgitea-2aad4a5f97cc82e591d893f263e2df8344e61e61.tar.gz
gitea-2aad4a5f97cc82e591d893f263e2df8344e61e61.zip
Use font-awesome OpenID icon more (#1320)
Diffstat (limited to 'templates')
-rw-r--r--templates/user/auth/signin_navbar.tmpl4
-rw-r--r--templates/user/auth/signin_openid.tmpl3
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/user/auth/signin_navbar.tmpl b/templates/user/auth/signin_navbar.tmpl
index 2bee1325f7..f5df928ce3 100644
--- a/templates/user/auth/signin_navbar.tmpl
+++ b/templates/user/auth/signin_navbar.tmpl
@@ -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>
diff --git a/templates/user/auth/signin_openid.tmpl b/templates/user/auth/signin_openid.tmpl
index ccc689ce33..db364d1c15 100644
--- a/templates/user/auth/signin_openid.tmpl
+++ b/templates/user/auth/signin_openid.tmpl
@@ -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>