Use Monitor->getStatusHTML to generate status html

This commit is contained in:
Isaac Connor 2022-01-20 11:53:35 -05:00
parent 57bb91e105
commit 91d6ff2029
1 changed files with 4 additions and 4 deletions

View File

@ -164,10 +164,10 @@ if ( count($other_zones) ) {
<polygon id="zonePoly" points="<?php echo $zone['AreaCoords'] ?>" class="Editing <?php echo $zone['Type'] ?>"/> <polygon id="zonePoly" points="<?php echo $zone['AreaCoords'] ?>" class="Editing <?php echo $zone['Type'] ?>"/>
Sorry, your browser does not support inline SVG Sorry, your browser does not support inline SVG
</svg> </svg>
</div><?php # imageFrame?> </div><?php # imageFrame
<div id="monitorState"> echo $monitor->getMonitorStateHTML();
<?php echo translate('State') ?>:&nbsp;<span id="stateValue<?php echo $monitor->Id() ?>"></span>&nbsp;-&nbsp;<span id="fpsValue<?php echo $monitor->Id() ?>"></span>&nbsp;fps ?>
</div>
<div id="StreamControlButtons"> <div id="StreamControlButtons">
<button type="button" id="analyseBtn" class="btn btn-primary" title="<?php echo translate('Showing Analysis') ?>"> <button type="button" id="analyseBtn" class="btn btn-primary" title="<?php echo translate('Showing Analysis') ?>">
<i class="material-icons md-18">assessment</i> <i class="material-icons md-18">assessment</i>