diff --git a/frontend/src/RouteOptimizerPage.jsx b/frontend/src/RouteOptimizerPage.jsx index 65df374..16943e6 100644 --- a/frontend/src/RouteOptimizerPage.jsx +++ b/frontend/src/RouteOptimizerPage.jsx @@ -22,6 +22,19 @@ function fmtProb(v) { return typeof v === 'number' ? `${v}%` : '—'; } +const OPT_TABLE_STYLE = { tableLayout: 'fixed', width: '100%' }; +const OPT_COLS = ['24%', '20%', '22%', '18%', '16%']; + +function OptimizerColgroup() { + return ( +
| Jumphost | @@ -150,9 +164,9 @@ export default function RouteOptimizerPage() {|||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {c.jumphost?.label || c.jumphost?.dns || c.jumphost?.ip || 'jumphost'} | -{c.interfaceName || '—'} | -+ | {c.jumphost?.label || c.jumphost?.dns || c.jumphost?.ip || 'jumphost'} | +{c.interfaceName || '—'} | +ping: {c.pingMs ?? '—'} ms, speed: {c.speedMbps ?? '—'} Mbps |
@@ -187,7 +201,8 @@ export default function RouteOptimizerPage() {
Полные маршруты Home → Jumphost → Exit
-
|