mirror of
https://github.com/wahyd4/links.git
synced 2026-08-09 05:06:16 +10:00
- 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)
21 lines
467 B
JavaScript
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'),
|
|
],
|
|
}
|