aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
authorPeter Wu2014-12-14 01:07:14 +0100
committerPim van den Berg2014-12-14 15:58:35 +0100
commitab2bcff2d4bba317317e9e8fae071c840add63c7 (patch)
tree1c1d2bbc833c450f1e852a15f44b575253fbd2c1 /detail.php
parentinc/html: include jquery from local source (diff)
downloadapt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.zip
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.gz
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.bz2
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.xz
Revert "make detail page accessible when using "canvas" graph_type"
This reverts commit 82d88098f4203cf7402d4faf5ad100cada70efaf. Breaks async rendering, see https://github.com/pommi/CGP/issues/106#issuecomment-66896905
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/detail.php b/detail.php
index 270a935..777294b 100644
--- a/detail.php
+++ b/detail.php
@@ -55,9 +55,7 @@ print "</ul>\n";
55 55
56if ($CONFIG['graph_type'] == 'canvas') { 56if ($CONFIG['graph_type'] == 'canvas') {
57 chdir($CONFIG['webdir']); 57 chdir($CONFIG['webdir']);
58 printf('<canvas id="%s" class="rrd">', generate_uuid());
59 include $CONFIG['webdir'].'/graph.php'; 58 include $CONFIG['webdir'].'/graph.php';
60 print '</canvas>';
61} else { 59} else {
62 printf("<img src=\"%s%s\">\n", 60 printf("<img src=\"%s%s\">\n",
63 htmlentities($CONFIG['weburl']), 61 htmlentities($CONFIG['weburl']),