Files
MistoxCom-Blazor-Webassembly/src/MistoxWebsite.Server/wwwroot/index.html
T
2025-05-12 16:57:19 -07:00

47 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>MistoxNet</title>
<base href="/" />
<link href="MistoxWebsite.Client.styles.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
<script src="js/screenwidth.js"></script>
<script>
PaymentLoaded = async function () {
var iframe;
while (iframe == null) {
await new Promise(r => setTimeout(r, 50));
iframe = document.getElementById("PaymentFrame");
}
window.onresize = function () {
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 50 + 'px';
}
window.onchange = function () {
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 50 + 'px';
}
iframe.onload = function () {
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 50 + 'px';
}
for (var i = 0; i < 2000; i++) {
await new Promise(r => setTimeout(r, 100));
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 50 + 'px';
}
}
</script>
</head>
<body style="border: 0; padding: 0; margin: 0;">
<div id="app"></div>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.webassembly.js"></script>
</body>
</html>