Cycle view changed in 1.36

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
rbu
Posts: 4
Joined: Thu Aug 06, 2020 1:21 pm

Cycle view changed in 1.36

Post by rbu »

Hi

I updated to ZM 1.36 and now I notice, that there is a list of monitors on the left when cycling.. this uses a lot of space on my screen. Any idea how to disable this monitor list? Did not found anything in the forum nor setting..

Thanks!
rbu
Posts: 4
Joined: Thu Aug 06, 2020 1:21 pm

Re: Cycle view changed in 1.36

Post by rbu »

Hi

That's my - limited way - of doing it with a patch :-)

Code: Select all

--- cycle.php.orig      2022-06-09 15:24:17.127831601 +0200
+++ cycle.php   2022-06-09 15:36:36.486131839 +0200
@@ -160,18 +160,7 @@
       </div>
     </div>
     <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&amp;mid='.$m->Id().'">'.$m->Name().'</a></li>';
-  }
-  ?>
-          </ul>
-        </nav>
-        <div class="container-fluid col-sm-offset-2 h-100 pr-0">
-
+      <div class="row h-100" id="content">
           <div id="imageFeed">
           <?php
             if ( $monitor ) {
@@ -189,7 +178,6 @@
             <button type="button" value="&gt;" id="nextBtn" title="<?php echo translate('NextMonitor') ?>" class="active" data-on-click-true="cycleNext">&gt;&gt;</button>
           </div>

-        </div>
       </div>
     </div>
 <?php xhtmlFooter() ?>

Post Reply