diff --git a/wwwroot/stat_today_amount.ui b/wwwroot/stat_today_amount.ui index ad3bf12..a30cac5 100644 --- a/wwwroot/stat_today_amount.ui +++ b/wwwroot/stat_today_amount.ui @@ -78,7 +78,7 @@ { "widgettype": "Text", "options": { - "text": "{{trend.percentage|round(1)}}%", + "text": "{{trend.percentage|round(1)}}%{% if trend.trend == 'up' %} ↑{% elif trend.trend == 'down' %} ↓{% endif %}", "fontSize": "12px", "fontWeight": "600", "color": "{% if trend.trend == 'up' %}#22c55e{% elif trend.trend == 'down' %}#ef4444{% else %}#94a3b8{% endif %}" diff --git a/wwwroot/stat_today_usage.ui b/wwwroot/stat_today_usage.ui index 12361f4..179a9b2 100644 --- a/wwwroot/stat_today_usage.ui +++ b/wwwroot/stat_today_usage.ui @@ -79,7 +79,7 @@ { "widgettype": "Text", "options": { - "text": "{{trend.percentage|round(1)}}%", + "text": "{{trend.percentage|round(1)}}%{% if trend.trend == 'up' %} ↑{% elif trend.trend == 'down' %} ↓{% endif %}", "fontSize": "12px", "fontWeight": "600", "color": "{% if trend.trend == 'up' %}#22c55e{% elif trend.trend == 'down' %}#ef4444{% else %}#94a3b8{% endif %}"