painel / static /operacao.html
Atualli's picture
Upload 85 files
bce4323
raw
history blame
1.18 kB
<!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>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="/operacaoTemplate.html">
</iframe>
<script async">
iniciaPagina();
function getCookie(name) {
return window.localStorage.getItem(name);
}
function iniciaPagina()
{
var cliente=getCookie("CLIENTE");
var objAovivo = document.getElementById("clienteiframe");
if(cliente)
{
objAovivo.setAttribute('src', "/operacaoTemplate.html?cliente=" + cliente);
}
else
{
objAovivo.setAttribute('src', "/operacaoTemplate.html?cliente=ATUALLI");
}
}
</script>
</body>
</html>