Spaces:
Sleeping
Sleeping
File size: 1,193 Bytes
bce4323 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
<!DOCTYPE html>
<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>
|