X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/day?a=blobdiff_plain;f=enhance_table.py;h=28c472eeeda95650488700c8b4384c3cae7e4d44;hb=402755409e719a9e2cba7a9dcb1482b5834a3aa1;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('
|