<?php // Panels and sections are managed here via JavaScript ?></ul>
</div>
</div>
</div>
<div id="customize-footer-actions" class="wp-full-overlay-footer">
<button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php
echo esc_attr_x( 'Hide Controls', 'label for hide controls button without length constraints'
); ?>">
<span class="collapse-sidebar-arrow"></span>
<span class="collapse-sidebar-label"><?php
_ex( 'Hide Controls', 'short (~12 characters) label for hide controls button'
); ?></span>
</button>
<?php
$previewable_devices =
$wp_customize->
get_previewable_devices(); ?>
<?php
if ( !
empty( $previewable_devices ) ) : ?>
<div class="devices-wrapper">
<div class="devices">
<?php
foreach ( (array) $previewable_devices as $device =>
$settings ) : ?>
<?php
if ( empty( $settings['label'
] ) ) { continue;
} $active = !
empty( $settings['default'
] );
$class = 'preview-' .
$device;
if ( $active ) {