There are times where it would be nice to style the local login inputs. For my purposes, that's usually to hide them in favour of button/link provided by OpacUserJS, but I'm sure people could use it for other things too.
Created attachment 136705 [details] [review] Bug 31064: Wrap local login with stylable element Test plan: 0. Apply patch 1. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS 2. Set syspref to the following: .local-login { display: none; } 3. Go to http://localhost:8080/cgi-bin/koha/opac-main.pl 3b. Note that the local login boxes are hidden ("Log in to your account:" remains so that other login options can be supplied by OpacUserJS) 4. Click on "Log in to your account" on the top toolbar 4b. Note that the local login boxes are hidden ("Log in to your account:" remains so that other login options can be supplied by OpacUserJS) 5. Go to http://localhost:8080/cgi-bin/koha/opac-user.pl 5b. Note that the local login boxes are hidden ("Log in to your account" remains so that other login options can be supplied by OpacUserJS)
+1 I have the same problem for CSS tunning
Created attachment 136709 [details] [review] Bug 31064: Wrap local login with stylable element Test plan: 0. Apply patch 1. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS 2. Set syspref to the following: .local-login { display: none; } 3. Go to http://localhost:8080/cgi-bin/koha/opac-main.pl 3b. Note that the local login boxes are hidden ("Log in to your account:" remains so that other login options can be supplied by OpacUserJS) 4. Click on "Log in to your account" on the top toolbar 4b. Note that the local login boxes are hidden ("Log in to your account:" remains so that other login options can be supplied by OpacUserJS) 5. Go to http://localhost:8080/cgi-bin/koha/opac-user.pl 5b. Note that the local login boxes are hidden ("Log in to your account" remains so that other login options can be supplied by OpacUserJS) Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 136764 [details] [review] Bug 31064: Wrap local login with stylable element Test plan: 0. Apply patch 1. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS 2. Set syspref to the following: .local-login { display: none; } 3. Go to http://localhost:8080/cgi-bin/koha/opac-main.pl 3b. Note that the local login boxes are hidden ("Log in to your account:" remains so that other login options can be supplied by OpacUserJS) 4. Click on "Log in to your account" on the top toolbar 4b. Note that the local login boxes are hidden ("Log in to your account:" remains so that other login options can be supplied by OpacUserJS) 5. Go to http://localhost:8080/cgi-bin/koha/opac-user.pl 5b. Note that the local login boxes are hidden ("Log in to your account" remains so that other login options can be supplied by OpacUserJS) Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Trivial but very useful, PQA BTW : a class on <h3>Local login</h3> would also be very useful.
(In reply to Fridolin Somers from comment #5) > Trivial but very useful, PQA > > BTW : a class on <h3>Local login</h3> would also be very useful. I was thinking that too. Once this one is in, I could do another patch.
Pushed to master for 22.11. Nice work everyone, thanks!
Backported to 22.05.x for 22.05.04
pushed to 21.11.x for 21.11.x
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed. It looks like there is nothing to document, correct me if I'm wrong, marking resolved.