<?php

/**
 * @copyright    Copyright (c) 2009-2020 Ryan Demmer. All rights reserved
 * @license    GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * JCE is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses
 */
defined('JPATH_PLATFORM') or die;
?>
<div class="uk-form-row uk-grid uk-grid-small">
    <label for="text" class="uk-form-label uk-width-1-5">
        <?php echo JText::_('WF_LABEL_TEXT'); ?>
    </label>
    <div class="uk-form-controls uk-width-4-5">
        <input type="text" id="text" />
    </div>
</div>

<div class="uk-form-row uk-grid uk-grid-small">
    <label for="text_position" class="hastip uk-form-label uk-width-1-5"
        title="<?php echo JText::_('WF_CAPTION_TEXT_POSITION_DESC'); ?>"><?php echo JText::_('WF_CAPTION_TEXT_POSITION', 'Position'); ?>
    </label>
    <div class="uk-form-controls uk-width-1-5">
        <select id="text_position">
            <option value="bottom"><?php echo JText::_('WF_OPTION_BOTTOM'); ?></option>
            <option value="top"><?php echo JText::_('WF_OPTION_TOP'); ?></option>
        </select>
    </div>

    <label for="text_align" class="hastip uk-form-label uk-width-1-5"
        title="<?php echo JText::_('WF_CAPTION_TEXT_ALIGN_DESC'); ?>">
        <?php echo JText::_('WF_LABEL_ALIGN'); ?>
    </label>
    <div class="uk-form-controls uk-width-1-5">
        <select id="text_align">
            <option value=""><?php echo JText::_('WF_OPTION_NOT_SET'); ?></option>
            <option value="left"><?php echo JText::_('WF_OPTION_ALIGN_LEFT'); ?></option>
            <option value="center"><?php echo JText::_('WF_OPTION_ALIGN_CENTER'); ?></option>
            <option value="right"><?php echo JText::_('WF_OPTION_ALIGN_RIGHT'); ?></option>
            <option value="justified"><?php echo JText::_('WF_OPTION_ALIGN_JUSTIFIED'); ?></option>
        </select>
    </div>
</div>

<div class="uk-form-row uk-grid uk-grid-small">
    <label for="text_color" class="hastip uk-form-label uk-width-1-5"
        title="<?php echo JText::_('WF_CAPTION_TEXT_COLOR_DESC'); ?>">
        <?php echo JText::_('WF_LABEL_COLOR'); ?>
    </label>
    <div class="uk-form-controls uk-width-1-5">
        <input id="text_color" class="color" type="text" value="" />
    </div>
    <label for="text_bgcolor" class="hastip uk-form-label uk-width-1-5"
        title="<?php echo JText::_('WF_CAPTION_TEXT_BGCOLOR_DESC'); ?>">
        <?php echo JText::_('WF_CAPTION_TEXT_BGCOLOR'); ?>
    </label>
    <div class="uk-form-controls uk-width-1-5">
        <input id="text_bgcolor" class="color" type="text" value="" />
    </div>
</div>

<div class="uk-form-row uk-hidden-mini uk-grid uk-grid-small">
    <label class="hastip uk-form-label uk-width-1-5" title="<?php echo JText::_('WF_CAPTION_TEXT_PADDING_DESC'); ?>">
        <?php echo JText::_('WF_CAPTION_PADDING'); ?>
    </label>
    <div class="uk-form-controls uk-width-4-5 uk-grid uk-grid-small uk-form-equalize">

        <label for="text_padding_top" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_TOP'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_padding_top" value="" />
        </div>

        <label for="text_padding_right" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_RIGHT'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_padding_right" value="" />
        </div>

        <label for="text_padding_bottom" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_BOTTOM'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_padding_bottom" value="" />
        </div>

        <label for="text_padding_left" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_LEFT'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_padding_left" value="" />
        </div>
        <label class="uk-form-label">
            <input type="checkbox" class="uk-equalize-checkbox" checked />
            <?php echo JText::_('WF_LABEL_EQUAL'); ?>
        </label>
    </div>
</div>

<div class="uk-form-row uk-hidden-mini uk-grid uk-grid-small">
    <label class="hastip uk-form-label uk-width-1-5" title="<?php echo JText::_('WF_CAPTION_TEXT_MARGIN_DESC'); ?>">
        <?php echo JText::_('WF_CAPTION_MARGIN'); ?>
    </label>
    <div class="uk-form-controls uk-width-4-5 uk-grid uk-grid-small uk-form-equalize">

        <label for="text_margin_top" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_TOP'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_margin_top" value="" />
        </div>

        <label for="text_margin_right" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_RIGHT'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_margin_right" value="" />
        </div>

        <label for="text_margin_bottom" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_BOTTOM'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_margin_bottom" value="" />
        </div>

        <label for="text_margin_left" class="uk-form-label">
            <?php echo JText::_('WF_OPTION_LEFT'); ?>
        </label>
        <div class="uk-form-controls">
            <input type="text" id="text_margin_left" value="" />
        </div>
        <label class="uk-form-label">
            <input type="checkbox" class="uk-equalize-checkbox" checked />
            <?php echo JText::_('WF_LABEL_EQUAL'); ?>
        </label>
    </div>
</div>

<div class="uk-form-row uk-grid uk-grid-small">
    <label for="text_classes" class="hastip uk-form-label uk-width-1-5"
        title="<?php echo JText::_('WF_LABEL_CLASSES_DESC'); ?>">
        <?php echo JText::_('WF_LABEL_CLASSES'); ?>
    </label>
    <div class="uk-form-controls uk-width-4-5">
        <input type="text" id="text_classes" class="uk-datalist" list="text_classes_datalist" multiple />
        <datalist id="text_classes_datalist"></datalist>
    </div>
</div>