diff --git a/web/src/app.css b/web/src/app.css index 312a964..4f32455 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -157,3 +157,12 @@ button:hover { .dim { color: #8b949e; } + +a { + color: #58a6ff; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} diff --git a/web/src/lib/TunnelsTable.svelte b/web/src/lib/TunnelsTable.svelte index c630222..cc11899 100644 --- a/web/src/lib/TunnelsTable.svelte +++ b/web/src/lib/TunnelsTable.svelte @@ -1,6 +1,6 @@ @@ -8,16 +8,34 @@
| Hostname | State | Routes | Visitors | Cert expiry | Created | +Hostname | State | URLs | Visitors | Cert expiry | Created |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {tunnel.hostname} | ++ + {tunnel.hostname} + + | {tunnel.state} | -{fmtRoutes(tunnel.routes)} | +
+ {#if tunnel.routes && tunnel.routes.length > 0}
+
|
{tunnel.visitors} | {fmtDate(tunnel.certificate_expiry)} | {fmtDate(tunnel.created_at)} | @@ -28,3 +46,14 @@ {/if}