Add Load graphs to devices page

This commit is contained in:
Mike Rostermund
2015-06-10 00:47:26 +02:00
parent 666de1a3de
commit c2c33e603a
+2 -1
View File
@@ -39,6 +39,7 @@ foreach ($menu_options as $option => $text)
$menu_options = array('bits' => 'Bits',
'processor' => 'CPU',
'ucd_load' => 'Load',
'mempool' => 'Memory',
'uptime' => 'Uptime',
'storage' => 'Storage',
@@ -89,7 +90,7 @@ print_optionbar_end();
<?php
list($format, $subformat) = explode("_", $vars['format']);
list($format, $subformat) = explode("_", $vars['format'], 2);
if($format == "graph")
{