Username and no javascript
Currently when javascript is not enabled gitit shows the user as not logged in in the userbox.
E.g. 0) Configure gitit to use http authentication
- Setup e.g. nginx as proxy
- Visit gitit and login via http
- "Login Logout" displayed in userbox
- Spend lots of time debugging why the authentication information is not passed to gitit
- Notice that it is just hidden when Javascript is not enabled in the browser
Could a CSS trick be used to get the username when there is no Javascript or at least display something less confusing in the userbox?
Sure, a noscript tag might help here. I'd accept a PR.
+++ Taru Karttunen [Oct 06 16 01:45 ]:
Currently when javascript is not enabled gitit shows the user as not logged in in the userbox.
E.g. 0) Configure gitit to use http authentication
- Setup e.g. nginx as proxy
- Visit gitit and login via http
- "Login Logout" displayed in userbox
- Spend lots of time debugging why the authentication information is not passed to gitit
- Notice that it is just hidden when Javascript is not enabled in the browser
Could a CSS trick be used to get the username when there is no Javascript or at least display something less confusing in the userbox?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.
References
- https://github.com/jgm/gitit/issues/575
- https://github.com/notifications/unsubscribe-auth/AAAL5BbtkNEK8XZZ8CXxD6vlSqonnR9_ks5qxLUwgaJpZM4KPsJs