Add a warning when the monitor is not capturing in live view
parent
158b9438d7
commit
1161c251fc
|
@ -77,6 +77,11 @@ if ( canView('Control') && $monitor->Type() == 'Local' ) {
|
|||
</div>
|
||||
<div id="closeControl"><a href="#" onclick="<?php echo $popup ? 'window.close()' : 'history.go(-1);return false;' ?>"><?php echo $popup ? translate('Close') : translate('Back') ?></a></div>
|
||||
</div>
|
||||
<?php
|
||||
if ( $monitor->Status() != 'Capturing' ) {
|
||||
echo '<div class="warning">Monitor is not capturing. We will be unable to provide an image</div>';
|
||||
}
|
||||
?>
|
||||
<div id="content">
|
||||
<div id="imageFeed"><?php echo getStreamHTML( $monitor, array('scale'=>$scale) ); ?></div>
|
||||
<?php if ( $monitor->Type() != 'WebSite' ) { ?>
|
||||
|
|
Loading…
Reference in New Issue