<?php
defined('ABSPATH') || defined('DUPXABSPATH') || exit;

// @var $viewMode string // single | list
?>
<div id="dup-pro-import-vews-and-opt-wrapper" >
    <ul class="dup-pro-toggle-sub-menu">
        <li>
            <span class="dup-pro-toggle" >
                <span class="button" >
                    <i class="fas fa-bars fa-lg"></i><span class="screen-reader-text">Options</span>
                </span>
            </span>
            <ul>
                <li class="title">Views</li>
                <li>
                    <span class="link-style no-decoration dup-pro-import-view-list <?php echo $viewMode == 'list' ? 'active' : ''; ?>">
                        <?php DUP_PRO_U::_e('Advanced mode'); ?>
                        <span class="description">View multiple packages</span>
                    </span>
                </li>
                <li>
                    <span class="link-style no-decoration dup-pro-import-view-single <?php echo $viewMode == 'single' ? 'active' : ''; ?>">
                        Basic mode
                        <span class="description">View only last uploaded package</span>
                    </span>
                </li>
                <li class="title separator">Tools</li>
                <li>
                    <a class="no-decoration" href="?page=duplicator-pro-settings&tab=import" target="_blank">
                        <?php DUP_PRO_U::esc_html_e('Import Settings'); ?>
                    </a>&nbsp;
                    <i class="fas fa-external-link-alt fa-small" ></i>
                </li>
                <li>
                    <span class="link-style no-decoration dup-pro-open-help-link">
                        <?php DUP_PRO_U::esc_html_e('Quick Start'); ?>
                    </span>
                </li>
            </ul>
        </li>
    </ul>
</div>
