aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
authorPim van den Berg2015-05-16 15:06:56 +0200
committerPim van den Berg2015-06-21 18:06:03 +0200
commita82cad86ec3348edc4cdfaf6ac1a10968db79940 (patch)
tree6586751c0cfa1981a843a804fc24f6e8b839e99f /inc/html.inc.php
parentadd responsive css (diff)
downloadapt-panopticon_cgp-a82cad86ec3348edc4cdfaf6ac1a10968db79940.zip
apt-panopticon_cgp-a82cad86ec3348edc4cdfaf6ac1a10968db79940.tar.gz
apt-panopticon_cgp-a82cad86ec3348edc4cdfaf6ac1a10968db79940.tar.bz2
apt-panopticon_cgp-a82cad86ec3348edc4cdfaf6ac1a10968db79940.tar.xz
responsive: make the overview page look nice on all media
Diffstat (limited to 'inc/html.inc.php')
-rw-r--r--inc/html.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 9f42fdf..7fedeb6 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -238,6 +238,8 @@ function host_summary($cat, $hosts) {
238 urlencode($host), 238 urlencode($host),
239 htmlentities($host)); 239 htmlentities($host));
240 240
241 echo "<div class=\"hostinfo\">";
242
241 if ($CONFIG['showload']) { 243 if ($CONFIG['showload']) {
242 require_once 'type/Default.class.php'; 244 require_once 'type/Default.class.php';
243 $load = array('h' => $host, 'p' => 'load', 't' => 'load'); 245 $load = array('h' => $host, 'p' => 'load', 't' => 'load');
@@ -304,7 +306,7 @@ function host_summary($cat, $hosts) {
304 } 306 }
305 } 307 }
306 308
307 print "</div>\n"; 309 print "</div></div>\n";
308 } 310 }
309 311
310 echo "</div>\n"; 312 echo "</div>\n";