3x-ui/frontend/src/pages
MHSanaei aaaa1a015f
feat(frontend): migrate subpage.html to Vue 3 SPA
The subscription info page was the last page still rendered by Go
templates. Move it to the Vite multi-page setup so the whole panel
loads through one toolchain.

Frontend: SubPage.vue mounts at /sub/<id>?html=1 and reads window.__SUB_PAGE_DATA__
for the parsed view-model (traffic / quota / expiry + rendered share
links). Fix descriptions borders against the light-theme card by
painting the row divider on each cell's bottom edge — AD-Vue's <tr>
border doesn't render reliably under border-collapse:collapse.

Backend: serveSubPage reads dist/subpage.html, injects
window.__X_UI_BASE_PATH__ + window.__SUB_PAGE_DATA__ before </head>,
and rewrites Vite's absolute /assets/ URLs when the panel runs under
a URL prefix. Drop the legacy template-FuncMap wiring and switch the
sub server's static mount from web/assets to web/dist/assets.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 19:44:50 +02:00
..
inbounds fix(frontend): darken light-theme page bg so cards stand out 2026-05-08 18:41:59 +02:00
index fix(frontend): shrink dashboard percent text and surface the unfinished arc 2026-05-08 18:42:10 +02:00
login feat(frontend): unify theming on vanilla AD-Vue light/dark/ultra-dark 2026-05-08 17:39:36 +02:00
settings fix(frontend): darken light-theme page bg so cards stand out 2026-05-08 18:41:59 +02:00
sub feat(frontend): migrate subpage.html to Vue 3 SPA 2026-05-08 19:44:50 +02:00
xray fix(frontend): darken light-theme page bg so cards stand out 2026-05-08 18:41:59 +02:00