From 22f93c601831ce141c3834d49dbc8acfb28953df Mon Sep 17 00:00:00 2001 From: toto <> Date: Thu, 2 Mar 2023 08:57:25 +0100 Subject: [PATCH] Use link instead of button --- index.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index 402260c..d6a944e 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,7 @@ $domaines = array( 'name' => 'Orion', 'url' => 'https://orion.netdldata.net/', 'real' => 'orion.lan', - 'port' => 80, + 'port' => 443, 'img' => 'favicon_omv.png' ), array( @@ -150,13 +150,16 @@ for (var key in servers) { var div = $('
', { class: 'button ' + orientation(orientation_etat) }); + var link = $('', { + href: server.url, + }); + div.append(link); var button = $('', { class: 'server', type: 'button', - onclick: 'site("' + server.url + '")', html: '