aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.php
diff options
context:
space:
mode:
authorPim van den Berg2009-09-29 19:56:44 +0200
committerPim van den Berg2009-09-29 20:06:19 +0200
commit8bf309b808142d21aade10a40466403adf2001d7 (patch)
treef584b93a3a8fdd42782c29661fe906455ad15483 /index.php
parentchange webdir/weburl and include/require usage (diff)
downloadapt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.zip
apt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.tar.gz
apt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.tar.bz2
apt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.tar.xz
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
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index f937bcc..cf0cb85 100644
--- a/index.php
+++ b/index.php
@@ -10,7 +10,7 @@ $h = array();
10 10
11# show all categorized hosts 11# show all categorized hosts
12foreach($CONFIG['cat'] as $cat => $hosts) { 12foreach($CONFIG['cat'] as $cat => $hosts) {
13 printf("<h1>%s</h1>\n", $cat); 13 printf("<h2>%s</h2>\n", $cat);
14 host_summary($hosts); 14 host_summary($hosts);
15 $h = array_merge($h, $hosts); 15 $h = array_merge($h, $hosts);
16} 16}
@@ -21,7 +21,7 @@ $uhosts = array_diff($chosts, $h);
21 21
22# show all uncategorized hosts 22# show all uncategorized hosts
23if ($uhosts) { 23if ($uhosts) {
24 echo "<h1>uncategorized</h1>\n"; 24 echo "<h2>uncategorized</h2>\n";
25 host_summary($uhosts); 25 host_summary($uhosts);
26} 26}
27 27