This commit is contained in:
NY 2025-03-12 17:52:32 +08:00
parent f86d5b80d8
commit 74a0efc324

View File

@ -66,20 +66,14 @@ def update_info(n, target_value):
style=table_style_l) style=table_style_l)
]), ]),
html.Tr([ html.Tr([
html.Td(f"Target: {target if target else '[TBD]'}", html.Th("Target", colSpan=2, style=table_style_border),
colSpan=4, html.Th("Need's Avg Tweets Per Day", colSpan=4, style=table_style_border),
style=table_style_c), html.Th("Avg Tweets", colSpan=2, style=table_style_border),
html.Td(f"Need's Avg Tweets Per Day: {avg_tweets_per_day}",
colSpan=4,
style=table_style_l)
]), ]),
html.Tr([ html.Tr([
html.Td(f"Avg Tweets: {avg_tweets}", html.Td(f"{target if target else '[TBD]'}", colSpan=2, style=table_style_border),
colSpan=4, html.Td(f"{avg_tweets_per_day}", colSpan=4, style=table_style_border),
style=table_style_c), html.Td(f"{avg_tweets}", colSpan=2, style=table_style_border),
html.Td("",
colSpan=4,
style=table_style_l)
]) ])
] ]
pace_table = html.Table(pace_table_rows, style={ pace_table = html.Table(pace_table_rows, style={