<%@include file="/novoLayout/common/include/iframe.jsp" %>

<!doctype html public "">
<html <%=(iframe != null) ? "data-iframe=\"" + iframe + "\"" : "" %>>
	<head>
		<script type="text/javascript">
			var ctx = "${ctx}";
		</script>
		<%@include file="/novoLayout/common/include/libCabecalho.jsp" %>
		<%@include file="/novoLayout/common/include/titulo.jsp" %>
		<link type="text/css" rel="stylesheet" href="../../novoLayout/common/include/css/template.css"/>
		<link type="text/css" rel="stylesheet" href="css/importarCargaPortfolioServico.css"/>
	</head>
	<cit:janelaAguarde id="JANELA_AGUARDE_MENU"	title="" style="display:none;top:325px;width:300px;left:500px;height:50px;position:absolute;"></cit:janelaAguarde>
	<body>
		<%@include file="/novoLayout/common/include/hint.jsp"%>
		<div class="navbar nomain hidden-print">
		</div>
		<div id="wrapper" class="nowrapper">
			<!-- Inicio conteudo -->
			<div id="content">
				<form name='formImportarCargaPortfolioServico' id="formImportarCargaPortfolioServico" method="post" action='${ctx}/pages/importarCargaPortfolioServico/importarCargaPortfolioServico.load' enctype="multipart/form-data">
					<div class="row-fluid">
						<div class="span12">
							<div class="row-fluid">
								<div class="span12">
									<input type="file" name="arquivo" size="60" accept=".xls,.xlsx"/>
								</div>
							</div>
							
							<div class="separator"></div>
					
							<div class="row-fluid">
								<div class="span12">
									<button type="button" name="btnImportar" class="lFloat btn btn-icon btn-primary" onclick="ImportarCargaPortfolioServico.importar();">
										<i></i><fmt:message key="citcorpore.comum.importar" />
									</button>
									<button id="btmLimparLog" type="button" class="lFloat btn btn-icon btn-primary" style="display:none;" onclick="ImportarCargaPortfolioServico.limparLog();">
										<i></i><fmt:message key="citcorpore.comum.limpar" />
									</button>
								</div>
							</div>
						</div>
					</div>
					
					<div class="separator"></div>
					<div class="separator"></div>
					
					<div id="divShowErrorMsg" class="row-fluid" style="display:none;">
						<div class="span12">
							<h4 id="tituloErro"></h5>
							<div class="separator top"></div>
							<div id="contentErro"></div>
						</div>
					</div>
				</form>
			</div>
		</div>
		<script type="text/javascript" src="js/importarCargaPortfolioServico.js"></script>
	</body>
</html>