Update cycle monitorlist sidebar to bootstrap4

This commit is contained in:
Isaac Connor 2020-08-04 17:35:41 -04:00
parent e5513bc7a4
commit dd627d9234
1 changed files with 3 additions and 3 deletions

View File

@ -161,11 +161,11 @@ xhtmlHeaders(__FILE__, translate('CycleWatch'));
</div>
<div class="container-fluid">
<div class="row" id="content">
<div class="col-sm-2 sidebar">
<ul class="nav nav-pills nav-stacked">
<div class="col-sm-2 sidebar">
<ul class="nav flex-column">
<?php
foreach ( $monitors as $m ) {
echo '<li'.( $m->Id() == $monitor->Id() ? ' class="active"' : '' ).'><a href="?view=cycle&amp;mid='.$m->Id().'">'.$m->Name().'</a></li>';
echo '<li class="nav-item"><a class="nav-link'.( $m->Id() == $monitor->Id() ? ' active' : '' ).'" href="?view=cycle&amp;mid='.$m->Id().'">'.$m->Name().'</a></li>';
}
?>
</ul>