Files
links/tailwind.config.js
OpenClaw Sub-agent 5252222674 feat(invest): P0 dashboard polish — intcomma amounts, ticker-aggregated risk table, unified mobile grid, tx source badges, drop dead invest/base.html
- Add django.contrib.humanize; apply intcomma to every currency amount across invest templates (dashboard, portfolio detail, transactions)
- get_risk_summary now aggregates top_positions by ticker (MRVL across MOMO+IBKR merges into one row with Accounts column), keeping Top 1/3/5 cards and table on the same basis
- Mobile: metric cards all 2-col (2x2 + 2+1 with Last Snapshot spanning full width), no more 1-col break
- Transactions show source badges: purple 🤖 AI (source ai/ocr), grey 手动, amber ⚠ 低置信 when confidence < 0.9
- Delete unused invest/base.html (dead nav; page extends GoLinks base.html)
- tailwind.config.js: add invest/jbot/routermon template dirs so their classes are scanned (text-[10px] etc. were silently missing)
2026-08-02 07:45:21 +10:00

21 lines
467 B
JavaScript

module.exports = {
content: [
'./templates/**/*.html',
'./links/templates/**/*.html',
'./new_theme/templates/**/*.html',
'./netscan/templates/**/*.html',
'./nginxmon/templates/**/*.html',
'./routermon/templates/**/*.html',
'./invest/templates/**/*.html',
'./jbot/templates/**/*.html',
'./static_src/**/*.{js,jsx}',
'./**/*.js',
],
theme: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
],
}