Convert the Logs index view to use a bootstrap sidebar

This commit is contained in:
Kyle Johnson
2013-09-10 20:18:25 -04:00
parent 09a3b9e353
commit d9b6140bf8

View File

@@ -1,14 +1,16 @@
<?php
$componentoptions = array();
foreach ($components as $component) {
$componentoptions[$component['Log']['Component']] = $component['Log']['Component'];
}
$componentoptions = array();
foreach ($components as $component) {
$componentoptions[$component['Log']['Component']] = $component['Log']['Component'];
}
$this->start('sidebar');
echo $this->Form->label('Component');
echo $this->Form->select('Component', $componentoptions);
echo $this->Form->button('Refresh', array('id' => 'btnComponentRefresh'));
$this->end();
?>
<div>
<?php echo $this->Form->label('Component'); ?>
<?php echo $this->Form->select('Component', $componentoptions); ?>
<?php echo $this->Form->button('Refresh', array('id' => 'btnComponentRefresh')); ?>
</div>
<table id="tblComponents">
<tr>
<th>Date / Time</th>