Added google chart

This commit is contained in:
Deon George
2012-12-11 22:56:33 +11:00
parent 0122cd8c02
commit b415296c62
9 changed files with 685 additions and 2 deletions

View File

@@ -3,6 +3,9 @@
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('node/info')->set('o',$o); ?></td>
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('node/session')->set('o',$o); ?></td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;" colspan="2"><?php echo View::factory('node/graph_backup')->set('o',$o); ?></td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('node/settings')->set('o',$o); ?></td>
<td style="width: 50%; vertical-align: top;">&nbsp;</td>

View File

@@ -0,0 +1,18 @@
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Schedule Results</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<?php foreach ($o->btypes() as $btype) { ?>
<?php if ($o->act_bybtype($btype)) { ?>
<?php foreach ($o->act_schedules($btype) as $schedule) { ?>
<tr>
<td><?php echo $o->graph_backup($btype,$schedule); ?></td>
</tr>
<?php } ?>
<?php } ?>
<?php } ?>
</table>