1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/templates
Giteabot 9cef7a4600
Use inline SVG for built-in OAuth providers (#25171) (#25234)
Backport #25171 by @silverwind

The plan is that all built-in auth providers use inline SVG for more
flexibility in styling and to get the GitHub icon to follow
`currentcolor`. This only removes the `public/img/auth` directory and
adds the missing svgs to our svg build.

It should map the built-in providers to these SVGs and render them. If
the user has set a Icon URL, it should render that as an `img` tag
instead.

```
gitea-azure-ad
gitea-bitbucket
gitea-discord
gitea-dropbox
gitea-facebook
gitea-gitea
gitea-gitlab
gitea-google
gitea-mastodon
gitea-microsoftonline
gitea-nextcloud
gitea-twitter
gitea-yandex
octicon-mark-github
```

GitHub logo is now white again on dark theme:

<img width="431" alt="Screenshot 2023-06-12 at 21 45 34"
src="https://github.com/go-gitea/gitea/assets/115237/27a43504-d60a-4132-a502-336b25883e4d">

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-13 12:04:40 +00:00
..
admin Add details summary for vertical menus in settings to allow toggling (#25098) 2023-06-07 10:49:48 +08:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
explore Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
package Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
projects Merge new project templates into one (#24985) 2023-05-31 08:50:18 +02:00
repo Fix strange UI behavior of cancelling dismiss review modal (#25172) 2023-06-11 02:54:30 +00:00
shared Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
status Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
swagger fix swagger documentation for multiple files API endpoint (#25110) 2023-06-07 23:49:58 +08:00
user Use inline SVG for built-in OAuth providers (#25171) (#25234) 2023-06-13 12:04:40 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Unification of registration fields order (#24737) 2023-05-15 20:29:39 +02:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) (#25129) 2023-06-08 11:22:32 +00:00