diff options
author | silverwind <me@silverwind.io> | 2021-05-22 23:29:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-22 23:29:46 +0200 |
commit | 308b562b3c0440e800dc63b0ef2eb6777a1e0026 (patch) | |
tree | c4c55e9dbfd74afda7d754b2138c59752ecae396 /templates/user | |
parent | 5c7e2f47b7748403a6cf649ca0feb85732dad948 (diff) | |
download | gitea-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')
-rw-r--r-- | templates/user/auth/signin_navbar.tmpl | 4 | ||||
-rw-r--r-- | templates/user/auth/signin_openid.tmpl | 4 | ||||
-rw-r--r-- | templates/user/profile.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/security_openid.tmpl | 4 |
4 files changed, 7 insertions, 7 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"}} 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"}} 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> diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index d638fe3859..e5962db65c 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -42,7 +42,7 @@ {{range .OpenIDs}} {{if .Show}} <li> - <i class="fa fa-openid"></i> + {{svg "fontawesome-openid"}} <a target="_blank" rel="noopener noreferrer" href="{{.URI}}">{{.URI}}</a> </li> {{end}} diff --git a/templates/user/settings/security_openid.tmpl b/templates/user/settings/security_openid.tmpl index 9a807d850e..118f16203d 100644 --- a/templates/user/settings/security_openid.tmpl +++ b/templates/user/settings/security_openid.tmpl @@ -19,12 +19,12 @@ <input name="id" type="hidden" value="{{.ID}}"> {{if .Show}} <button class="ui tiny button"> - <i class="icon fa-eye"></i> + {{svg "octicon-eye" 16 "icon"}} {{$.i18n.Tr "settings.hide_openid"}} </button> {{else}} <button class="ui tiny button"> - <i class="icon fa-eye-slash"></i> + {{svg "octicon-eye-closed" 16 "icon"}} {{$.i18n.Tr "settings.show_openid"}} </button> {{end}} |