Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deploy: 02521dd
Browse files Browse the repository at this point in the history
SukkaBot committed Jul 6, 2024
0 parents commit 9e8825f
Showing 46 changed files with 576 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
26 changes: 26 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!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.cf3c9e05.js"}catch(e){main="/client/legacy/client.df330e80.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/[email protected]";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-b0b6455a.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://status.skk.moe/themes/light.css rel=stylesheet media=(prefers-color-scheme:light)> <link href=https://status.skk.moe/themes/dark.css rel=stylesheet media=(prefers-color-scheme:dark)><link href=https://status.skk.moe/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.cf3c9e05.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/client-31a52aa5.css rel=preload as=style><link href=/client/index.06f7e52f.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/createOctokit.4ca4808c.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-b0b6455a.css rel=preload as=style></head> <body> <div id=sapper> <nav class=svelte-a08hsz><div class="svelte-a08hsz container"><div><a href=https://status.skk.moe class="svelte-a08hsz logo"><img alt="" class=svelte-a08hsz src=https://cdn.skk.moe/favicon/android-chrome-192x192.png> <div>Sukka | Status</div></a></div> <ul class=svelte-a08hsz><li><a href=/ class=svelte-a08hsz target=_self>Home</a> <li><a href=https://github.com/SukkaLab/status.skk.moe 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/SukkaLab/status.skk.moe>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>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
status.skk.moe
4 changes: 4 additions & 0 deletions client/_number_-971b332f.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions client/_number_-d4d16748.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions client/_number_.613da560.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/_number_.8524c68c.js
6 changes: 6 additions & 0 deletions client/client-31a52aa5.css
18 changes: 18 additions & 0 deletions client/client.cf3c9e05.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions client/createOctokit-a85f76c7.css
8 changes: 8 additions & 0 deletions client/createOctokit.4ca4808c.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions client/error-37eeedae.css
1 change: 1 addition & 0 deletions client/error.ff76eb80.js
12 changes: 12 additions & 0 deletions client/index-b0b6455a.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/index.06f7e52f.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/inject_styles.803b7e80.js
4 changes: 4 additions & 0 deletions client/legacy/_number_-971b332f.css
2 changes: 2 additions & 0 deletions client/legacy/_number_-d4d16748.css
1 change: 1 addition & 0 deletions client/legacy/_number_.a82c9461.js
21 changes: 21 additions & 0 deletions client/legacy/_number_.b6e1b93a.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions client/legacy/client-31a52aa5.css
18 changes: 18 additions & 0 deletions client/legacy/client.df330e80.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions client/legacy/createOctokit-a85f76c7.css
8 changes: 8 additions & 0 deletions client/legacy/createOctokit.17062a99.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions client/legacy/error-37eeedae.css
1 change: 1 addition & 0 deletions client/legacy/error.62c61c3b.js
12 changes: 12 additions & 0 deletions client/legacy/index-b0b6455a.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/legacy/index.1f993c4c.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/legacy/inject_styles.099149d9.js
2 changes: 2 additions & 0 deletions client/legacy/rate-limit-exceeded-88af4d80.css
1 change: 1 addition & 0 deletions client/legacy/rate-limit-exceeded.ad7e527f.js
2 changes: 2 additions & 0 deletions client/rate-limit-exceeded-88af4d80.css
1 change: 1 addition & 0 deletions client/rate-limit-exceeded.a6ba3e30.js
1 change: 1 addition & 0 deletions client/shimport@2.0.5.js
203 changes: 203 additions & 0 deletions global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
body {
margin: 0;
font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell,
Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
line-height: 1.5;
padding-bottom: 2.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 0.5em 0;
font-weight: 400;
line-height: 1.2;
}

h1 {
font-size: 2em;
}

a {
color: inherit;
}

@media (min-width: 400px) {
body {
font-size: 16px;
}
}

.container {
max-width: 800px;
margin: 0 auto;
padding: 0 2rem;
box-sizing: border-box;
}

article {
padding: 1rem 1.25rem;
position: relative;
border-radius: 0.2rem;
border: 1px solid;
}
article.link a::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
article + article {
margin-top: 0.5rem;
}
article + h3 {
margin-top: 1rem;
}
h3 {
opacity: 0.75;
}
h4 {
font-weight: bold;
}
article.down {
border-left: 0.2rem solid;
}
article.degraded {
border-left: 0.2rem solid;
}
article.up {
border-left: 0.2rem solid;
}

.f {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}

section + h2 {
margin-top: 2rem;
}

.tag {
display: inline-block;
padding: 0.33rem 0.5rem;
border-radius: 0.2rem;
font-size: 70%;
vertical-align: middle;
margin-top: -0.2rem;
margin-left: 0.5rem;
}

dl {
margin-bottom: 1.5rem;
}
dl dt {
font-weight: bold;
}
dl dd {
margin: 0 0 1rem 0;
}

nav {
border-bottom: 1px solid;
}

[aria-current] {
border-bottom: 2px solid;
}

a.error-button {
border: 0.1rem solid;
}

/* Theming */

.submit-button {
background: #01a3a4;
color: #fff;
border-color: transparent;
}

body {
background: var(--body-background-color);
color: var(--body-text-color);
}

code {
color: var(--code-color);
background: var(--code-background-color);
}

article {
background: var(--card-background-color);
border-color: var(--card-border-color);
}

article.down {
border-left-color: var(--down-border-left-color) !important;
color: var(--down-color-color);
}
article.down-active {
background: var(--down-background-color);
border-color: var(--down-border-left-color);
}
article.degraded {
border-left-color: var(--degraded-border-left-color) !important;
color: var(--degraded-color-color);
}
article.up {
border-left-color: var(--up-border-left-color) !important;
color: var(--up-color-color);
}

.tag {
color: var(--tag-color);
}
.tag.closed,
.tag.up {
background: var(--tag-up-background-color) !important;
}
.tag.open,
.tag.down {
background: var(--tag-down-background-color) !important;
}
.tag.degraded {
background: var(--tag-degraded-background-color) !important;
}

.changed + section .data {
background: var(--change-background-color);
}

nav {
border-bottom-color: var(--nav-border-bottom-color);
background: var(--nav-background-color);
}

[aria-current] {
border-bottom-color: var(--nav-current-border-bottom-color);
}

a.error-button {
border-color: var(--error-button-border-color);
background: var(--error-button-background-color);
color: var(--error-button-color);
}

.submit-button {
background: var(--submit-button-background-color);
color: var(--submit-button-color);
border-color: var(--submit-button-border-color);
}

article .graph {
opacity: var(--graph-opacity);
filter: var(--graph-filter);
}
26 changes: 26 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!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.cf3c9e05.js"}catch(e){main="/client/legacy/client.df330e80.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-b0b6455a.css rel=stylesheet> <title>Sukka | Status</title> <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://status.skk.moe/themes/light.css rel=stylesheet media=(prefers-color-scheme:light)> <link href=https://status.skk.moe/themes/dark.css rel=stylesheet media=(prefers-color-scheme:dark)><link href=https://status.skk.moe/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.cf3c9e05.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/client-31a52aa5.css rel=preload as=style><link href=/client/index.06f7e52f.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/createOctokit.4ca4808c.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-b0b6455a.css rel=preload as=style></head> <body> <div id=sapper> <nav class=svelte-a08hsz><div class="svelte-a08hsz container"><div><a href=https://status.skk.moe class="svelte-a08hsz logo"><img alt="" class=svelte-a08hsz src=https://cdn.skk.moe/favicon/android-chrome-192x192.png> <div>Sukka | Status</div></a></div> <ul class=svelte-a08hsz><li><a href=/ class=svelte-a08hsz target=_self aria-current=page>Home</a> <li><a href=https://github.com/SukkaLab/status.skk.moe class=svelte-a08hsz target=_self>GitHub</a> </li> </ul></div> </nav> <main class=container> <header class=svelte-ngkazm> </header> <section class=svelte-8lnl4f><div class="svelte-68jxue loading"><svg class=svelte-68jxue height=38 stroke=#aaa width=38 xmlns=http://www.w3.org/2000/svg><g fill=none fill-rule=evenodd><g stroke-width=2 transform="translate(1 1)"><circle cx=18 cy=18 r=18 stroke-opacity=.5></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName=transform dur=1s from="0 18 18" repeatCount=indefinite to="360 18 18" type=rotate></animateTransform></path></g></g></svg></div> </section> <section class=svelte-8lnl4f><div class="svelte-68jxue loading"><svg class=svelte-68jxue height=38 stroke=#aaa width=38 xmlns=http://www.w3.org/2000/svg><g fill=none fill-rule=evenodd><g stroke-width=2 transform="translate(1 1)"><circle cx=18 cy=18 r=18 stroke-opacity=.5></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName=transform dur=1s from="0 18 18" repeatCount=indefinite to="360 18 18" type=rotate></animateTransform></path></g></g></svg></div> </section> <div class="svelte-fqsq6s f changed"><h2>Live Status</h2> <form class="svelte-fqsq6s f r"><div><input class=svelte-fqsq6s id=data_day name=d type=radio value=day><label class=svelte-fqsq6s for=data_day>24h</label></div> <div><input class=svelte-fqsq6s id=data_week name=d type=radio value=week checked><label class=svelte-fqsq6s for=data_week>7d</label></div> <div><input class=svelte-fqsq6s id=data_month name=d type=radio value=month><label class=svelte-fqsq6s for=data_month>30d</label></div> <div><input class=svelte-fqsq6s id=data_year name=d type=radio value=year><label class=svelte-fqsq6s for=data_year>1y</label></div> <div><input class=svelte-fqsq6s id=data_all name=d type=radio value=all><label class=svelte-fqsq6s for=data_all>all</label></div></form></div> <section class="svelte-fqsq6s live-status"><div class="svelte-68jxue loading"><svg class=svelte-68jxue height=38 stroke=#aaa width=38 xmlns=http://www.w3.org/2000/svg><g fill=none fill-rule=evenodd><g stroke-width=2 transform="translate(1 1)"><circle cx=18 cy=18 r=18 stroke-opacity=.5></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName=transform dur=1s from="0 18 18" repeatCount=indefinite to="360 18 18" type=rotate></animateTransform></path></g></g></svg></div> </section> <section><div class="svelte-68jxue loading"><svg class=svelte-68jxue height=38 stroke=#aaa width=38 xmlns=http://www.w3.org/2000/svg><g fill=none fill-rule=evenodd><g stroke-width=2 transform="translate(1 1)"><circle cx=18 cy=18 r=18 stroke-opacity=.5></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName=transform dur=1s from="0 18 18" repeatCount=indefinite to="360 18 18" type=rotate></animateTransform></path></g></g></svg></div> </section> <section><div class="svelte-68jxue loading"><svg class=svelte-68jxue height=38 stroke=#aaa width=38 xmlns=http://www.w3.org/2000/svg><g fill=none fill-rule=evenodd><g stroke-width=2 transform="translate(1 1)"><circle cx=18 cy=18 r=18 stroke-opacity=.5></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName=transform dur=1s from="0 18 18" repeatCount=indefinite to="360 18 18" type=rotate></animateTransform></path></g></g></svg></div></section></main> <footer class=svelte-jbr799><p>This page is <a href=https://github.com/SukkaLab/status.skk.moe>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>
Binary file added logo-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"background_color": "#ffffff",
"theme_color": "#333333",
"name": "Upptime",
"short_name": "Upptime",
"display": "minimal-ui",
"start_url": "/",
"icons": [
{
"src": "logo-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "logo-512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
26 changes: 26 additions & 0 deletions service-worker-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!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.cf3c9e05.js"}catch(e){main="/client/legacy/client.df330e80.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-b0b6455a.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://status.skk.moe/themes/light.css rel=stylesheet media=(prefers-color-scheme:light)> <link href=https://status.skk.moe/themes/dark.css rel=stylesheet media=(prefers-color-scheme:dark)><link href=https://status.skk.moe/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.cf3c9e05.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/client-31a52aa5.css rel=preload as=style><link href=/client/index.06f7e52f.js rel=modulepreload as=script crossorigin=use-credentials><link href=/client/createOctokit.4ca4808c.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-b0b6455a.css rel=preload as=style></head> <body> <div id=sapper> <nav class=svelte-a08hsz><div class="svelte-a08hsz container"><div><a href=https://status.skk.moe class="svelte-a08hsz logo"><img alt="" class=svelte-a08hsz src=https://cdn.skk.moe/favicon/android-chrome-192x192.png> <div>Sukka | Status</div></a></div> <ul class=svelte-a08hsz><li><a href=/ class=svelte-a08hsz target=_self>Home</a> <li><a href=https://github.com/SukkaLab/status.skk.moe 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/SukkaLab/status.skk.moe>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>
1 change: 1 addition & 0 deletions service-worker.js
26 changes: 26 additions & 0 deletions themes/dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
:root {
--body-background-color: #001716;
--body-text-color: #f0ffff;
--card-background-color: #002b29;
--nav-background-color: #002b29;
--nav-border-bottom-color: #015450;
--nav-current-border-bottom-color: #1abc9c;
--card-border-color: #015450;
--down-border-left-color: #eb3b5a;
--down-background-color: #6b1020;
--degraded-border-left-color: #f7b731;
--up-border-left-color: #20bf6b;
--tag-color: #002b29;
--tag-up-background-color: #20bf6b;
--tag-down-background-color: #eb3b5a;
--tag-degraded-background-color: #f7b731;
--change-background-color: #f7b731;
--error-button-border-color: #1a46ad;
--error-button-background-color: #3867d6;
--error-button-color: #ffffff;
--submit-button-border-color: #1a46ad;
--submit-button-background-color: #3867d6;
--submit-button-color: #ffffff;
--graph-opacity: 1;
--graph-filter: none;
}
Loading

0 comments on commit 9e8825f

Please sign in to comment.