<h3 class="modalTitle">
  <translate>importexportwidget.config.popup_title</translate>
</h3>

<div style="padding: 5px;">
  <div>
    <input
      type="checkbox"
      id="cancelReplaceChkBox"
      ng-model="conf.showCancelReplace"
    />
    <label for="cancelReplaceChkBox"
      ><translate
        >importexportwidget.config.show_cancelReplace</translate
      ></label
    >
  </div>

  <div>
    <input
      type="checkbox"
      id="differencialChkBox"
      ng-model="conf.showDifferencial"
    />
    <label for="differencialChkBox"
      ><translate>importexportwidget.config.show_differencial</translate></label
    >
  </div>

  <div class="imp_diff_config_area">
    <div id="imp_src_primary_key">
      <label for="imp_src_primary_key_input"
        ><translate>importexportwidget.config.source_id_label</translate>
      </label>
      <input
        class="importCfgInputs"
        id="imp_src_primary_key_input"
        type="text"
        ng-model="conf.srcTableId"
        ng-disabled="!conf.showDifferencial"
      />
    </div>

    <div id="imp_dst_primary_key">
      <label for="imp_dst_primary_key_input"
        ><translate>importexportwidget.config.destination_id_label</translate> 
      </label>
      <input
        class="importCfgInputs"
        id="imp_dst_primary_key_input"
        type="text"
        ng-model="conf.dstTableId"
        ng-disabled="!conf.showDifferencial"
      />
    </div>
  </div>

  <div>
    <input type="checkbox" id="gpsimportChkBox" ng-model="conf.showGPSImport" />
    <label for="gpsimportChkBox">Import GPS</label>
  </div>

  <div class="imp_gps_config_zone">
    <div id="imp_gps_field_name">
      <label for="imp_gps_field_name_input"
        ><translate>importexportwidget.config.etatmaj</translate>
      </label>
      <input
       class="importCfgInputs"
        id="imp_gps_field_name_input"
        type="text"
        ng-model="conf.gpsfieldname"
        ng-disabled = "!conf.showGPSImport"
      />
    </div>

    <div id="imp_gps_new_row">
      <label for="imp_gps_new_row_input"
        ><translate>importexportwidget.config.newvalue</translate>
      </label>
      <input 
        class="importCfgInputs"
        id="imp_gps_new_row_input" 
        type="text" 
        ng-model="conf.gpsnewrow" 
        ng-disabled = "!conf.showGPSImport"
      />
    </div>

    <div id="imp_gps_updated_row">
      <label for="imp_gps_updated_value_input"
        ><translate>importexportwidget.config.champmaj</translate>
      </label>
      <input
        class="importCfgInputs"
        id="imp_gps_updated_value_input"
        type="text"
        ng-model="conf.gpsupdatedrow"
        ng-disabled = "!conf.showGPSImport"
      />
    </div>
  </div>

  <div class="row">
    <div class="col-xs-12 text-right">
      <hr />
      <div class="btn btn-primary" ng-click="saveImportExportConfig()">
        <translate>geolocalisation.ConfigSave</translate>
      </div>
    </div>
  </div>
</div>
