Skip to content
Snippets Groups Projects
Commit 52c84774 authored by Tobias Koelling's avatar Tobias Koelling
Browse files

calendar: add css class 'inactive' to mark inactive entries

parent ccac29b5
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ def extract_lecture_dates(markdown_file, output_file):
for table_entry in soup.findAll("tr")[1:]:
date, title, lecturers = [e.contents[0] for e in table_entry.findAll("td")]
if lecturers == "-":
if lecturers == "-" or table_entry.find(class_="inactive"):
# Table entries without lecturer are considered to be breaks/holidays.
continue
......
/* css styles */
tr:has(.inactive) {
opacity: .5;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment