-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add tab if alternate login present #16832
Conversation
Could you rebase your PR ;) |
Tbh, was late yesterday and i screwed it up while signing my commits... @rullzer do you like the idea? You can test it here: https://nextcloud.knallimall.org/ |
I'm fine but I'd like the JS experts and designers to have a look ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Off topic: @ochorocho Awesome that you contribute to GitLab and now Nextcloud 😍 Great work! |
Good initiative @ochorocho! Agree with @kesselb here that instead of making the design more complex, the other logins should be made more present by being moved up like on other platforms. :) Then not even an extra admin setting to set the active tab is necessary because there are no tabs. Easier for everyone. :) |
Ok :-) Still like the tab view thing. Works with NC 16 and NC 17 (current master) |
@ochorocho @kesselb would someone of you be up to change it as @kesselb described? Would certainly be good to fix this in core and not just as a theme. :) |
Adding a logo and another color seems to be more complicated. I think this information should be provided by https://github.com/zorn-v/nextcloud-social-login and passed as additional data (e.g. a logo) to server/lib/private/legacy/app.php Lines 648 to 650 in 810ee7d
As a start we should set a custom class to server/core/templates/login.php Lines 11 to 13 in 64c4bb5
|
Signed-off-by: ochorocho <rothjochen@gmail.com>
@jancborchardt just moved the buttons above the form and optimized alignment of the buttons |
https://github.com/zorn-v/nextcloud-social-login/blob/master/css/style.css Hmm. There is already a style sheet with logos for github. |
Great stuff @ochorocho!
Then I think it would be super. |
@jancborchardt @kesselb this is what i'm going to do. Todo Nextcloud
Todo in Social login
|
Yup, sounds great @ochorocho! :) Thanks a lot. And maybe with the visual changes to the buttons it’s also fine to put them below the "Log in" button again. So like:
|
Signed-off-by: Jochen <rothjochen@gmail.com>
Signed-off-by: Jochen <rothjochen@gmail.com>
I guess no one will have that many, right? ^^' |
@zorn-v Yep, another idea would be to remove "Log in with" on small viewports. |
I think it is good compromise |
I think someting like |
Simply the |
Signed-off-by: Jochen <rothjochen@gmail.com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super impressive work @ochorocho! Looks perfect now 🚀
Please review too @nextcloud/designers :)
Oh just saw the:
I would say this makes it confusing. I’d rather say cut the icon on mobile, or ellipsize. But the label needs to be explanatory. Otherwise it’s like "Google? What, is that a link to the service?" (also small typo: It’s "Salesforce" not "Saleforce", not sure in which component that is. :) |
#16832 (comment) Signed-off-by: Jochen <rothjochen@gmail.com>
@jancborchardt only icons hidden on small devices now... |
Thank you @ochorocho for this great contribution 🎉 and also thanks to @zorn-v for your feedback over here 👍 |
Signed-off-by: Jochen <rothjochen@gmail.com>
I thinks this is ready now :-) |
#16832 (comment) Signed-off-by: Jochen <rothjochen@gmail.com>
#16832 (comment) Signed-off-by: Jochen <rothjochen@gmail.com>
#16832 (comment) Signed-off-by: Jochen <rothjochen@gmail.com>
.wrapper { | ||
width: 300px; | ||
max-width: 100%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could lead to issues in other layouts, but we'll have a look later I guess, since we're at the start of 18!
A few unrelated failures :) |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Recently installed Nextcloud for roughly 40 users. Users are supposed to login using Gitlab login provided by sociallogin app.
Not even half of the users noticed the "Alternate Login" button. Therefore i created a tab menu for login. I also introduced a setting in admin area to force alternate login as "active" tab.
When no alternate login is available: