aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/auth
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-05-22 23:29:46 +0200
committerGitHub <noreply@github.com>2021-05-22 23:29:46 +0200
commit308b562b3c0440e800dc63b0ef2eb6777a1e0026 (patch)
treec4c55e9dbfd74afda7d754b2138c59752ecae396 /templates/user/auth
parent5c7e2f47b7748403a6cf649ca0feb85732dad948 (diff)
downloadgitea-308b562b3c0440e800dc63b0ef2eb6777a1e0026.tar.gz
gitea-308b562b3c0440e800dc63b0ef2eb6777a1e0026.zip
Remove remaining fontawesome usage in templates (#15952)
Can not remove the dependency yet because easymde depends on it.
Diffstat (limited to 'templates/user/auth')
-rw-r--r--templates/user/auth/signin_navbar.tmpl4
-rw-r--r--templates/user/auth/signin_openid.tmpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/user/auth/signin_navbar.tmpl b/templates/user/auth/signin_navbar.tmpl
index 85ebcd90f8..464dec8193 100644
--- a/templates/user/auth/signin_navbar.tmpl
+++ b/templates/user/auth/signin_navbar.tmpl
@@ -6,13 +6,13 @@
</a>
{{if .EnableOpenIDSignIn}}
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
- <i class="fa fa-openid"></i>
+ {{svg "fontawesome-openid"}}
&nbsp;OpenID
</a>
{{end}}
{{if .EnableSSPI}}
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
- <i class="fa fa-windows"></i>
+ {{svg "fontawesome-windows"}}
&nbsp;SSPI
</a>
{{end}}
diff --git a/templates/user/auth/signin_openid.tmpl b/templates/user/auth/signin_openid.tmpl
index d7fb641e0d..b7d9b9f636 100644
--- a/templates/user/auth/signin_openid.tmpl
+++ b/templates/user/auth/signin_openid.tmpl
@@ -4,7 +4,7 @@
<div class="ui container">
{{template "base/alert" .}}
<h4 class="ui top attached header center">
- <i class="fa fa-openid"></i>
+ {{svg "fontawesome-openid"}}
OpenID
</h4>
<div class="ui attached segment">
@@ -15,7 +15,7 @@
</div>
<div class="required inline field {{if .Err_OpenID}}error{{end}}">
<label for="openid">
- <i class="fa fa-openid"></i>
+ {{svg "fontawesome-openid"}}
OpenID URI
</label>
<input id="openid" name="openid" value="{{.openid}}" autofocus required>