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 );
|
echo controlIris( $monitor, $cmds );
|
||||||
if ( $monitor->CanWhite() )
|
if ( $monitor->CanWhite() )
|
||||||
echo controlWhite( $monitor, $cmds );
|
echo controlWhite( $monitor, $cmds );
|
||||||
if ( $monitor->CanMove() || ( $monitor->CanWake() || $monitor->CanSleep() || $monitor->CanReset() ) )
|
if ( $monitor->CanMove() ) {
|
||||||
{
|
|
||||||
?>
|
?>
|
||||||
<div class="pantiltPanel">
|
<div class="pantiltPanel">
|
||||||
<?php
|
<?php
|
||||||
if ( $monitor->CanMove() )
|
|
||||||
echo controlPanTilt( $monitor, $cmds );
|
echo controlPanTilt( $monitor, $cmds );
|
||||||
if ( $monitor->CanWake() || $monitor->CanSleep() || $monitor->CanReset() )
|
|
||||||
echo controlPower( $monitor, $cmds );
|
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
if ( $monitor->CanWake() || $monitor->CanSleep() || $monitor->CanReset() )
|
||||||
|
echo controlPower( $monitor, $cmds );
|
||||||
|
if ( $monitor->HasPresets() )
|
||||||
|
echo controlPresets( $monitor, $cmds );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if ( $monitor->HasPresets() )
|
|
||||||
echo controlPresets( $monitor, $cmds );
|
|
||||||
return( ob_get_clean() );
|
return( ob_get_clean() );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue