Use Monitor->getStatusHTML to generate status html

This commit is contained in:
Isaac Connor 2022-01-20 11:53:44 -05:00
parent 91d6ff2029
commit 5ce701f5cb
1 changed files with 1 additions and 3 deletions

View File

@ -91,9 +91,7 @@ xhtmlHeaders(__FILE__, translate('Zones'));
?> ?>
Sorry, your browser does not support inline SVG Sorry, your browser does not support inline SVG
</svg> </svg>
<div id="monitorState"> <?php 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> </div>
<div class="zones"> <div class="zones">
<table id="zonesTable" class="major"> <table id="zonesTable" class="major">