diff options
-rw-r--r-- | detail.php | 6 | ||||
-rw-r--r-- | layout/style.css | 9 |
2 files changed, 12 insertions, 3 deletions
@@ -29,13 +29,13 @@ $term = array( | |||
29 | ); | 29 | ); |
30 | 30 | ||
31 | $args = $_GET; | 31 | $args = $_GET; |
32 | print "<ul>\n"; | ||
32 | foreach($term as $key => $s) { | 33 | foreach($term as $key => $s) { |
33 | $args['s'] = $s; | 34 | $args['s'] = $s; |
34 | printf('<a href="%s/%s">%s</a>'."\n", | 35 | printf('<li><a href="%s/%s">%s</a></li>'."\n", |
35 | $CONFIG['weburl'], build_url('detail.php', $args), $key); | 36 | $CONFIG['weburl'], build_url('detail.php', $args), $key); |
36 | } | 37 | } |
37 | 38 | print "</ul>\n"; | |
38 | print "<br>\n"; | ||
39 | 39 | ||
40 | $plugins = collectd_plugins($host); | 40 | $plugins = collectd_plugins($host); |
41 | 41 | ||
diff --git a/layout/style.css b/layout/style.css index 813f98d..90bc9a5 100644 --- a/layout/style.css +++ b/layout/style.css | |||
@@ -21,3 +21,12 @@ table.summary td { | |||
21 | img { | 21 | img { |
22 | border: 0; | 22 | border: 0; |
23 | } | 23 | } |
24 | |||
25 | ul { | ||
26 | margin: 0; | ||
27 | padding: 0; | ||
28 | } | ||
29 | |||
30 | li { | ||
31 | display: inline; | ||
32 | } | ||