4
0
mirror of https://github.com/1f349/lavender.git synced 2025-01-12 09:46:28 +00:00
lavender/server/flow-callback.go.html

19 lines
443 B
HTML
Raw Normal View History

2023-10-04 14:51:38 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{.ServiceName}}</title>
<script>
let loginData = {target:{{.TargetOrigin}}, message:{{.TargetMessage}}};
window.addEventListener("load", function () {
window.opener.postMessage(loginData.message, loginData.target);
});
</script>
2023-10-04 14:51:38 +01:00
</head>
<body>
<header>
<h1>{{.ServiceName}}</h1>
</header>
<main id="mainBody">Loading...</main>
2023-10-04 14:51:38 +01:00
</body>
</html>