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 /host.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 'host.php')
-rw-r--r-- | host.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,7 +11,9 @@ $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); | |||
11 | 11 | ||
12 | html_start(); | 12 | html_start(); |
13 | 13 | ||
14 | printf('<h2>%s</h2>'."\n", $host); | 14 | printf("<fieldset id=\"%s\"/>", $host); |
15 | printf("<legend>%s</legend>", $host); | ||
16 | |||
15 | 17 | ||
16 | $plugins = collectd_plugins($host); | 18 | $plugins = collectd_plugins($host); |
17 | 19 | ||
@@ -30,6 +32,7 @@ foreach ($selected_plugins as $selected_plugin) { | |||
30 | } | 32 | } |
31 | } | 33 | } |
32 | echo '</div>'; | 34 | echo '</div>'; |
35 | printf("</fieldset>"); | ||
33 | 36 | ||
34 | html_end(); | 37 | html_end(); |
35 | 38 | ||