app/web/index.html

112 lines
3.0 KiB
HTML
Raw Permalink Normal View History

2024-09-04 17:18:13 +08:00
<!DOCTYPE html>
<html>
<head>
2024-09-04 20:50:23 +08:00
<!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base path you are serving from.
2024-09-04 17:18:13 +08:00
2024-09-04 20:50:23 +08:00
The path provided below has to start and end with a slash "/" in order for
it to work correctly.
2024-09-04 17:18:13 +08:00
2024-09-04 20:50:23 +08:00
For more details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
2024-09-04 17:18:13 +08:00
2024-09-04 20:50:23 +08:00
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
<base href="$FLUTTER_BASE_HREF">
2024-09-04 17:18:13 +08:00
2024-09-04 20:50:23 +08:00
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="A new Flutter project.">
2024-09-04 17:18:13 +08:00
2024-09-04 20:50:23 +08:00
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="starcitizentoolbox_web">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
2024-09-04 17:18:13 +08:00
2024-09-04 20:50:23 +08:00
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
2024-09-04 17:18:13 +08:00
2024-09-04 21:22:07 +08:00
<title>SCToolBox Lite</title>
2024-09-04 20:50:23 +08:00
<link rel="manifest" href="manifest.json">
<script>
function jsDownloadBlobFile(blobUrl, filename) {
const a = document.createElement("a");
document.body.appendChild(a);
a.href = blobUrl;
a.download = filename;
a.click();
setTimeout(() => {
window.URL.revokeObjectURL(blobUrl);
document.body.removeChild(a);
}, 0);
}
</script>
2024-09-04 17:18:13 +08:00
2024-09-04 21:35:31 +08:00
<style>
.loading {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #132431;
border-right: 16px solid #ffffff;
border-bottom: 16px solid #132431;
border-left: 16px solid #ffffff;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
body {
background-color: #132431;
}
</style>
2024-09-04 17:18:13 +08:00
</head>
2024-09-04 21:35:31 +08:00
<body >
<div class="loading">
<div class="loader"></div>
</div>
2024-09-04 21:35:51 +08:00
<script src="flutter_bootstrap.js" async></script>
2024-09-04 17:18:13 +08:00
</body>
</html>