aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.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 /inc/html.inc.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 '')
-rw-r--r--inc/html.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 0a5b342..99ecef2 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -15,12 +15,21 @@ function html_start() {
15</head> 15</head>
16<body> 16<body>
17 17
18<div id="header">
19 <h1><a href="{$CONFIG['weburl']}">Collectd Graph Panel</a></h1>
20</div>
21
22<div id="content">
23
18EOT; 24EOT;
19} 25}
20 26
21function html_end() { 27function html_end() {
22 echo <<<EOT 28 echo <<<EOT
29</div>
30<div id="footer">
23<hr><span class="small">Collectd Graph Panel is distributed under the GNU General Public License (GPL)</span> 31<hr><span class="small">Collectd Graph Panel is distributed under the GNU General Public License (GPL)</span>
32</div>
24</body> 33</body>
25</html> 34</html>
26EOT; 35EOT;