From 099b190c61b4f39898cc5c131363a220d3869df6 Mon Sep 17 00:00:00 2001 From: Derek Kaser <11674153+dkaser@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:32:06 -0500 Subject: [PATCH] fix: html validation (#26) --- .../plugins/tailscale/include/Pages/Log.php | 2 +- .../plugins/tailscale/include/Pages/Main.php | 1 + .../tailscale/include/Pages/Settings.php | 29 +++++-------------- .../tailscale/include/Pages/Status.php | 9 ------ .../tailscale/include/Tailscale/Info.php | 8 ++--- .../plugins/tailscale/include/data/Lock.php | 2 +- .../plugins/tailscale/include/data/Status.php | 2 +- .../include/tailscale-lock/signing.php | 2 +- .../local/emhttp/plugins/tailscale/style.css | 15 ++++++++++ 9 files changed, 31 insertions(+), 39 deletions(-) create mode 100644 src/usr/local/emhttp/plugins/tailscale/style.css diff --git a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Log.php b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Log.php index 9f3cb0b..2c0b565 100644 --- a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Log.php +++ b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Log.php @@ -74,5 +74,5 @@ function showLog(log) { Log size: = $select;?> - " onclick="window.open('/plugins/plugin-diagnostics/download.php?plugin=tailscale','_blank')" /> + " onclick="window.open('/plugins/plugin-diagnostics/download.php?plugin=tailscale','_blank')">
\ No newline at end of file diff --git a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Main.php b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Main.php index 0041ea3..cd25f7d 100644 --- a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Main.php +++ b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Main.php @@ -13,6 +13,7 @@ showStatus('tailscaled'); }); + Enable) { echo($tr->tr("tailscale_disabled")); diff --git a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Settings.php b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Settings.php index b706ccd..8583b8f 100644 --- a/src/usr/local/emhttp/plugins/tailscale/include/Pages/Settings.php +++ b/src/usr/local/emhttp/plugins/tailscale/include/Pages/Settings.php @@ -10,29 +10,14 @@ return; } ?> -