From 3e0bcf1cbed9b67a796c74cfd1d4960505709a6e Mon Sep 17 00:00:00 2001 From: Christian Dresel Date: Sun, 19 Aug 2018 09:40:16 +0200 Subject: [PATCH] Wegetabelle nach oben verschoben Wenn man sie anklickt, will man sie auch sehen und nicht bis ganz nach unten scrollen Signed-off-by: Christian Dresel --- index.php | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/index.php b/index.php index 2ea60a7..c59477d 100644 --- a/index.php +++ b/index.php @@ -117,6 +117,28 @@ echo ""; foreach($output['data'] as $temp) { echo ""; } echo "
$temp
"; + + if($_GET['ip'] != '') { + echo '

Wege zu '.$_GET["ip"].'

'; + echo ' + + + + + + + + '; + foreach($output['routes'] as $route) { + if ($route['target'] == $_GET['ip']) { + echo ""; + foreach($route as $temp) { echo ""; } + echo ""; + } + } + echo "
targetinstalledviadevicemetricDestination ID
$temp
"; + } + echo "

Interfaces

"; echo ' @@ -223,27 +245,6 @@ echo "
"; } - if($_GET['ip'] != '') { - echo '

Wege zu '.$_GET["ip"].'

'; - echo ' - - - - - - - - '; - foreach($output['routes'] as $route) { - if ($route['target'] == $_GET['ip']) - { - echo ""; - foreach($route as $temp) { echo ""; } - echo ""; - } - } - echo "
targetinstalledviadevicemetricDestination ID
$temp
"; - } } ?>