<!DOCTYPE html>
<html lang="pt-br">
	<head>
		{{>headerMetronic6}}
		{{>headerDebug}} 
		{{>GoogleTag}}
	</head>
	
	<body class="footer-fixed header-fixed header-mobile-fixed subheader-enabled subheader-fixed subheader-mobile-fixed"
		data-area="" data-controller="Dashboard" data-action="Index">
		<div data-create-session data-session="{{>dataSession}}"></div>
	
		{{>headerMobile}}
	
		<div class="d-flex flex-column flex-root">
			<div class="d-flex flex-row flex-column-fluid page">
				<div class="d-flex flex-column flex-row-fluid wrapper" id="kt_wrapper">
					{{>header}}
					<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
						<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
							<div
								class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
								<div>
									<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm"
										id="q_breadcrumb_menu">
									</ul>
								</div>
							</div>
						</div>
						<div class="d-flex flex-column-fluid" >
							<div class="container">
								{{#Scope.Params.Comiframe}}
									{{#Scope.Actions}}
										{{#if Tipo,"<>","Desconhecido"}}
											<p> {{-index}} <a href="{{Tipo}}?Scope={Class:&quot;{{Name}}&quot;}">{{Tipo}}</a> <a href="{{Tipo}}/json?Scope={Class:&quot;{{Name}}&quot;}">Json</a> {{Name}} CriarMenu:{{CriarMenu}} CriarHTTP: {{CriarHTTP}}
											{{#Scope.Params.MostrarJson}}
												<p>
													<iframe src="{{Tipo}}/json?Scope={Class:&quot;{{Name}}&quot;}" width="98%" height="130"></iframe>
											{{/Scope.Params.MostrarJson}}
											<p>
											<iframe src="{{Tipo}}?Scope={Class:&quot;{{Name}}&quot;}" width="98%" height="900"></iframe>
											<p>
										{{/if}}
									{{/Scope.Actions}}
								{{/Scope.Params.Comiframe}}
									
								<p> Com IFrame </p>
								<p>
									{{#Scope.Paginacoes}}
									<a href="Teste?Scope={Inicio:{{Inicio}},Final:{{Final}},Comiframe:true,MostrarJson:false}">{{Descricao}}</a>
									{{/Scope.Paginacoes}}
								</p>
								<p> Com window.open </p>
								<p>
									{{#Scope.Paginacoes}}
									<a href="Teste?Scope={Inicio:{{Inicio}},Final:{{Final}},Comwindowopen:true}">{{Descricao}}</a>
									{{/Scope.Paginacoes}}
								</p>
								
								<script {{#main.NonceToken}}nonce="{{main.NonceToken}}"{{/main.NonceToken}}>
									$(document).ready(function() {
										{{#Scope.Params.Comwindowopen}}
											{{#Scope.Actions}}
												{{#if Tipo,"<>","Desconhecido"}}
													window.open('{{Tipo}}?Scope={Class:"{{Name}}"}', '_blank');
												{{/if}}
											{{/Scope.Actions}}
										{{/Scope.Params.Comwindowopen}}
									});
								</script>	  
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		{{>cookiesBar}}		
		<!-- metronic 6 -->
		{{>scriptsMetronic6}}
		<!-- metronic 6 -->
	</body>
</html>