update to grid-table generator

This commit is contained in:
Hartmut Seichter 2023-11-09 19:33:00 +01:00
parent 09408da7ca
commit 37d8c8e30f
2 changed files with 19 additions and 14 deletions

View file

@ -51,15 +51,15 @@ class MarkdownGenerator:
h = textwrap.wrap(k, h_len, break_long_words=False) h = textwrap.wrap(k, h_len, break_long_words=False)
wrapper = textwrap.TextWrapper(d_len) wrapper = textwrap.TextWrapper(d_len)
# t = [wrapper.wrap(line) for line in v.split('\n')] # if line != '' # split test to wrap lines into correct length
# t = list(itertools.chain.from_iterable(t))
t = [wrapper.wrap(line) for line in v.split('\n')] t = [wrapper.wrap(line) for line in v.split('\n')]
# replace empty arrays from split with a empty string
t = list(map(lambda e: [""] if e == [] else e, t)) t = list(map(lambda e: [""] if e == [] else e, t))
# zip items of list
t = list(itertools.chain.from_iterable(t)) t = list(itertools.chain.from_iterable(t))
# get rows # get rows
rows = list(itertools.zip_longest(h,t,fillvalue="")) rows = list(itertools.zip_longest(h,t,fillvalue=""))

View file

@ -42,13 +42,18 @@ goal:
content: content:
de: | de: |
Inhalte:
* Wahrnehmung * Wahrnehmung
* Visuelle Gestaltung von Graphischen Nutzerschnittstellen * Visuelle Gestaltung von Graphischen Nutzerschnittstellen
* Applikationsdesign mit Fokus auf GUI Konzepte * Applikationsdesign mit Fokus auf GUI Konzepte
* Nutzerstudien * Nutzerstudien
* Evaluierungsmethoden mit interaktiven Systemen * Evaluierungsmethoden mit interaktiven Systemen
* Statistikmethoden für UX-Design * Statistikmethoden für UX-Design
en: | en: |
Content:
* visual perception * visual perception
* design of graphical user interfaces * design of graphical user interfaces
* application design with focus on GUI concepts * application design with focus on GUI concepts
@ -58,15 +63,15 @@ content:
media-of-instruction: media-of-instruction:
de: | de: |
H5P Lernmodule, Lernforum und Übungen am PC H5P Lernmodule, Lernforum und Übungen am PC
Auszug aus der Literaturliste: Auszug aus der Literaturliste:
* Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008. * Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008.
* Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014. * Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014.
* Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003 * Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003
* Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014. * Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014.
* Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993. * Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993.
en: | en: |
H5P learing modules, lerning forum and exersises H5P learing modules, lerning forum and exersises