Fix left column positioning
This commit is contained in:
parent
8d2ced0fbb
commit
02d056b277
|
@ -159,18 +159,18 @@ xhtmlHeaders(__FILE__, translate('CycleWatch'));
|
|||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row" id="content">
|
||||
<div class="col-sm-2 sidebar">
|
||||
<ul class="nav flex-column">
|
||||
<?php
|
||||
foreach ( $monitors as $m ) {
|
||||
<div class="container-fluid h-100">
|
||||
<div class="row flex-nowrap h-100" id="content">
|
||||
<nav id="sidebar" class="h-100">
|
||||
<ul class="nav nav-pills flex-column h-100">
|
||||
<?php
|
||||
foreach ( $monitors as $m ) {
|
||||
echo '<li class="nav-item"><a class="nav-link'.( $m->Id() == $monitor->Id() ? ' active' : '' ).'" href="?view=cycle&mid='.$m->Id().'">'.$m->Name().'</a></li>';
|
||||
}
|
||||
?>
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-10 col-sm-offset-2">
|
||||
</nav>
|
||||
<div class="container-fluid col-sm-offset-2 h-100 pr-0">
|
||||
|
||||
<div id="imageFeed">
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue