<?php

/**
 * Hide admin panel toolbar code related page
 */
if ( !defined( 'ABSPATH' ) ) {
    exit;
}
$sapmfly_hide_admin_toolbar = get_option( 'sapmfly_hide_admin_toolbar', 'no' );
?>

<!-- Hide admin toolbar starts here -->

<?php 
?>
    <div class="hide-toolbar-admin-wrap toggle-block-bg sapmfly-pro-toggle" onclick="miniflyShowPopup(); return false;">
        <label class="sapmfly-switch-update">
            <div class="hide-toolbar-admin-header toggle-header">
                <?php 
echo esc_html__( 'Hide Admin Panel Toolbar', 'minifly' );
?>
                <input type="checkbox" class="sapmfly-setting-toggle-pro" name="#" disabled />
                <span class="sapmfly-slider"></span>
                <span class="sapmfly-pro-label"><?php 
echo esc_html__( 'PRO Feature', 'minifly' );
?></span>
            </div>
        </label>
        <div class="sapmfly-toggle-resource-body pro-opacity">
            <div class="sapmfly-docs">
                <p>
                    <a href="#" target="_blank">
                        <?php 
echo esc_html__( 'Docs', 'minifly' );
?>
                    </a>
                </p>
            </div>
            <div class="sapmfly-tags">
                <p><?php 
echo esc_html__( 'New Feature', 'minifly' );
?></p>
            </div>
        </div>
    </div>
