diff options
author | Pim van den Berg | 2009-09-29 19:56:44 +0200 |
---|---|---|
committer | Pim van den Berg | 2009-09-29 20:06:19 +0200 |
commit | 8bf309b808142d21aade10a40466403adf2001d7 (patch) | |
tree | f584b93a3a8fdd42782c29661fe906455ad15483 /index.php | |
parent | change webdir/weburl and include/require usage (diff) | |
download | apt-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 '')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ $h = array(); | |||
10 | 10 | ||
11 | # show all categorized hosts | 11 | # show all categorized hosts |
12 | foreach($CONFIG['cat'] as $cat => $hosts) { | 12 | foreach($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 |
23 | if ($uhosts) { | 23 | if ($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 | ||