move div tag into $imgHTML
This commit is contained in:
parent
8ea7b783b5
commit
5d09ae91ab
|
@ -296,14 +296,14 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
|
|||
$thmbWidth = ( $options['width'] ) ? 'width:'.$options['width'].'px;' : '';
|
||||
$thmbHeight = ( $options['height'] ) ? 'width:'.$options['height'].'px;' : '';
|
||||
|
||||
$imgHTML = '<img id="thumbnail' .$Monitor->Id(). '" src="' .$stillSrc. '" style='
|
||||
.$thmbWidth.$thmbHeight. '" stream_src="' .$streamSrc. '" still_src="' .$stillSrc. '"/>';
|
||||
$imgHTML = '<div class="colThumbnail zoom-right"><img id="thumbnail' .$Monitor->Id(). '" src="' .$stillSrc. '" style='
|
||||
.$thmbWidth.$thmbHeight. '" stream_src="' .$streamSrc. '" still_src="' .$stillSrc. '"/></div>';
|
||||
}
|
||||
?>
|
||||
<td class="colName">
|
||||
<i class="material-icons md-18 <?php echo $dot_class ?>">lens</i>
|
||||
<a <?php echo ($stream_available ? 'href="?view=watch&mid='.$monitor['Id'].'">' : '>') . validHtmlStr($monitor['Name']) ?></a><br/>
|
||||
<div class="colThumbnail zoom-right"><?php echo ( $monitor['Status'] == 'Connected' ) ? $imgHTML : '' ?></div>
|
||||
<?php echo $imgHTML ?>
|
||||
<div class="small text-nowrap text-muted">
|
||||
|
||||
<?php echo implode('<br/>',
|
||||
|
|
Loading…
Reference in New Issue