diff options
author | Pim van den Berg | 2013-05-20 22:51:44 +0200 |
---|---|---|
committer | Pim van den Berg | 2013-06-22 12:16:28 +0200 |
commit | 51cd1c4dbdd684dd9a2d487770b6f28d67a25ccc (patch) | |
tree | afead94366494bfad9dcd3193475564cc3ff117f /detail.php | |
parent | plugin/nut: collectd 5 compatibility for frequency graph (diff) | |
download | apt-panopticon_cgp-51cd1c4dbdd684dd9a2d487770b6f28d67a25ccc.zip apt-panopticon_cgp-51cd1c4dbdd684dd9a2d487770b6f28d67a25ccc.tar.gz apt-panopticon_cgp-51cd1c4dbdd684dd9a2d487770b6f28d67a25ccc.tar.bz2 apt-panopticon_cgp-51cd1c4dbdd684dd9a2d487770b6f28d67a25ccc.tar.xz |
start using fieldset + legend for showing data
Diffstat (limited to 'detail.php')
-rw-r--r-- | detail.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,7 +23,8 @@ $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); | |||
23 | 23 | ||
24 | html_start(); | 24 | html_start(); |
25 | 25 | ||
26 | printf('<h2>%s</h2>'."\n", $host); | 26 | printf('<fieldset id="%s">', $host); |
27 | printf('<legend>%s</legend>', $host); | ||
27 | 28 | ||
28 | $plugins = collectd_plugins($host); | 29 | $plugins = collectd_plugins($host); |
29 | 30 | ||
@@ -54,6 +55,7 @@ if ($CONFIG['graph_type'] == 'canvas') { | |||
54 | printf('<img src="%s%s">'."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); | 55 | printf('<img src="%s%s">'."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); |
55 | } | 56 | } |
56 | echo '</div>'; | 57 | echo '</div>'; |
58 | echo "</fieldset>\n"; | ||
57 | 59 | ||
58 | html_end(); | 60 | html_end(); |
59 | 61 | ||