Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lecture materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marius Rixen
lecture materials
Commits
52c84774
Commit
52c84774
authored
1 year ago
by
Tobias Koelling
Browse files
Options
Downloads
Patches
Plain Diff
calendar: add css class 'inactive' to mark inactive entries
parent
ccac29b5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/md2ical.py
+1
-1
1 addition, 1 deletion
scripts/md2ical.py
styles.css
+4
-0
4 additions, 0 deletions
styles.css
with
5 additions
and
1 deletion
scripts/md2ical.py
+
1
−
1
View file @
52c84774
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
styles.css
+
4
−
0
View file @
52c84774
/* css styles */
tr
:has
(
.inactive
)
{
opacity
:
.5
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment