@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
64 lines (63 loc) • 3.5 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>Access Portal</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>
/* Boot fallback: shown until Angular replaces <app-root>'s contents. If
bootstrap never happens (e.g. config.json fails to load), the spinner
flips to an actionable error instead of leaving a blank white page. */
#app-boot {
position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: #3f4654;
background: #eef1f6;
}
#app-boot .spin {
width: 26px; height: 26px; border-radius: 50%;
border: 3px solid rgba(15, 18, 25, 0.15); border-top-color: rgba(15, 18, 25, 0.5);
animation: app-boot-spin 0.8s linear infinite;
}
@keyframes app-boot-spin { to { transform: rotate(360deg); } }
#app-boot .err { display: none; text-align: center; max-width: 30rem; padding: 0 1.5rem; }
#app-boot .err strong { display: block; font-size: 18px; font-weight: 650; color: #15181e; margin-bottom: 6px; }
#app-boot .err button {
margin-top: 16px; padding: 8px 18px; border: none; border-radius: 8px;
background: #0f766e; color: #fff; font: inherit; font-weight: 500; cursor: pointer;
}
#app-boot.failed .spin { display: none; }
#app-boot.failed .err { display: block; }
@media (prefers-color-scheme: dark) {
#app-boot { background: #17191e; color: #c3cad6; }
#app-boot .err strong { color: #e7ebf2; }
#app-boot .spin { border-color: rgba(255,255,255,0.15); border-top-color: rgba(255,255,255,0.5); }
}
</style>
<link rel="stylesheet" href="styles-C34N4NME.css"></head>
<body>
<app-root>
<div id="app-boot">
<div class="spin" role="status" aria-label="Loading"></div>
<div class="err">
<strong>Couldn't load the app</strong>
Its configuration didn't load. Check your connection and reload — if it keeps happening, contact your admin.
<div><button type="button">Reload</button></div>
</div>
</div>
</app-root>
<script>
// If Angular hasn't taken over <app-root> within a few seconds, the
// configuration fetch has stalled or failed — surface the error.
// The CSP allows this script by its hash (WebStack reads the built index.html), so it must stay
// inline here and the button cannot carry an onclick attribute.
setTimeout(function () {
var boot = document.getElementById('app-boot');
if (boot) boot.classList.add('failed');
}, 10000);
var reload = document.querySelector('#app-boot button');
if (reload) reload.addEventListener('click', function () { location.reload(); });
</script>
<link rel="modulepreload" href="chunk-Y6FHN4DA.js"><link rel="modulepreload" href="chunk-46TTV6O7.js"><link rel="modulepreload" href="chunk-JZCV6CMZ.js"><link rel="modulepreload" href="chunk-TOO3FEYQ.js"><link rel="modulepreload" href="chunk-YMS43IBH.js"><link rel="modulepreload" href="chunk-6CP7VLN2.js"><link rel="modulepreload" href="chunk-HG4PBSMW.js"><link rel="modulepreload" href="chunk-64ITJKG6.js"><link rel="modulepreload" href="chunk-K4OFWFQE.js"><link rel="modulepreload" href="chunk-IKK5DQ3Z.js"><script src="polyfills-5CFQRCPP.js" type="module"></script><script src="main-US224CDH.js" type="module"></script></body>
</html>