X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/do_todos?a=blobdiff_plain;f=enhance_table.py;h=28c472eeeda95650488700c8b4384c3cae7e4d44;hb=7dc465ba65890a95b34505f7c8bd0421f0efc43b;hp=ab6ec46f071ce88484503007d163569759369eb1;hpb=ecc9a92512c854244ce9997b4861666460319308;p=berlin-corona-table diff --git a/enhance_table.py b/enhance_table.py index ab6ec46..28c472e 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -144,12 +144,13 @@ th { text-align: left; vertical-align: bottom; } .vertical_header { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: normal; } .repeated_head th { padding-top: 0.5em; border-bottom: 1px solid black; } .bold { font-weight: bold } +.date { vertical-align: top; padding-top: 0.5em; }
Updated daily at 9pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". Source code. Plain text view (optimized for terminal curl).
+Updated daily at 7pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". Source code. Plain text view (optimized for terminal curl).
""") @@ -172,7 +173,7 @@ th { text-align: left; vertical-align: bottom; } print(' | |||
---|---|---|---|
%s (%s) | ' % (date, weekday))
+ print('%s %s | ' % (date, weekday))
print('
|