Skip to content

Commit

Permalink
add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
geritwagner committed Jan 30, 2025
1 parent 2c6e3db commit 22d8662
Show file tree
Hide file tree
Showing 19 changed files with 268 additions and 30 deletions.
Binary file added assets/images/learning_marker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/template/background_must_learn.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions assets/template/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,36 @@ section.overview_part_5 {
background-size: 100% 100%;
}

section.must_learn {
background-image: url("../assets/template/background_must_learn.jpg");
background-size: 100% 100%;
}

footer {
position: fixed;
bottom: 18px;
left: 600px;
font-size: 20px;
color: #333;
text-align: left;
padding-left: 20px;
}


footer a {
color: #0366d6;
text-decoration: none;
}

footer a:hover {
text-decoration: underline;
}

@media print {
footer {
display: none; /* Hides the footer when printing or exporting to PDF */
}
}

/* pages */
section::after {
Expand Down
86 changes: 86 additions & 0 deletions scripts/extract_marked_slides.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
import re
import os

header = """---
marp: true
header: 'Learn Markers'
theme: ub-theme
paginate: true
---
"""

toc = [] # Table of contents storage
structured_slides = {} # Dictionary to store slides under their headers


def extract_header(file_content):
"""Extract the 'header' field from YAML front matter."""
match = re.search(r"^header:\s*['\"]?(.*?)['\"]?$", file_content, re.MULTILINE)
return match.group(1) if match else "Miscellaneous" # Default category


def extract_must_learn_slides(file_path):
"""Extract slides with <!-- _class: must_learn -->"""
with open(file_path, "r", encoding="utf-8") as file:
content = file.read()

section_header = extract_header(content)
slides = re.split(r"(?=\n---)", content)
must_learn_slides = [slide for slide in slides if "<!-- _class: must_learn -->" in slide]

return section_header, must_learn_slides


def save_extracted_slides(slides_dict, output_file):
"""Save extracted slides, grouped by header, with a table of contents."""
if os.path.exists(output_file):
os.remove(output_file)

with open(output_file, "w", encoding="utf-8") as file:
file.write(header)

# Generate Table of Contents
file.write("\n## Table of Contents\n\n")
for section, slides in slides_dict.items():
if slides:
anchor = section.lower().replace(" ", "-")
file.write(f"- [{section}](#{anchor})\n")

for section, slides in slides_dict.items():
if slides:
anchor = section.lower().replace(" ", "-")

file.write(f"\n---\n\n## {section} <a id='{anchor}'></a>")
file.write("\n\n---\n\n".join(slide.lstrip("\n---") for slide in slides))

print(f"Extracted slides structured under headers and saved to {output_file}")


if __name__ == "__main__":

extracted_slides = []
structured_slides = {}
# iterate over md files in slides dir
for file in os.listdir("slides"):
if file in ["00-orga.md", "00_learn_markers.md"]:
continue

print(file)
if file.endswith(".md"):
input_file = f"slides/{file}"
section_header, slides = extract_must_learn_slides(input_file)

if section_header not in structured_slides:
structured_slides[section_header] = []

structured_slides[section_header].extend(slides)

structured_slides = dict(sorted(
structured_slides.items(),
key=lambda x: int(re.search(r'\d+', x[0]).group()) if re.search(r'\d+', x[0]) else float('inf')
))

output_file = f"slides/00_learn_markers.md"
save_extracted_slides(structured_slides, output_file)

47 changes: 30 additions & 17 deletions slides/00-orga.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
marp: true
header: 'Introduction to Digital Work'
theme: ub-theme
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/00-orga.md' target='_blank'>⚙️</a>"
---

<!-- _class: centered -->
Expand Down Expand Up @@ -128,19 +129,34 @@ not everyone will use the same system
Learning: self-directed (additional resources), slides need to be complemented with notes (examples, ...)
-->


---

# Administration
# Materials

Contact: gerit.wagner@uni-bamberg.de
Slides
- Presentation slides will be made available for download.
- You are expected to take complementary notes and read the recommended literature.

Sessions: Monday, 12.15-15.45, April 15 - July 15
Location: WE5/05.003
Literature
- Literature and complementary materials will be listed at the end of each lecture.
- Materials will be made available via VC whenever possible.
- Reading of complementary materials depends on your interest and ambition.

Consultation hours: [by appointment](https://calendly.com/gerit-wagner/30min) (individually or in small groups)
Web: https://www.uni-bamberg.de/digital-work
---

Materials: available via VC: https://vc.uni-bamberg.de/course/view.php?id=68000 (password: 20idw24)
<!-- _class: must_learn -->

# Learning markers

The lecture slides are tagged with **learning markers** that help with navigating the course material and preparing for the exam(s).

| Symbol | Description | Explanation |
|--------|------------|-------------|
| ![Learning Marker width:30px](../assets/images/learning_marker.png) | **Must-Know** | Essential knowledge required at all times, especially during exams, with a focus on detailed understanding. |
| *(No marker)* | **Illustration / Empirics / Outlook** | To deepen understanding and develop the ability to think, comprehend, and explain in a case-based manner. |

For your convenience, a summary of all slides with learning markers is generated automatically and available [here](../output/00_learn_markers.html).

---

Expand All @@ -166,20 +182,17 @@ Ggf. Übungsaufgaben mit Quiz
-->
---

# Materials
# Administration

Slides
- Presentation slides will be made available for download.
- You are expected to take complementary notes and read the recommended literature.
Contact: gerit.wagner@uni-bamberg.de

Literature
- Literature and complementary materials will be listed at the end of each lecture.
- Materials will be made available via VC whenever possible.
- Reading of complementary materials depends on your interest and ambition.
Sessions: Monday, 12.15-15.45, April 15 - July 15
Location: WE5/05.003

---
Consultation hours: [by appointment](https://calendly.com/gerit-wagner/30min) (individually or in small groups)
Web: https://www.uni-bamberg.de/digital-work

![bg width:900px](../material/nightline.png)
Materials: available via VC: https://vc.uni-bamberg.de/course/view.php?id=68000 (password: 20idw24)

---

Expand Down
96 changes: 96 additions & 0 deletions slides/00_learn_markers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
marp: true
header: 'Learn Markers'
theme: ub-theme
paginate: true
---


## Table of Contents

- [IDW-01: Drivers of change in digital work](#idw-01:-drivers-of-change-in-digital-work)
- [IDW-02: Digital work individually](#idw-02:-digital-work-individually)

---

## IDW-01: Drivers of change in digital work <a id='idw-01:-drivers-of-change-in-digital-work'></a>

<!-- _class: must_learn -->

# The historical development of work

<!-- The economy and it's revolutions -->

The first industrial revolution (1760-1830)
- Key technological developments: steam power, iron making, manufacturing machinery
- Work transitions from hand production methods to industrial production work supported by machines

The second industrial revolution (1870-1914)
- Key technological developments: scientific discoveries (patents), standardization, mass production
- Work is shaped by Taylorist principles, later referred to as "scientific management".

<!--
Ein ehemaliger Schulfreund von mir hat in Geschichte promoviert und wäre mit so einer verkürzten Darstellung sehr überrascht.
Also: ich lasse hier viel weg - was uns interessiert sind die großen Linien.
Wichtig: Viele große Organisationen und Managementprinzipien gehen auf bis in die Zeit zurück.
-> overview of key influences
Rationalisierung/Effizienz
- Focus: mass markets and standardization, large organizations, low bargaining power of employees, low skill requirements (for most workers)
logic: push-to-market
massive gains in productivity (chart?), frees up human labor
Not covered: Peter Drucker etc.
-->

---

<!-- _class: must_learn -->

# Taylorist principles

Named after Frederick Taylor (1865-1915)

1. Separate the work of workers (efficient task completion) and managers (analysis, planning, training).
2. Use of the scientific method to study work and determine the most efficient way to perform specific tasks (instead of working based on common sense or rules of thumb).
3. Match workers to their jobs based on capability and train them to work at maximum efficiency (instead of hiring generalists with broad skill sets).
4. Monitor worker performance, and provide instructions to ensure that workers work in the most efficient way possible.

The principles have been criticized widely, but their influence on the organization of work is still visible.

<!--
influence: how organizations structure work, hierarchies , how we think about work
departemnt structures: division of labor
HR/hiring: selection of the best workers based on objective figures (such as years of experience) - maybe also influenced by unions
outcome-based compensation, 360 feedback -> objective selection/training
Context: low skill requirements/workers can be replaced quickly
-->

---

## IDW-02: Digital work individually <a id='idw-02:-digital-work-individually'></a>

<!-- _class: must_learn -->

# Digital work competences

Frameworks that *describe and classify* digital competences (selection):

- Digital competence framework for EU citizens
- Multiple case study and grounded theory by Weritz (2022)
- Review of prior research: Gagné-Pratte et al. (2022)

<!--
Methode: wie würden Sie vorgehen, um einen Überblick skills und Kompetenzen für digitale Arbeit zu erstellen?
-> evtl. auf Bergmann/Newport beziehen: teilw. sehr einseitige Vorschläge, Vorteil der Literaturübersicht: ausgewogenes Bild
maybe illustrate how the inductive data analysis worked? (connect to the "checking quality of data" - excel errors / robust environments like git, ...)
-->
3 changes: 2 additions & 1 deletion slides/01-drivers-of-change.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-01: Drivers of Change'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/01-drivers-of-change.md' target='_blank'>⚙️</a>"
---

<!-- _class: lead -->
Expand Down
3 changes: 2 additions & 1 deletion slides/02-basics-of-individual-work.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-02: Digital Work Individually'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/02-basics-of-individual-work.md' target='_blank'>⚙️</a>"
---

<!-- _class: lead -->
Expand Down
3 changes: 2 additions & 1 deletion slides/03-personal-information-management.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-03: Personal Information Management'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/03-personal-information-management.md' target='_blank'>⚙️</a>"
---

<!-- _class: lead -->
Expand Down
3 changes: 2 additions & 1 deletion slides/04-excellence.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-03: Excellence'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/04-excellence.md' target='_blank'>⚙️</a>"
---

<!-- _class: lead -->
Expand Down
3 changes: 2 additions & 1 deletion slides/05-remote-teams.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-05: Remote Teams'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/05-remote-teams.md' target='_blank'>⚙️</a>"
---

<!-- _class: lead -->
Expand Down
3 changes: 2 additions & 1 deletion slides/06-communication.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-06: Communication in Teams'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/06-communication.md' target='_blank'>⚙️</a>"
---

<!-- _class: lead -->
Expand Down
3 changes: 2 additions & 1 deletion slides/07-collaborative-content-creation.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-07: Collaborative Content Creation'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/07-collaborative-content-creation.md' target='_blank'>⚙️</a>"
---

<!-- _class: lead -->
Expand Down
3 changes: 2 additions & 1 deletion slides/08-open-source.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-08: Open Source'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/08-open-source.md' target='_blank'>⚙️</a>"
---
<!-- _class: lead -->

Expand Down
3 changes: 2 additions & 1 deletion slides/09-platformization.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
marp: true
header: 'Introduction to Digital Work'
header: 'IDW-09: Platformization'
theme: ub-theme
paginate: true
footer: "<a href='https://github.com/digital-work-lab/digital-work-lecture/edit/main/slides/09-platformization.md' target='_blank'>⚙️</a>"
style: |
section{
justify-content: flex-start;
Expand Down
Loading

0 comments on commit 22d8662

Please sign in to comment.