diff --git a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Status.php b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Status.php index 1845acc..efc1a22 100644 --- a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Status.php +++ b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Status.php @@ -9,37 +9,52 @@ echo($tr->tr("tailscale_disabled")); return; } - -$tailscaleInfo = $tailscaleInfo ?? new Info($tr); ?> -
= $tr->tr('info.dns'); ?> | -= $tr->tr('info.ip'); ?> | -= $tr->tr('status_page.login_name'); ?> | -= $tr->tr('status'); ?> | -= $tr->tr('status_page.exit_node'); ?> | -= $tr->tr('status_page.connection_type'); ?> | -= $tr->tr('status_page.connection_addr'); ?> | -= $tr->tr('status_page.tx_bytes'); ?> | -= $tr->tr('status_page.rx_bytes'); ?> | -|
= $peer->SharedUser ? $tr->tr('status_page.shared') : $peer->Name; ?> | -= $peer->IP; ?> | -= $peer->LoginName; ?> | -= $peer->Online ? ($peer->Active ? $tr->tr('status_page.active') : $tr->tr('status_page.idle')) : $tr->tr('status_page.offline'); ?> | -= $peer->ExitNodeActive ? $tr->tr('status_page.exit_active') : ($peer->ExitNodeAvailable ? $tr->tr('status_page.exit_available') : ""); ?> | -= $peer->Active ? ($peer->Relayed ? $tr->tr('status_page.relay') : $tr->tr('status_page.direct')) : ""; ?> | -= $peer->Active ? $peer->Address : ""; ?> | -= $peer->Traffic ? $peer->TxBytes : ""; ?> | -= $peer->Traffic ? $peer->RxBytes : ""; ?> | -
+ | + |