Added Server activity log
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<!-- $o = ORM::factory('DB') -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('db/info')->set('o',$o); ?></td>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<!-- $o = ORM::factory('DOMAIN') -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width: 100%; vertical-align: top;" colspan="2"><?php echo View::factory('domain/nodes')->set('o',$o); ?></td>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<!-- $o = ORM::factory('LIBRARY') -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('library/info')->set('o',$o); ?></td>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<!-- $o = ORM::factory('DOMAIN') -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('node/info')->set('o',$o); ?></td>
|
||||
|
19
application/views/server/activity.php
Normal file
19
application/views/server/activity.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<!-- $o = ORM::factory('STATUS') -->
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td class="head" colspan="2">Server Activity</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Date</td>
|
||||
<td>Message</td>
|
||||
</tr>
|
||||
<?php $i=0; foreach ($o->activity() as $ao) { ?>
|
||||
<tr>
|
||||
<td class="data"><?php echo $ao->DISPLAY('DATE_TIME'); ?>
|
||||
<td class="data"><?php echo $ao->DISPLAY('MESSAGE'); ?>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
9
application/views/server/detail.php
Normal file
9
application/views/server/detail.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<!-- $o = ORM::factory('STATUS') -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('server/info')->set('o',$o); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('server/activity')->set('o',$o); ?></td>
|
||||
</tr>
|
||||
</table>
|
13
application/views/server/info.php
Normal file
13
application/views/server/info.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<!-- $o = ORM::factory('NODE') -->
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td class="head" colspan="2">Server Information</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 40%;">Server Name</td>
|
||||
<td style="width: 60%;" class="data"><?php echo $o->display('SERVER_NAME'); ?> (<?php echo $o->display('SERVER_HLA').':'.$o->display('SERVER_LLA'); ?>)</td>
|
||||
</tr>
|
||||
</table>
|
@@ -1,3 +1,4 @@
|
||||
<!-- $o = ORM::factory('STGPOOL') -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;" rowspan="2"><?php echo View::factory('stgpool/info')->set('o',$o); ?></td>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<!-- $o = ORM::factory('VOLUME') -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;"><?php echo View::factory('volume/info')->set('o',$o); ?></td>
|
||||
|
Reference in New Issue
Block a user