mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-23 16:23:53 -04:00
Convert the Logs index view to use a bootstrap sidebar
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user