Skip to content

Commit

Permalink
Modify OAuth login ui and fix display name, iconurl related logic (go…
Browse files Browse the repository at this point in the history
…-gitea#25030)

Close go-gitea#24808 

Co-Authour @wxiaoguang @silverwind 

1. Most svgs are found from https://worldvectorlogo.com/ , and some are
from conversion of png to svg. (facebook and nextcloud). And also
changed `templates/user/settings/security/accountlinks.tmpl`.

2. Fixed display name and iconurl related logic

# After

<img width="1436" alt="Screen Shot 2023-06-05 at 14 09 05"
src="https://github.com/go-gitea/gitea/assets/17645053/a5db39d8-1ab0-4676-82a4-fba60a1d1f84">

On mobile

<img width="378" alt="Screen Shot 2023-06-05 at 14 09 46"
src="https://github.com/go-gitea/gitea/assets/17645053/71d0f51b-baac-4f48-8ca2-ae0e013bd62e">


user/settings/security/accountlinks (The dropdown might be improved
later)

<img width="973" alt="Screen Shot 2023-06-01 at 10 01 44"
src="https://github.com/go-gitea/gitea/assets/17645053/27010e7e-2785-4fc5-8c49-b06621898f37">

---------

Co-authored-by: silverwind <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
  • Loading branch information
3 people authored and GiteaBot committed Jun 9, 2023
1 parent 7679f4d commit d0a73c1
Show file tree
Hide file tree
Showing 44 changed files with 80 additions and 270 deletions.
3 changes: 2 additions & 1 deletion options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ explore = Explore
help = Help
logo = Logo
sign_in = Sign In
sign_in_with = Sign In With
sign_in_with_provider = Sign in with %s
sign_in_or = or
sign_out = Sign Out
sign_up = Register
link_account = Link Account
Expand Down
Binary file removed public/img/auth/azuread.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/azuread.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/azureadv2.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/azureadv2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/bitbucket.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/bitbucket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/discord.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/dropbox.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/dropbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/facebook.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/gitea.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/gitea.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/github.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/gitlab.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/gitlab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/google.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/google.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/mastodon.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/mastodon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/microsoftonline.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/microsoftonline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/auth/nextcloud.png
Binary file not shown.
1 change: 1 addition & 0 deletions public/img/auth/nextcloud.svg
Loading

0 comments on commit d0a73c1

Please sign in to comment.