Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify OAuth login ui and fix display name, iconurl related logic #25030

Merged
merged 35 commits into from
Jun 8, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a0a0d92
modify oauth bottons
HesterG May 31, 2023
3037a8d
Merge branch 'go-gitea:main' into modify-oauth-ui
HesterG May 31, 2023
6e0dbc6
update svgs
HesterG May 31, 2023
165e7c3
update
HesterG May 31, 2023
05968bf
update
HesterG May 31, 2023
7375a16
update interface
HesterG May 31, 2023
fd0f20f
update
HesterG May 31, 2023
5eb5c50
Merge branch 'go-gitea:main' into modify-oauth-ui
HesterG Jun 1, 2023
732a859
updates
HesterG Jun 1, 2023
9026644
comment
HesterG Jun 1, 2023
e8f8855
fix fill
HesterG Jun 1, 2023
29abad1
delete images
HesterG Jun 1, 2023
11dfc1b
fix lint
HesterG Jun 1, 2023
8588001
adjust styles
HesterG Jun 1, 2023
753350e
remove semantic Button Social
HesterG Jun 1, 2023
f232f38
rebuild fomantic
silverwind Jun 1, 2023
de22099
fix divider text on dark theme
silverwind Jun 1, 2023
7e03609
Merge branch 'main' into modify-oauth-ui
HesterG Jun 2, 2023
ed03bf5
remove svg and modify
HesterG Jun 2, 2023
8f03984
change route
HesterG Jun 2, 2023
1c2c053
Merge branch 'main' into modify-oauth-ui
silverwind Jun 2, 2023
dc460e3
add 'Sign in with' text to button, style tweaks
silverwind Jun 2, 2023
dc35b83
fix
wxiaoguang Jun 3, 2023
12cc28b
Merge branch 'go-gitea:main' into modify-oauth-ui
HesterG Jun 5, 2023
7865715
add back image logic and remove svgname
HesterG Jun 5, 2023
0db6f0d
delete
HesterG Jun 5, 2023
ba230dc
use svg as default image icons
HesterG Jun 5, 2023
494b24e
add comments
HesterG Jun 5, 2023
9d17b20
fix
wxiaoguang Jun 5, 2023
6281bc6
modify comment
HesterG Jun 6, 2023
775456f
Merge branch 'main' into modify-oauth-ui
HesterG Jun 6, 2023
5749bb0
Merge branch 'main' into modify-oauth-ui
HesterG Jun 6, 2023
6f5e56b
Merge branch 'main' into modify-oauth-ui
HesterG Jun 7, 2023
91e4e21
Merge branch 'main' into modify-oauth-ui
HesterG Jun 8, 2023
25eea69
Merge branch 'main' into modify-oauth-ui
GiteaBot Jun 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updates
HesterG committed Jun 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 732a8598d2b59e50469c88f80e80f97ef4946370
2 changes: 1 addition & 1 deletion public/img/svg/gitea-facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/img/svg/gitea-twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/user/settings/security/accountlinks.tmpl
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
{{range $key := .OrderedOAuth2Names}}
{{$provider := index $.OAuth2Providers $key}}
<a class="item" href="{{AppSubUrl}}/user/oauth2/{{$key}}">
<img width="20" height="20" src="{{AppSubUrl}}{{$provider.Image}}" alt="{{$provider.DisplayName}}">
{{svg $provider.SvgName 20 "gt-mr-3"}}
{{$provider.DisplayName}}
</a>
{{end}}
7 changes: 6 additions & 1 deletion web_src/css/form.css
Original file line number Diff line number Diff line change
@@ -172,7 +172,6 @@ textarea:focus,
text-align: center;
}


@media (min-width: 768px) {
#create-page-form form {
width: 800px !important;
@@ -549,3 +548,9 @@ textarea:focus,
width: 100% !important;
}
}

/* semantic has background colors for .ui.facebook.button and .ui.facebook.twitter,
so fill of paths needs to be light to be seen */
.ui.facebook.button > svg path, .ui.facebook.twitter > svg path {
fill: var(--color-white);
}
6 changes: 3 additions & 3 deletions web_src/svg/gitea-facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion web_src/svg/gitea-twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.