From fff781bb2f6105ea1204da6c4895db3a28cd31fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20H=C3=A4ggqvist?= Date: Wed, 28 Jun 2023 10:24:57 +0200 Subject: [PATCH] net/wireguard: widget, fix/improve colum public key overlapping latest handshake (#3349) fixes public key overlapping latest handshake, moving the ellipsis to css to allow full display and fix current overlap --- net/wireguard/src/www/widgets/widgets/wireguard.widget.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/wireguard/src/www/widgets/widgets/wireguard.widget.php b/net/wireguard/src/www/widgets/widgets/wireguard.widget.php index 282133216..6c704030a 100644 --- a/net/wireguard/src/www/widgets/widgets/wireguard.widget.php +++ b/net/wireguard/src/www/widgets/widgets/wireguard.widget.php @@ -60,14 +60,12 @@ $enabled = ($config["OPNsense"]["wireguard"]["general"]["enabled"] === "1" ? tru $(window).on("load", function() { function wgGenerateRow(name, interface, peerName, publicKey, latestHandshake, status) { - publicKeyShort = publicKey.slice(0, 19) + '...'; - var tr = '' +'' +' ' + name + '' +' ' + interface + '' +' ' + peerName + '' - +' ' + publicKeyShort + '' + +' ' + publicKey + '' +' ' + latestHandshake + '' +'';