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

Show only tutorials or only lectures #103

Open
catmanjan opened this Issue Jul 19, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@catmanjan
Owner

catmanjan commented Jul 19, 2016

Requested via email

@tail-recursion

This comment has been minimized.

tail-recursion commented Mar 1, 2018

I requested this last year. I was playing around with jQuery and came up with this. It hides all timeslots that are not lectures. It works but it is slow.

$('td.timeslot').each(function (i,x) {
	children=x.children;
	for (i=0; i<children.length;i++) {
		child=children[i];
		if (!child.getAttribute('data-group').toLowerCase().includes('lecture')) {
			//x.style.display = 'none';
			//x.className += 'hide';
			child.getElementsByClassName('hide_temp')[0].click();
		}
	}
});
@EMorf

This comment has been minimized.

Collaborator

EMorf commented Mar 1, 2018

@tail-recursion I'll add this as soon as I can, thanks for providing the code :) Feel free to submit a pull request if you've added and tested the feature.

@EMorf EMorf self-assigned this Mar 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment