Tweaked the appearence of the filter by monitor panel on the Events page

This commit is contained in:
Kevin Crider 2013-09-29 14:05:25 -04:00
parent de99655196
commit 348399d61b
1 changed files with 4 additions and 9 deletions

View File

@ -15,16 +15,11 @@ echo $this->Form->create('Events', array('action' => 'index', 'default' => false
<div class="panel-heading">Filter by Monitor</div>
<div class="panel-body">
<div id="events_monitors">
<ul class="list-group">
<?php foreach ($monitors as $monitor): ?>
<li class="list-group-item" id="Monitor_<?php echo $monitor['Monitor']['Id']; ?>">
<?php echo $this->Form->input($monitor['Monitor']['Name'], array('type' => 'checkbox', 'label' => $monitor['Monitor']['Name'])); ?>
</li>
<?php
endforeach;
unset($monitor);
<?
foreach ($monitors as $monitor) {
echo $this->Form->input($monitor['Monitor']['Name'], array('type' => 'checkbox', 'label' => $monitor['Monitor']['Name']));
}
?>
</ul>
</div>
</div>
</div>