From 8bf309b808142d21aade10a40466403adf2001d7 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Tue, 29 Sep 2009 19:56:44 +0200 Subject: layout improvement based on daniel's patch The page is divided into a header, content and footer. It is styled better and the header links to the main page. Patch from Daniel von Fange (Leancoder): http://pommi.nethuis.nl/storage/software/cgp/leancoder-css.cgp-v-0-1.patch --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index f937bcc..cf0cb85 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ $h = array(); # show all categorized hosts foreach($CONFIG['cat'] as $cat => $hosts) { - printf("

%s

\n", $cat); + printf("

%s

\n", $cat); host_summary($hosts); $h = array_merge($h, $hosts); } @@ -21,7 +21,7 @@ $uhosts = array_diff($chosts, $h); # show all uncategorized hosts if ($uhosts) { - echo "

uncategorized

\n"; + echo "

uncategorized

\n"; host_summary($uhosts); } -- cgit v1.1