<?php
defined('ABSPATH') or die('No script kiddies please!');
$wpwab_settings = get_option('wpwab_settings');
?>

<div class="clearfix wpwab-whatsapp-settings">
    <div class="floating-menu-tab">
        <ul class="wpwab-floating-setting-tab">
            <li data-menu="wpwab-display-settings" class="wpwab-floating-tab-tigger wpwab-active">
                <span class="dashicons dashicons-screenoptions"></span>
                <?php _e('Display Settings', wpwab_TD); ?>
            </li>
            <li data-menu="wpwab-template-settings" class="wpwab-floating-tab-tigger">
                <span class="dashicons dashicons-images-alt"></span>
                <?php _e('Templates', wpwab_TD); ?>
            </li>
            <li data-menu="wpwab-color-settings" class="wpwab-floating-tab-tigger">
                <span class="dashicons dashicons-admin-post"></span>
                <?php _e('Color Settings', wpwab_TD); ?>
            </li>
            <li data-menu="wpwab-animation-settings" class="wpwab-floating-tab-tigger">
                <span class="dashicons dashicons-admin-customizer"></span>
                <?php _e('Animation Settings', wpwab_TD); ?>
            </li>
            <li data-menu="wpwab-position-settings" class="wpwab-floating-tab-tigger">
                <span class="dashicons dashicons-filter"></span>
                <?php _e('Button Position', wpwab_TD); ?>
            </li>
            <li data-menu="wpwab-page-list-settings" class="wpwab-floating-tab-tigger">
                <span class="dashicons dashicons-admin-page"></span>
                <?php _e('Page/Post/Category', wpwab_TD); ?>
            </li>
        </ul>
    </div>
    <div class ="wpwab-floating-settings-wrap wpwab-floating-active-container" data-menu-ref="wpwab-display-settings">
        <?php include(wpwab_PLUGIN_PATH . 'inc/backend/floating-settings/display-settings.php'); ?>
    </div>
    <div class ="wpwab-floating-settings-wrap" data-menu-ref="wpwab-template-settings">
        <?php include(wpwab_PLUGIN_PATH . 'inc/backend/floating-settings/template-settings.php'); ?>
    </div>
    <div class ="wpwab-floating-settings-wrap" data-menu-ref="wpwab-color-settings">
        <?php include(wpwab_PLUGIN_PATH . 'inc/backend/floating-settings/color-settings.php'); ?>
    </div>
    <div class ="wpwab-floating-settings-wrap" data-menu-ref="wpwab-animation-settings">
        <?php include(wpwab_PLUGIN_PATH . 'inc/backend/floating-settings/animation-settings.php'); ?>
    </div>
    <div class ="wpwab-floating-settings-wrap " data-menu-ref="wpwab-position-settings">
        <?php include(wpwab_PLUGIN_PATH . 'inc/backend/floating-settings/position-settings.php'); ?>
    </div>
    <div class ="wpwab-floating-settings-wrap" data-menu-ref="wpwab-page-list-settings">
        <?php include(wpwab_PLUGIN_PATH . 'inc/backend/floating-settings/page-list.php'); ?>
    </div>
</div>

<div class="wpwab-wrap">
    <div class="wpwab-content-wrap">
        <div class="wpwab-field-wrap">
            <div class="wpwab-field wpwab-save">
                <?php
                wp_nonce_field('wpwab_form_nonce', 'wpwab_form_nonce_field');
                include('save-settings-button.php');
                ?>
            </div>
        </div>
    </div>
</div>
