summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/system_information.widget.php
diff options
context:
space:
mode:
authorJoecowboy <i7wasn7m3@gmail.com>2012-01-05 18:16:23 -0600
committerJoecowboy <i7wasn7m3@gmail.com>2012-01-05 18:16:23 -0600
commit24d515348cde4f865fb585a6b86e9d042fd6fef8 (patch)
tree6288940ec00efe986ae331e1e46de2b792a20647 /usr/local/www/widgets/widgets/system_information.widget.php
parente7d6136d86f0bc15d35d909245cc3512abd12199 (diff)
downloadpfsense-24d515348cde4f865fb585a6b86e9d042fd6fef8.zip
pfsense-24d515348cde4f865fb585a6b86e9d042fd6fef8.tar.gz
Added Temperature back in
Diffstat (limited to 'usr/local/www/widgets/widgets/system_information.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index 9945539..0194c58 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -200,6 +200,15 @@ $curcfg = $config['system']['firmware'];
<?= $mbufs_total ?>/<?= $mbufs_max ?>
</td>
</tr>
+ <tr>
+ <td width="25%" class="vncellt">Temperature</td>
+ <td width="75%" class="listr">
+ <?php $TempMeter = "0"; $temp = "0"; ?>
+ <img src="./themes/<?= $g['theme']; ?>/images/misc/bar_left.gif" height="15" width="4" border="0" align="middle" alt="left bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_blue.gif" height="15" name="tempwidtha" id="tempwidtha" width="<?= $TempMeter; ?>" border="0" align="middle" alt="red bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif" height="15" name="tempwidthb" id="tempwidthb" width="<?= (100 - $TempMeter); ?>" border="0" align="middle" alt="gray bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_right.gif" height="15" width="5" border="0" align="middle" alt="right bar" />
+ &nbsp;
+ <input style="border: 0px solid white;" size="30" name="tempmeter" id="tempmeter" value="<?= $temp."&#176;C"; ?>" />
+ </td>
+ </tr>
<tr>
<td width="25%" class="vncellt">CPU usage</td>
<td width="75%" class="listr">
@@ -275,4 +284,4 @@ $curcfg = $config['system']['firmware'];
jQuery('#uname').html("<?php echo php_uname("a"); ?>");
}
setTimeout('getstatus()', 4000);
-</script>
+</script> \ No newline at end of file
OpenPOWER on IntegriCloud