Spaces:
Sleeping
Sleeping
| |
<html> | |
<head> | |
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> | |
<meta http-equiv="Pragma" content="no-cache" /> | |
<meta http-equiv="Expires" content="0" /> | |
<meta charset="utf-8" /> | |
<title>PAINEL-OPERACAO</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<style> | |
body { | |
margin: 0; | |
} | |
iframe { | |
display: block; | |
background: #ffffff; | |
border: none; | |
height: 100vh; | |
width: 100vw; | |
} | |
</style> | |
</head> | |
<body> | |
<iframe id="clienteiframe" src="/operacaoPainel.html"> | |
</iframe> | |
<script async"> | |
iniciaPagina(); | |
function getCookie(name) { | |
return window.localStorage.getItem(name); | |
} | |
function iniciaPagina() | |
{ | |
const urlParams = new URLSearchParams(window.location.search); | |
const cliente = urlParams.get('cliente'); | |
if (cliente) { | |
var objAovivo = document.getElementById("clienteiframe"); | |
objAovivo.setAttribute('src', "/operacaoPainel.html?cliente=" + cliente); | |
} | |
} | |
</script> | |
</body> | |
</html> | |