<!-- 取色 -->
<link href="{$base_url}/common/css/bootstrap/bootstrap-3.3.7/plugins/colorpicker/css/bootstrap-colorpicker.css" rel="stylesheet">
<script type="text/javascript" src="{$base_url}/common/css/bootstrap/bootstrap-3.3.7/plugins/colorpicker/js/bootstrap-colorpicker.js"></script>

<script type="text/javascript">
    $(function () {
        $('#txtcolor').colorpicker();
    });
</script>

<div class="main-right-box">
<h5>{lang_admin('edit_label')}</h5>
<div class="blank20"></div>
<div class="box" id="box">

<form method="post" name="form1" action="<?php echo url('table/edit/table/tag/id/'.$data['tagname'],true);?>"
      onsubmit="return returnform(this);">
<input type="hidden" name="onlymodify" value=""/>
<input class="btn btn-secondary" type="button" value=" {lang_admin('return_list')} " onclick="gotourl(this)"
       data-dataurl="index.php?case=table&act=list&table=tag&admin_dir={get('admin_dir',true)}" />

<div class="blank30"></div>

    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">{lang_admin('name')}</div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4 text-left">
            <input type="text" name="tagname" id="tagname" value="{$data['tagname']}" class="form-control " disabled>
        </div>
    </div>
    <div class="clearfix blank20"></div>
    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">{lang_admin('catalog_name')}</div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4 text-left">
            <input type="text" name="htmldir" id="htmldir" value="{$data['htmldir']}" class="form-control " disabled>
        </div>
    </div>
    <div class="clearfix blank20"></div>
    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">{lang_admin('txt_size')}</div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4 text-left">
            <div class="input-group">
                {form::getform('txtsize',$form,$field,$data)}
                <span class="input-group-btn">
                    <a class="btn btn-default">
                        px
                    </a>
                </span>
                </span>
            </div>
        </div>
    </div>
    <div class="clearfix blank20"></div>

    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">{lang_admin('txt_color')}</div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4 text-left">
            <div id="txtcolor" class="input-group">
                {form::getform('txtcolor',$form,$field,$data)}
                <span class="input-group-addon">
                            <i class="glyphicon glyphicon-adjust"></i>
                        </span>
            </div>
        </div>
    </div>
    <div class="clearfix blank20"></div>
  <!--  <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">{lang_admin('scope_of_use')}</div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4 text-left">
             <input type="text"  id="ranges" value="{$data['ranges']}" class="form-control " disabled>
             <input type="text"  id="ranges" value="{$data['ranges']}" class="form-control " disabled>
        </div>
    </div>
    <div class="clearfix blank20"></div>-->

    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">URL</div>
        <div class="col-xs-12 col-sm-7 col-md-7 col-lg-5 text-left">
            {form::getform('htmlrule',$form,$field,$data,'')}
            <span class="tips icon-info" data-toggle="tooltip" data-html="ture" data-placement="right" title="{lang_admin('if_you_are_not_familiar_with_the_operation_please_do_not_modify_the_following_options')}"></span>
        </div>
    </div>
    <div class="clearfix blank20"></div>

    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">{lang_admin('page_title')}</div>
        <div class="col-xs-12 col-sm-7 col-md-7 col-lg-5 text-left">
            {form::getform('meta_title',$form,$field,$data)}
            <span class="tips icon-info" data-toggle="tooltip" data-html="ture" data-placement="right" title="{lang_admin('it_can_fill_in_keywords_different_from_content_names_which_is_beneficial_to_search_optimization')}"></span>

        </div>
    </div>
    <div class="clearfix blank20"></div>

    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right"><span class="icon-note"></span>&nbsp;{lang_admin('key_word')}</div>
        <div class="col-xs-12 col-sm-7 col-md-7 col-lg-5 text-left">
            {form::getform('keyword',$form,$field,$data)}
            <span class="tips icon-info" data-toggle="tooltip" data-html="ture" data-placement="right" title="{lang_admin('the_keywords_information_in_meta_information_can_be_filled_in_the_keywords_related_to_the_content_separated_by_commas_in_english_which_is_conducive_to_search_optimization')}"></span>

        </div>
    </div>
    <div class="clearfix blank20"></div>

    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right"><span class="icon-note"></span>&nbsp;{lang_admin('web_description')}</div>
        <div class="col-xs-12 col-sm-7 col-md-7 col-lg-5 text-left">
            {form::getform('description',$form,$field,$data)}
            <span class="tips icon-info" data-toggle="tooltip" data-html="ture" data-placement="right" title="{lang_admin('description_information_in_meta_information_can_fill_in_content_related_profiles_which_is_conducive_to_search_optimization')}"></span>

        </div>
    </div>
    <div class="clearfix blank20"></div>
    <div class="blank30"></div>
    <div class="line"></div>
    <div class="blank30"></div>

    <div class="row">
        <div class="col-xs-2 col-sm-2 col-md-3 col-lg-2 text-left"></div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-4 text-left">
            <input  name="submit" value="1" type="hidden">
            <input type="submit"   value="{lang_admin('submitted')}" class="btn btn-primary btn-lg"/>
        </div>
    </div>


</form>


    <div class="blank30"></div>
</div>
</div>

