<%
String idServico = request.getParameter("idServico");
%>

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

<!doctype html public "">
<html <%=(iframe != null) ? "data-iframe=\"" + iframe + "\"" : "" %>>
	<head>
		<%@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"/>
	</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="container-fluid fixed">
			<div class="navbar nomain hidden-print">
			</div>
			<div id="wrapper" class="nowrapper">
				<!-- Inicio conteudo -->
				<div id="content">
					<form name='formImportarAtributos' id="formImportarAtributos" method="post"
						action='${ctx}/pages/importarAtributosFinanceiros/importarAtributosFinanceiros.load?idServico=<%=idServico%>'
						enctype="multipart/form-data">
						<input type='hidden' name='idServicoIncluirAtributo' id='idServicoIncluirAtributo' value='<%=idServico%>'/>
						<div class='row-fluid'>
							<div class='span3'>
							<label class="strong campoObrigatorio"><fmt:message key="citcorpore.comum.ArquivoAnexo" />:</label>
							<input type='file' name='arquivo' size="60" class="Valid[Required] Description[citcorpore.comum.ArquivoAnexo]" accept=".xls,.xlsx,.xml,.csv"/>
							</div>
						</div>
						<div class='row-fluid'>&nbsp;</div>
						<div class='row-fluid'>
							<a target="_blank" href="${ctx}/pages/importarAtributosFinanceiros/modeloImportarAtributoFinanceiro/${locale}/importModel.xls"><fmt:message key="importaratributosfinanceiros.cliquebaixarformato" /> .xls</a>
						</div>
						<div class='row-fluid'>
							<a target="_blank" href="${ctx}/pages/importarAtributosFinanceiros/modeloImportarAtributoFinanceiro/${locale}/importModel.xlsx"><fmt:message key="importaratributosfinanceiros.cliquebaixarformato" /> .xlsx</a>
						</div>
						<div class='row-fluid'>
							<a target="_blank" href="${ctx}/pages/importarAtributosFinanceiros/modeloImportarAtributoFinanceiro/${locale}/importModel.xml"><fmt:message key="importaratributosfinanceiros.cliquebaixarformato" /> .xml</a>
						</div>
						<div class='row-fluid'>
							<a target="_blank" href="${ctx}/pages/importarAtributosFinanceiros/modeloImportarAtributoFinanceiro/${locale}/importModel.csv"><fmt:message key="importaratributosfinanceiros.cliquebaixarformato" /> .csv</a>
						</div>
						<div class='row-fluid'>
							<button style="margin-top:23px;" type='button' id='btnEnviarArquivo' class="botaoNovo lFloat btn btn-icon btn-default glyphicons paperclip" onclick="enviarArquivoAtributoFinanceiro();"><i></i><fmt:message key="Citsmart.comum.enviar" /></button>
						</div>
					</form>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="js/importarAtributosFinanceiros.js"></script>
	</body>
</html>
