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)
]),
html.Tr([
html.Td(f"Target: {target if target else '[TBD]'}",
colSpan=4,
style=table_style_c),
html.Td(f"Need's Avg Tweets Per Day: {avg_tweets_per_day}",
colSpan=4,
style=table_style_l)
html.Th("Target", colSpan=2, style=table_style_border),
html.Th("Need's Avg Tweets Per Day", colSpan=4, style=table_style_border),
html.Th("Avg Tweets", colSpan=2, style=table_style_border),
]),
html.Tr([
html.Td(f"Avg Tweets: {avg_tweets}",
colSpan=4,
style=table_style_c),
html.Td("",
colSpan=4,
style=table_style_l)
html.Td(f"{target if target else '[TBD]'}", colSpan=2, style=table_style_border),
html.Td(f"{avg_tweets_per_day}", colSpan=4, style=table_style_border),
html.Td(f"{avg_tweets}", colSpan=2, style=table_style_border),
])
]
pace_table = html.Table(pace_table_rows, style={