Last active
August 31, 2023 15:49
-
-
Save findepi/e20f93c04da3d5d4264d54ec4dd99772 to your computer and use it in GitHub Desktop.
Przygotuj Librusowy plan lekcji do wydruku na prawdę do wydruku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Class timetable as rendered in the Librus Synergia system https://synergia.librus.pl/ | |
*/ | |
(function($) { | |
// przerwy | |
$('.plan-lekcji tr.line0').remove() | |
// sobota, niedziela oraz nr lekcji z prawej strony | |
$('.plan-lekcji tr > * + * + td + td + td + td + td + td').remove() | |
// waste | |
$('#mobile-banner').remove() | |
$('h2:contains("Plan lekcji w danym tygodniu")').remove() | |
$('tfoot').remove() | |
// skróty | |
$('td:contains("Nr lekcji")').text('Nr') | |
$('td:contains("Nr\xA0lekcji")').text('Nr') // nbsp | |
// nauczyciele | |
// TODO | |
// make up | |
$('.plan-lekcji td').css('padding', '2px 2px 0') | |
$('.plan-lekcji tr td:first-child').css('text-align', 'center') | |
})(jQuery) | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment