{*<!--
 /*+*******************************************************************************
 * The content of this file is subject to the CRMTiger Pro license.
 * ("License"); You may not use this file except in compliance with the License
 * The Initial Developer of the Original Code is vTiger
 * The Modified Code of the Original Code owned by https://crmtiger.com/
 * Portions created by CRMTiger.com are Copyright(C) CRMTiger.com
 * All Rights Reserved.
  ***************************************************************************** */
-->*}
{literal}
<style type="text/css">
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #333;
    border-bottom: 3px solid #555;
}
</style>
{/literal}
<div class="container-fluid">
    <div class="widget_header row-fluid">
        <button type="button" class="btn btn-info pull-right" style="background:#287DF2 !important;" onclick='window.location.href="{CTMobileSettings_Module_Model::$CTMOBILE_DETAILVIEW_URL}"'>{vtranslate('Go To CRMTiger Settings',$MODULE)}</button>
        <h3>{vtranslate('Manual Import GEO Coding(Latitude/Longitude)', 'CTMobileSettings')}</h3>
    </div>
    <div class="clearfix"></div>
    <div class="contents">
           <div class="tab-content massEditContent">
            <div class="summaryWidgetContainer" id="global_search_settings">
              <p><b>{vtranslate('This option allow you to Import Latitude and Longitude of your Customer\'s Address',{$MODULE})}</b></p>
              
              <p><b>{vtranslate('Following is the steps to Import',{$MODULE})}</b></p>
              <p><b>1.{vtranslate('First download sample files by selecting "key field", which helps you to import against those field.',{$MODULE})}</b></p>
              <p><b>2.{vtranslate('Import CSV files by keeping key field as one of the column',{$MODULE})}</b></p>
              <br/>
              <h4>{vtranslate('Import GEO coding with Key Fields',$MODULE)}</h4>
                      <ul>
                           <li>{vtranslate('To Dispaly proper location from address in google please define key fields which will cover your complete address',{$MODULE})}</li>
                           <br>
                           {vtranslate('Example',{$MODULE})} :
                           <br>
                           {vtranslate('Contact Id',{$MODULE})} : CON101
                           <br>
                           {vtranslate('Latitude',{$MODULE})} : 25.26265626
                           <br>
                           {vtranslate('Longitude',{$MODULE})} : 72.26251826
                        </ul>

                        

                        <form class="form-horizontal recordEditView" id="uploadEntityForm" name="edit" method="POST" enctype="multipart/form-data" style="margin-left: 25px;">

                           <input type="hidden" name="module" value="CTMobileSettings" />
                           <input type="hidden" name="action" value="SaveSyncManualData" /> 
                          <input type="hidden" name="mode" value="saveDataByEntityfield" /> 
                          
                          <div class="select-search" style="margin-top:15px;">
                              <select class="chzn-select chzn-done {if $OCCUPY_COMPLETE_WIDTH} row {/if}" id="entity_search_module" name="entity_search_module" style="width: 300px;">
                                  <option value="">{vtranslate('LBL_SELECT_MODULE', 'CTMobileSettings')}</option>
                                  {foreach from=$ALL_MODULE item=MODULES}
                                      <option value="{$MODULES}">{vtranslate($MODULES, $MODULES)}</option>
                                  {/foreach}
                              </select>
                              <div id="fieldMappingData" style="margin-top:10px;">
                              </div>
                              <div class="entityContentBlock" style="margin-top: -22px;">
                               
                                <br/>
                                <br/>
                                <a style="color:#15c !important;text-decoration:underline !important;" href="layouts/vlayout/modules/CTMobileSettings/sample.csv">{vtranslate('Download Sample CSV File',$MODULE)} <i class="icon-arrow-down"></i></a>
                                <div style="clear: both;"></div>
                                <div class="fileUploadContainer" style="margin-top:50px;">
                                  <div class="MultiFile-wrap" id="MultiFile1">
                                    <div class="fileUploadBtn btn btn-primary">
                                      <span><i class="fa fa-laptop"></i> {vtranslate('LBL_SELECT_FILE', 'CTMobileSettings')}</span>
                                      <input type="file" class="inputElement multi max-6  MultiFile-applied ignore-validation" name="fieldfilename" value=""  id="fieldfilename">
                                    </div>
                                    <div class="MultiFile-list" id="MultiFile1_list"></div>
                                  </div>
                                  <div class="uploadedFieldFileDetails ">
                                    <div id="uploadedFieldFileName"></div>
                                  </div>
                                </div>
                                <div style="margin-top:50px;">
                                  <button class="btn btn-success btn-md" id="importfile" style="width:15%;" type="submit">{vtranslate('Import',$MODULE)}</button></div>
                              </div>
                          </div>
                        </form>
               </div>
          </div>

    </div>
</div>

