diff options
-rw-r--r-- | inc/html.inc.php | 4 | ||||
-rw-r--r-- | layout/style-c.css | 4 | ||||
-rw-r--r-- | layout/style.css | 4 |
3 files changed, 11 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"; |
diff --git a/layout/style-c.css b/layout/style-c.css index e69de29..514ea66 100644 --- a/layout/style-c.css +++ b/layout/style-c.css | |||
@@ -0,0 +1,4 @@ | |||
1 | .row .hostinfo { | ||
2 | font-size: 0.7em; | ||
3 | opacity: 0.6; | ||
4 | } | ||
diff --git a/layout/style.css b/layout/style.css index 2df30cf..156e8c5 100644 --- a/layout/style.css +++ b/layout/style.css | |||
@@ -67,6 +67,10 @@ a:hover { | |||
67 | width: 20em; | 67 | width: 20em; |
68 | } | 68 | } |
69 | 69 | ||
70 | .row .hostinfo { | ||
71 | float: left; | ||
72 | } | ||
73 | |||
70 | .row .field { | 74 | .row .field { |
71 | float: left; | 75 | float: left; |
72 | width: 3.4em; | 76 | width: 3.4em; |