aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
authorPim van den Berg2013-05-20 22:51:44 +0200
committerPim van den Berg2013-06-22 12:16:28 +0200
commit51cd1c4dbdd684dd9a2d487770b6f28d67a25ccc (patch)
treeafead94366494bfad9dcd3193475564cc3ff117f /detail.php
parentplugin/nut: collectd 5 compatibility for frequency graph (diff)
downloadapt-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.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/detail.php b/detail.php
index c7df632..5bf2883 100644
--- a/detail.php
+++ b/detail.php
@@ -23,7 +23,8 @@ $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin);
23 23
24html_start(); 24html_start();
25 25
26printf('<h2>%s</h2>'."\n", $host); 26printf('<fieldset id="%s">', $host);
27printf('<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}
56echo '</div>'; 57echo '</div>';
58echo "</fieldset>\n";
57 59
58html_end(); 60html_end();
59 61