<%@include file="/jsp/common/taglibs.jsp"%>
<script src="${contextPath}/js/common/alerts/dist/sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="${contextPath}/js/common/alerts/dist/sweetalert.css">

<style type="text/css">
.mymodal-xl {
    width: 90%;
   max-width:1200px;
  }

.myborder {
	border: 1px solid #dddddd;
}

</style>
    
<div class="modal  bs-example-modal-lg" id="fileUploadModal">
	<div class="modal-dialog modal-lg">
    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">        
        <h4 class="modal-title">Subir Archivo</h4>
      </div>
      <div class="modal-body">
			<div id="esperaDiv" align="center" ></div>                
	        <s:form id="fileUploadForm" class="form-horizontal col-md-10" action="#">
				<fieldset>
					<div class="form-group">
						<label for="inputEmail3" class="col-md-2  control-label">Selecccione archivo: </label>
						<div class="col-md-4">
							<div id="fileUploadSection">Upload</div>
						</div>
					</div>
				</fieldset>
			</s:form>                
      </div>
      <div class="modal-footer">
        	<button type="button" class="btn btn-default" data-bs-dismiss="modal">Cerrar</button>
			<button type="button" class="btn btn-primary" ng-click="startUpload()">Aceptar</button>
      </div>
    </div>

  </div>
</div>


<div class="modal " id="modalConfirmacion" role="dialog">
	<div class="modal-dialog modal-sm">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title">Confirmaci&oacute;n</h4>
				<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
			</div>
			<div class="modal-body">
				<p>{{mensajeConfirmacion}}</p>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-success" ng-click="loadHandler(fechaConsulta)">Aceptar</button>
				<button type="button" class="btn btn-default" data-bs-dismiss="modal">Cancelar</button>
			</div>
		</div>
	</div>
</div>
