From ed76e7e1a09180686579780f547625d49fa8739c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 02:06:44 +0100 Subject: [PATCH] fixing button to redirect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/web/index.php | 142 ++++++++++++++----------------------------- 1 file changed, 47 insertions(+), 95 deletions(-) diff --git a/server/web/index.php b/server/web/index.php index 55bb253..a683320 100644 --- a/server/web/index.php +++ b/server/web/index.php @@ -9,105 +9,57 @@ +
+

PiXelTube Web Interface

+ + + + + + + + + + + -

PiXelTube Web Interface

-
Tube IDUniverseDMX AddressActions
- - - - - - - - - - connect_error) { - die("Connection failed: " . $conn->connect_error); - } - - $sql_query = "SELECT id, mac_address, universe, dmx_address FROM tubes"; - $result = $conn->query($sql_query); - - if ($result->num_rows > 0) { - // output data of each row - while($row = $result->fetch_assoc()) { - echo ' - - - - - - - '; + if ($conn->connect_error) { + die("Connection failed: " . $conn->connect_error); } - } - else { - echo "0 results"; - } - ?> - -
Tube IDUniverseDMX AddressActions
'.$row["id"].''.$row["universe"].''.$row["dmx_address"].' - -
-
- - - - - -