Uh oh!
There was an error while loading. Please reload this page.
Add tab if alternate login present - #16832
Conversation
rullzer
commented
Aug 22, 2019
Could you rebase your PR ;) |
ochorocho
commented
Aug 22, 2019
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/ |
rullzer
commented
Aug 22, 2019
I'm fine but I'd like the JS experts and designers to have a look ;) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
splitt3r
commented
Aug 24, 2019
Off topic: @ochorocho Awesome that you contribute to GitLab and now Nextcloud 😍 Great work! |
jancborchardt
commented
Aug 24, 2019
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. :) |
ochorocho
commented
Aug 25, 2019
Ok :-) Still like the tab view thing. Works with NC 16 and NC 17 (current master) |
jancborchardt
commented
Aug 26, 2019
@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. :) |
kesselb
commented
Aug 26, 2019
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>
ochorocho
commented
Aug 26, 2019
@jancborchardt just moved the buttons above the form and optimized alignment of the buttons |
kesselb
commented
Aug 26, 2019
https://github.com/zorn-v/nextcloud-social-login/blob/master/css/style.css Hmm. There is already a style sheet with logos for github. |
ochorocho
commented
Aug 26, 2019
jancborchardt
commented
Aug 26, 2019
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
|
jancborchardt
commented
Aug 31, 2019
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>
ochorocho
commented
Sep 3, 2019
skjnldsv
commented
Sep 4, 2019
I guess no one will have that many, right? ^^' |
ochorocho
commented
Sep 6, 2019
@zorn-v Yep, another idea would be to remove "Log in with" on small viewports. |
zorn-v
commented
Sep 6, 2019
I think it is good compromise |
I think someting like |
jancborchardt
commented
Sep 6, 2019
Simply the |
Signed-off-by: Jochen <rothjochen@gmail.com>
ochorocho
commented
Sep 6, 2019
|
jancborchardt
left a comment
There was a problem hiding this comment.
Super impressive work @ochorocho! Looks perfect now 🚀
Please review too @nextcloud/designers :)
jancborchardt
commented
Sep 7, 2019
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... |
kesselb
commented
Sep 8, 2019
Thank you @ochorocho for this great contribution 🎉 and also thanks to @zorn-v for your feedback over here 👍 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Jochen <rothjochen@gmail.com>
ochorocho
commented
Sep 9, 2019
I thinks this is ready now :-) |
Uh oh!
There was an error while loading. Please reload this page.
#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.
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!
skjnldsv
commented
Sep 11, 2019
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: