mirror of
https://github.com/ethanrusz/status.git
synced 2024-11-25 21:17:47 -05:00
26 lines
3.9 KiB
HTML
26 lines
3.9 KiB
HTML
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <meta content="width=device-width,initial-scale=1" name=viewport> <meta content=#333333 name=theme-color> <base href=/ > <link href=manifest.json rel=manifest crossorigin=use-credentials> <script>__SAPPER__={baseUrl:"",preloaded:[void 0]};if('serviceWorker' in navigator)navigator.serviceWorker.register('/service-worker.js');(function(){try{eval("async function x(){}");var main="/client/client.f3cf90e7.js"}catch(e){main="/client/legacy/client.1ee3744f.js"};var s=document.createElement("script");try{new Function("if(0)import('')")();s.src=main;s.type="module";s.crossOrigin="use-credentials";}catch(e){s.src="/client/shimport@2.0.5.js";s.setAttribute("data-main",main);}document.head.appendChild(s);}());</script> <link href=client/client-31a52aa5.css rel=stylesheet><link href=client/createOctokit-a85f76c7.css rel=stylesheet><link href=client/index-34afeb8b.css rel=stylesheet> <script>// If `prefers-color-scheme` is not supported, fall back to light mode.
|
|
// In this case, light.css will be downloaded with `highest` priority.
|
|
if (typeof window !== "undefined" && typeof document !== "undefined" && "matchMedia" in window && window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {
|
|
document.documentElement.style.display = 'none';
|
|
document.head.insertAdjacentHTML(
|
|
'beforeend',
|
|
'<link rel="stylesheet" href={`${config.path}/themes/light.css`} onload="document.documentElement.style.display = \'\'">',
|
|
);
|
|
} </script> <link href=https://demo.upptime.js.org/themes/light.css rel=stylesheet media=(prefers-color-scheme:light)> <link href=https://demo.upptime.js.org/themes/dark.css rel=stylesheet media=(prefers-color-scheme:dark)><link href=https://demo.upptime.js.org/global.css rel=stylesheet><link href=https://raw.githubusercontent.com/upptime/upptime/master/assets/upptime-icon.svg rel=icon type=image/svg><link href=/logo-192.png rel=icon type=image/png> <link href=/client/client.f3cf90e7.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/client-31a52aa5.css rel=preload as=style><link href=/client/index.3dbc6265.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/createOctokit.d2ca2c00.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/inject_styles.803b7e80.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/createOctokit-a85f76c7.css rel=preload as=style><link href=/client/index-34afeb8b.css rel=preload as=style></head> <body> <div id=sapper> <nav class=svelte-a08hsz><div class="svelte-a08hsz container"><div><a href=https://demo.upptime.js.org class="svelte-a08hsz logo"><img alt="" class=svelte-a08hsz src=https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg> <div>Upptime</div></a></div> <ul class=svelte-a08hsz><li><a href=/ class=svelte-a08hsz target=_self>Status</a> <li><a href=https://github.com/upptime/upptime class=svelte-a08hsz target=_self>GitHub</a> </li> </ul></div> </nav> <main class=container></main> <footer class=svelte-jbr799><p>This page is <a href=https://github.com/upptime/upptime>open source</a>, powered by <a href=https://upptime.js.org>Upptime</a></p> </footer></div> <script> try {
|
|
if (typeof window !== "undefined" && window.navigator && navigator.serviceWorker) {
|
|
navigator.serviceWorker.getRegistrations().then(function (registrations) {
|
|
for (let registration of registrations) {
|
|
registration.unregister();
|
|
}
|
|
});
|
|
}
|
|
if (typeof window !== "undefined" && "caches" in window) {
|
|
caches.keys().then(function (keyList) {
|
|
return Promise.all(
|
|
keyList.map(function (key) {
|
|
return caches.delete(key);
|
|
})
|
|
);
|
|
});
|
|
}
|
|
} catch (error) {} </script> |