<?php defined('ABSPATH') || exit;
$image = $data['image'];


?>
<div class="ccpeaw-attribte-dialog ccpeaw-attribte-dialog-color " style="display:none;">
    <table>

        <tr>
            <td><span><?php esc_html_e('Name:', 'essential-addons-for-woocommerce'); ?></span></td>
            <td><input type="text" name="attribute_name" class="ccpeaw-class" value="" style="width:225px; height:40px;" /></td>
        </tr>
        <tr>
            <td><span><?php esc_html_e('Color:', 'essential-addons-for-woocommerce'); ?></span></td>
            <td class="locl-attr-terms">
                <div class="ccpeaw_settings_fields_form thwvs-col-div">
                    <span class="thpladmin-colorpickpreview color_preview"></span>
                    <input type="text" name="attribute_type" class="thpladmin-colorpick" style="width:225px; height:40px;" />
                </div>
            </td>
        </tr>
    </table>
</div>

<div class="ccpeaw-attribte-dialog ccpeaw-attribte-dialog-image" style="display:none;">
    <table>
        <tr>
            <td> <span><?php esc_html_e('Name:', 'essential-addons-for-woocommerce'); ?></span></td>
            <td><input type="text" name="attribute_name" class="ccpeaw-class" value="" style="width:216px" /></td>
        </tr>
        <tr valign="top">
            <td><span><?php esc_html_e('Image:', 'essential-addons-for-woocommerce'); ?></span> </td>
            <td>
                <div class='ccpeaw-upload-image'>
                    <div class="ccpeaw-term-image-thumbnail" style="float:left; margin-right:10px;">
                        <img class="i_index_media_img" src="<?php echo(esc_url($image)); ?>" width="60px" height="60px" alt="term-images" />
                    </div>

                    <input type="hidden" class="i_index_media ccpeaw-class" name="attribute_type" value="">
                    <button type="button" class="ccpeaw-upload-image-button button " onclick="ccpeaw_upload_icon_image(this,event)">
                        <img class="ccpeaw-upload-button" src="<?php echo esc_url(CCPEAW_ASSETS . '/admin/images/product-variation/upload.svg') ?>" alt="upload-button">
                    </button>
                    <button type="button" style="display:none" class="ccpeaw_remove_image_button button " onclick="ccpeaw_remove_icon_image(this,event)">
                        <img class="ccpeaw-remove-button" src="<?php echo esc_url(CCPEAW_ASSETS . '/admin/images/product-variation/placeholder.svg') ?>" alt="remove-button">
                    </button>
                </div>
            </td>
        </tr>
    </table>
</div>

<div class="ccpeaw-attribte-dialog ccpeaw-attribte-dialog-label" style="display:none;">
    <table>
        <tr>
            <td><span><?php esc_html_e('Name:', 'essential-addons-for-woocommerce'); ?></span></td>
            <td><input type="text" name="attribute_name" class="ccpeaw-class" value="" /></td>
        </tr>
        <tr>
            <td><span><?php esc_html_e('Label:', 'essential-addons-for-woocommerce'); ?></span> </td>
            <td>
                <input type="text" name="attribute_type" class="ccpeaw-class" value="" />
            </td>
        </tr>
    </table>
</div>