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'] ?>"/>
Sorry, your browser does not support inline SVG
</svg>
</div><?php # imageFrame?>
<div id="monitorState">
<?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><?php # imageFrame
echo $monitor->getMonitorStateHTML();
?>
<div id="StreamControlButtons">
<button type="button" id="analyseBtn" class="btn btn-primary" title="<?php echo translate('Showing Analysis') ?>">
<i class="material-icons md-18">assessment</i>