source: branches/0.4/web/addons/job_monarch/dwoo/compiled/compiled/templates/default/host_overview.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: 1.8 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 */ ?><br>
6<table border="0" width="100%">
7
8<tr>
9 <td align="left" valign="TOP">
10
11<img src="<?php echo $this->scope["node_image"];?>" class="noborder" height="60" width="30" title="<?php echo $this->scope["host"];?>"/>
12<?php echo $this->scope["node_msg"];?>
13
14
15<table border="0" width="100%">
16<tr>
17  <td colspan="2" class="title">Time and String Metrics</td>
18</tr>
19
20<?php 
21$_fh0_data = (isset($this->scope["s_metrics_data"]) ? $this->scope["s_metrics_data"] : null);
22if ($this->isTraversable($_fh0_data) == true)
23{
24        foreach ($_fh0_data as $this->scope['s_metric'])
25        {
26/* -- foreach start output */
27?>
28<tr>
29 <td class="footer" width="30%"><?php echo $this->scope["s_metric"]["name"];?></td><td><?php echo $this->scope["s_metric"]["value"];?></td>
30</tr>
31<?php 
32/* -- foreach end output */
33        }
34}?>
35
36
37<tr><td>&nbsp;</td></tr>
38
39<tr>
40  <td colspan="2" class="title">Constant Metrics</td>
41</tr>
42
43<?php 
44$_fh1_data = (isset($this->scope["c_metrics_data"]) ? $this->scope["c_metrics_data"] : null);
45if ($this->isTraversable($_fh1_data) == true)
46{
47        foreach ($_fh1_data as $this->scope['c_metric'])
48        {
49/* -- foreach start output */
50?>
51<tr>
52 <td class="footer" width="30%"><?php echo $this->scope["c_metric"]["name"];?></td><td><?php echo $this->scope["c_metric"]["value"];?></td>
53</tr>
54<?php 
55/* -- foreach end output */
56        }
57}?>
58
59</table>
60
61 <hr />
62<?php if (((isset($this->scope["extra"]) ? $this->scope["extra"] : null) !== null)) {
63?>
64<?php echo Dwoo_Plugin_include($this, "".(isset($this->scope["extra"]) ? $this->scope["extra"] : null)."", null, null, null, '_root', null);?>
65
66<?php 
67}?>
68
69</td>
70</table>
71
72<?php  /* end template body */
73return $this->buffer . ob_get_clean();
74?>
Note: See TracBrowser for help on using the repository browser.