split power out of the Panel box so that I can style it better
This commit is contained in:
parent
f91ff4503a
commit
5f3e7134fb
|
@ -367,24 +367,22 @@ function ptzControls( $monitor )
|
|||
echo controlIris( $monitor, $cmds );
|
||||
if ( $monitor->CanWhite() )
|
||||
echo controlWhite( $monitor, $cmds );
|
||||
if ( $monitor->CanMove() || ( $monitor->CanWake() || $monitor->CanSleep() || $monitor->CanReset() ) )
|
||||
{
|
||||
if ( $monitor->CanMove() ) {
|
||||
?>
|
||||
<div class="pantiltPanel">
|
||||
<?php
|
||||
if ( $monitor->CanMove() )
|
||||
echo controlPanTilt( $monitor, $cmds );
|
||||
if ( $monitor->CanWake() || $monitor->CanSleep() || $monitor->CanReset() )
|
||||
echo controlPower( $monitor, $cmds );
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
if ( $monitor->CanWake() || $monitor->CanSleep() || $monitor->CanReset() )
|
||||
echo controlPower( $monitor, $cmds );
|
||||
if ( $monitor->HasPresets() )
|
||||
echo controlPresets( $monitor, $cmds );
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
if ( $monitor->HasPresets() )
|
||||
echo controlPresets( $monitor, $cmds );
|
||||
return( ob_get_clean() );
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue