source: branches/0.4/web/addons/job_monarch/dwoo/compiled/templates/default/show_node.tpl.d17.php @ 755

Last change on this file since 755 was 755, checked in by ramonb, 11 years ago
  • add Dwoo
  • Property svn:executable set to *
File size: 3.3 KB
Line 
1<?php
2/* template head */
3if (function_exists('Dwoo_Plugin_include')===false)
4        $this->getLoader()->loadPlugin('include');
5/* end template head */ ob_start(); /* template body */ ?><!-- Begin show_node.tpl -->
6<table border="0" width="100%">
7<tr>
8  <td colspan="2" class=title><?php echo $this->scope["name"];?> Info</td>
9</tr>
10<tr><td colspan="1">&nbsp;</td></tr>
11<tr>
12<td align="center">
13
14<table cellpadding="2" cellspacing="7" border="1">
15<tr>
16<td class="<?php echo $this->scope["class"];?>">
17   <table cellpadding="1" cellspacing="10" border="0">
18   <tr><td valign="top"><font size="+2"><b><?php echo $this->scope["name"];?></b></font><br />
19   <i><?php echo $this->scope["ip"];?></i><br />
20   <em>Location:</em> <?php echo $this->scope["location"];?><p>
21
22   Cluster local time <?php echo $this->scope["clustertime"];?><br />
23   Last heartbeat received <?php echo $this->scope["age"];?> ago.<br />
24   Uptime <?php echo $this->scope["uptime"];?><br />
25
26   </td>
27   <td align="right" valign="top">
28   <table cellspacing="4" cellpadding="3" border="0"><tr>
29   <tr><td><i>Load:</i></td>
30   <td class=<?php echo $this->scope["load1"];?>><small><?php echo $this->scope["load_one"];?></small></td>
31   <td class=<?php echo $this->scope["load5"];?>><small><?php echo $this->scope["load_five"];?></small></td>
32   <td class=<?php echo $this->scope["load15"];?>><small><?php echo $this->scope["load_fifteen"];?></small></td>
33   </tr><tr><td></td><td><em>1m</em></td><td><em>5m</em></td><td><em>15m</em></td></tr>
34   </table><br />
35
36   <table cellspacing="4" cellpadding="3" border="0"><tr>
37   <td><i>CPU Utilization:</i></td>
38   <td class=<?php echo $this->scope["user"];?>><small><?php echo $this->scope["cpu_user"];?></small></td>
39   <td class=<?php echo $this->scope["sys"];?>><small><?php echo $this->scope["cpu_system"];?></small></td>
40   <td class=<?php echo $this->scope["idle"];?>><small><?php echo $this->scope["cpu_idle"];?></small></td>
41   </tr><tr><td></td><td><em>user</em></td><td><em>sys</em></td><td><em>idle</em></td></tr>
42   </table>
43   </td>
44   </tr>
45   <tr><td align="left" valign="top">
46
47   <b>Hardware</b><br />
48   <em>CPU<?php echo $this->scope["s"];?>:</em> <?php echo $this->scope["cpu"];?><br />
49   <em>Memory (RAM):</em> <?php echo $this->scope["mem"];?><br />
50   <em>Local Disk:</em> <?php echo $this->scope["disk"];?><br />
51   <em>Most Full Disk Partition:</em> <?php echo $this->scope["part_max_used"];?>
52
53   </td>
54   <td align="left" valign="top">
55
56   <b>Software</b><br />
57   <em>OS:</em> <?php echo $this->scope["OS"];?><br />
58   <em>Booted:</em> <?php echo $this->scope["booted"];?><br />
59   <em>Uptime:</em> <?php echo $this->scope["uptime"];?><br />
60   <em>Swap:</em> <?php echo $this->scope["swap"];?><br />
61
62   </td></tr></table>
63</td>
64</tr></table>
65
66 </td>
67</tr>
68<tr>
69<td align="center" valign="middle">
70 <a href="<?php echo $this->scope["physical_view"];?>">Physical View</a> | <a href="<?php echo $this->scope["self"];?>">Reload</a>
71</td>
72</tr>
73<tr>
74 <td>
75<?php if (((isset($this->scope["extra"]) ? $this->scope["extra"] : null) !== null)) {
76?>
77<?php echo Dwoo_Plugin_include($this, "".(isset($this->scope["extra"]) ? $this->scope["extra"] : null)."", null, null, null, '_root', null);?>
78
79<?php 
80}?> 
81</td>
82</tr>
83</table>
84<!-- End show_node.tpl -->
85<?php  /* end template body */
86return $this->buffer . ob_get_clean();
87?>
Note: See TracBrowser for help on using the repository browser.