Revision b23a2cb3
Added by Scott Ullrich almost 20 years ago
usr/local/www/index.php | ||
---|---|---|
185 | 185 |
<?php $cpuUsage = "0"; ?> |
186 | 186 |
<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="cpuwidtha" id="cpuwidtha" width="<?= $cpuUsage; ?>" border="0" align="middle" alt="blue bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif" height="15" name="cpuwidthb" id="cpuwidthb" width="<?= (100 - $cpuUsage); ?>" 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" /> |
187 | 187 |
|
188 |
<input style="border: 0px solid white;" size="30" name="cpumeter" id="cpumeter" value="<?= $cpuUsage.'%'; ?> (Updating in 10 seconds)" />
|
|
188 |
<input style="border: 0px solid white;" size="30" name="cpumeter" id="cpumeter" value="(Updating in 10 seconds)" /> |
|
189 | 189 |
</td> |
190 | 190 |
</tr> |
191 | 191 |
<tr> |
Also available in: Unified diff
Do not show 0%.